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


This is an optimized version of WinnerTakeAllStd which should give the same results, but with better CPU efficiency.
Definition at line 48 of file WinnerTakeAllStdOptim.H.
Public Member Functions | |
| WinnerTakeAllStdOptim (OptionManager &mgr, const std::string &descrName="Optimized Winner-Take-All Std", const std::string &tagName="WinnerTakeAllStdOptim") | |
| Ininitialized constructor. | |
| virtual | ~WinnerTakeAllStdOptim () |
| Destructor. | |
| virtual void | reset1 () |
| Reset to initial state just after construction. | |
Protected Member Functions | |
| virtual void | input (const Image< float > &in) |
| Set new input currents for all neurons. | |
| virtual Image< float > | getV () const |
| Return all our membrane potential voltages as an Image<float>. | |
| virtual void | integrate (const SimTime &t, Point2D< int > &winner) |
| Integrate inputs until time t (in s) and update membrane potentials. | |
| virtual void | saccadicSuppression (const bool on) |
| Turn saccadic suppression on/off. | |
| virtual void | blinkSuppression (const bool on) |
| Turn blink suppression on/off. | |
Classes | |
| struct | EvolveJob |
|
||||||||||||||||
|
Ininitialized constructor. The WTA will be resized and initialized the first time input() is called Definition at line 116 of file WinnerTakeAllStdOptim.C. References GVX_TRACE. |
|
|
Destructor.
Definition at line 145 of file WinnerTakeAllStdOptim.C. References GVX_TRACE. |
|
|
Turn blink suppression on/off.
Implements WinnerTakeAllAdapter. Definition at line 304 of file WinnerTakeAllStdOptim.C. References OModelParam< T >::getVal(), GVX_TRACE, WinnerTakeAllAdapter::itsUseBlinkSuppression, and LINFO. |
|
|
Return all our membrane potential voltages as an Image<float>.
Implements WinnerTakeAllAdapter. Definition at line 278 of file WinnerTakeAllStdOptim.C. References GVX_TRACE. |
|
|
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()). Implements WinnerTakeAllAdapter. Definition at line 162 of file WinnerTakeAllStdOptim.C. References Image< T >::clear(), Image< T >::getDims(), GVX_TRACE, Image< T >::initialized(), NO_INIT, and Image< T >::resize(). |
|
||||||||||||
|
Integrate inputs until time t (in s) and update membrane potentials.
Implements WinnerTakeAllAdapter. Definition at line 180 of file WinnerTakeAllStdOptim.C. References ASSERT, Image< T >::begin(), Image< T >::beginw(), SimTime::computeDeltaT(), JobServer::enqueueJob(), getMainJobServer(), JobServer::getParallelismHint(), Image< T >::getSize(), Image< T >::getWidth(), GVX_TRACE, i, Point2D< T >::i, Point2D< T >::j, rutz::make_shared(), SimTime::secs(), ModelComponent::start(), and SimTime::ZERO(). |
|
|
Reset to initial state just after construction.
Reimplemented from WinnerTakeAllAdapter. Definition at line 151 of file WinnerTakeAllStdOptim.C. References Image< T >::freeMem(), GVX_TRACE, WinnerTakeAllAdapter::reset1(), and SimTime::ZERO(). |
|
|
Turn saccadic suppression on/off.
Implements WinnerTakeAllAdapter. Definition at line 295 of file WinnerTakeAllStdOptim.C. References OModelParam< T >::getVal(), GVX_TRACE, WinnerTakeAllAdapter::itsUseSaccadicSuppression, and LINFO. |
1.4.4