
#include <Neuro/WinnerTakeAll.H>
Inheritance diagram for WinnerTakeAllAdapter:


Definition at line 121 of file WinnerTakeAll.H.
Public Member Functions | |
| WinnerTakeAllAdapter (OptionManager &mgr, const std::string &descrName, const std::string &tagName) | |
| Constructor. | |
| virtual | ~WinnerTakeAllAdapter () |
| Destructor. | |
| virtual void | reset1 () |
| Reset our number of shifts. | |
Protected Member Functions | |
| SIMCALLBACK_DECLARE (WinnerTakeAllAdapter, SimEventAttentionGuidanceMapOutput) | |
| Callback for when a new data from the AGM is available. | |
| SIMCALLBACK_DECLARE (WinnerTakeAllAdapter, SimEventSaccadeStatusEye) | |
| Callback for when a new eye activity is going on. | |
| SIMCALLBACK_DECLARE (WinnerTakeAllAdapter, SimEventInputFrame) | |
| Callback for every clock tick, to run our diff equations in integrate(). | |
| SIMCALLBACK_DECLARE (WinnerTakeAllAdapter, SimEventSaveOutput) | |
| Callback for every time we should save our outputs. | |
| virtual void | input (const Image< float > &in)=0 |
| Set new input currents for all neurons. | |
| virtual void | eyeMovement (const Point2D< int > &curreye) |
| Update with new eye position. | |
| virtual Image< float > | getV () const =0 |
| Return all our membrane potential voltages as an Image<float>. | |
| virtual void | saccadicSuppression (const bool on)=0 |
| Turn saccadic suppression on/off. | |
| virtual void | blinkSuppression (const bool on)=0 |
| Turn blink suppression on/off. | |
| virtual void | integrate (const SimTime &t, Point2D< int > &winner)=0 |
| evolve and check if we got a winner | |
Protected Attributes | |
| OModelParam< std::string > | itsLogFile |
| Text log file name. | |
| OModelParam< bool > | itsSaveResults |
| Save our internals when saveResults() is called? | |
| OModelParam< bool > | itsUseSaccadicSuppression |
| use saccadic suppression? | |
| OModelParam< bool > | itsUseBlinkSuppression |
| use blink suppression? | |
| OModelParam< LevelSpec > | itsLevelSpec |
| Specification of our image processing center-surround levels. | |
| OModelParam< bool > | itsUseRandom |
| add jitter to winning location? | |
| OModelParam< int > | itsTooManyShifts |
| Exit after a given number of attention shifts (if not zero). | |
| OModelParam< int > | itsTooManyShiftsPerFrame |
| Exit after a given number of attention shifts per frame (if not zero). | |
| OModelParam< SimTime > | itsBoringDelay |
| Inter-covert-shift delay that makes a shift of attention boring. | |
| OModelParam< float > | itsBoringSMmv |
| int | itsNumShifts |
| attention shift number (to decide whether we have done too many) | |
| Image< float > | itsInputCopy |
| copy of our last input | |
| Point2D< int > | itsEyePos |
| last eye position | |
| WTAwinner | itsLastWinner |
| its most recent winner | |
|
||||||||||||||||
|
Constructor.
Definition at line 104 of file WinnerTakeAll.C. References GVX_TRACE. |
|
|
Destructor.
Definition at line 131 of file WinnerTakeAll.C. References GVX_TRACE. |
|
|
Turn blink suppression on/off.
Implemented in WinnerTakeAllStd, WinnerTakeAllFast, WinnerTakeAllTempNote, and WinnerTakeAllStdOptim. |
|
|
Update with new eye position.
Definition at line 225 of file WinnerTakeAll.C. |
|
|
Return all our membrane potential voltages as an Image<float>.
Implemented in WinnerTakeAllStd, WinnerTakeAllFast, WinnerTakeAllTempNote, and WinnerTakeAllStdOptim. |
|
|
Set new input currents for all neurons. This will initialize and resize the network if the network is currently uninitialized (e.g., just after construction or reset()). Implemented in WinnerTakeAllStd, WinnerTakeAllFast, WinnerTakeAllTempNote, and WinnerTakeAllStdOptim. |
|
||||||||||||
|
evolve and check if we got a winner
Implemented in WinnerTakeAllStd, WinnerTakeAllFast, WinnerTakeAllGreedy, WinnerTakeAllTempNote, and WinnerTakeAllStdOptim. |
|
|
Reset our number of shifts.
Reimplemented from ModelComponent. Reimplemented in WinnerTakeAllStd, WinnerTakeAllTempNote, and WinnerTakeAllStdOptim. Definition at line 137 of file WinnerTakeAll.C. References Image< T >::freeMem(), GVX_TRACE, itsEyePos, itsInputCopy, itsNumShifts, and ModelComponent::reset1(). Referenced by WinnerTakeAllStdOptim::reset1(), and WinnerTakeAllStd::reset1(). |
|
|
Turn saccadic suppression on/off.
Implemented in WinnerTakeAllStd, WinnerTakeAllFast, WinnerTakeAllTempNote, and WinnerTakeAllStdOptim. |
|
||||||||||||
|
Callback for every time we should save our outputs.
|
|
||||||||||||
|
Callback for every clock tick, to run our diff equations in integrate().
|
|
||||||||||||
|
Callback for when a new eye activity is going on.
|
|
||||||||||||
|
Callback for when a new data from the AGM is available.
|
|
|
Inter-covert-shift delay that makes a shift of attention boring.
Definition at line 194 of file WinnerTakeAll.H. |
|
|
Minimum saliency map depolarization (in mV) to make a covert attention shift not boring Definition at line 198 of file WinnerTakeAll.H. |
|
|
last eye position
Definition at line 207 of file WinnerTakeAll.H. Referenced by eyeMovement(), WinnerTakeAllGreedy::integrate(), and reset1(). |
|
|
copy of our last input
Definition at line 204 of file WinnerTakeAll.H. Referenced by WinnerTakeAllFast::blinkSuppression(), WinnerTakeAllFast::getV(), WinnerTakeAllTempNote::integrate(), WinnerTakeAllGreedy::integrate(), WinnerTakeAllFast::integrate(), WinnerTakeAllStd::integrate(), reset1(), and WinnerTakeAllFast::saccadicSuppression(). |
|
|
its most recent winner
Definition at line 210 of file WinnerTakeAll.H. |
|
|
Specification of our image processing center-surround levels. The only thing that we care about here is the saliency map level Definition at line 182 of file WinnerTakeAll.H. Referenced by WinnerTakeAllGreedy::integrate(). |
|
|
Text log file name.
Definition at line 169 of file WinnerTakeAll.H. |
|
|
attention shift number (to decide whether we have done too many)
Definition at line 201 of file WinnerTakeAll.H. Referenced by reset1(). |
|
|
Save our internals when saveResults() is called?
Definition at line 172 of file WinnerTakeAll.H. |
|
|
Exit after a given number of attention shifts (if not zero).
Definition at line 188 of file WinnerTakeAll.H. |
|
|
Exit after a given number of attention shifts per frame (if not zero).
Definition at line 191 of file WinnerTakeAll.H. |
|
|
use blink suppression?
Definition at line 178 of file WinnerTakeAll.H. Referenced by WinnerTakeAllStdOptim::blinkSuppression(), WinnerTakeAllTempNote::blinkSuppression(), WinnerTakeAllFast::blinkSuppression(), and WinnerTakeAllStd::blinkSuppression(). |
|
|
add jitter to winning location?
Definition at line 185 of file WinnerTakeAll.H. |
|
|
use saccadic suppression?
Definition at line 175 of file WinnerTakeAll.H. Referenced by WinnerTakeAllStdOptim::saccadicSuppression(), WinnerTakeAllTempNote::saccadicSuppression(), WinnerTakeAllFast::saccadicSuppression(), and WinnerTakeAllStd::saccadicSuppression(). |
1.4.4