
#include <Neuro/WTAwinner.H>
Collaboration diagram for WTAwinner:

This class is an open (all members public) container for a Point2D<int>, time stamp, saliency voltage and possibly other things that characterize a WTA winner, or covert shift of attention. Like Point2D<int>, this class is fully inlined, so there is no WTAwinner.C file.
Definition at line 52 of file WTAwinner.H.
Public Member Functions | |
| WTAwinner (const Point2D< int > &pp, const SimTime &tt, const double svv, const bool bor) | |
| Constructor given a Point2D<int>, time and other stuff. | |
| Point2D< int > | getSMcoords (const int smlevel) const |
| Return coordinates scaled down to scale of saliency map. | |
| bool | isValid () const |
| returns true if coordinates are not (-1, -1) | |
Static Public Member Functions | |
| static WTAwinner | NONE () |
| static WTAwinner | buildFromSMcoords (const Point2D< int > smcoords, const int smlevel, const bool useRandom, const SimTime &tt, const double svv, const bool bor) |
| Build from coordinates given at the scale of the saliency map. | |
Public Attributes | |
| Point2D< int > | p |
| The spatial coordinates within the full-resolution input. | |
| Point2D< int > | smpos |
| SimTime | t |
| The time, in seconds. | |
| double | sv |
| The saliency map voltage at winning location, in Volts. | |
| bool | boring |
| True is this shift was made out of boredom. | |
|
||||||||||||||||||||
|
Constructor given a Point2D<int>, time and other stuff.
Definition at line 95 of file WTAwinner.H. Referenced by NONE(). |
|
||||||||||||||||||||||||||||
|
Build from coordinates given at the scale of the saliency map.
Definition at line 110 of file WTAwinner.H. References ASSERT, boring, getSMcoords(), Point2D< T >::i, Point2D< T >::j, NONE(), p, randomDouble(), smpos, sv, and t. |
|
|
Return coordinates scaled down to scale of saliency map.
Definition at line 101 of file WTAwinner.H. References Point2D< T >::i, Point2D< T >::j, and p. Referenced by buildFromSMcoords(). |
|
|
returns true if coordinates are not (-1, -1)
Definition at line 154 of file WTAwinner.H. References Point2D< T >::isValid(), and p. Referenced by ThresholdSaccadeController::checkPercepts(), SimulationViewerStd::drawFOA(), SimulationViewerNerdCam::drawFOA(), SimulationViewerStd::linkFOAs(), SimulationViewerNerdCam::linkFOAs(), main(), and submain(). |
|
|
True is this shift was made out of boredom.
Definition at line 83 of file WTAwinner.H. Referenced by buildFromSMcoords(), SimulationViewerStd::drawEye(), SimulationViewerStd::drawFOA(), SimulationViewerNerdCam::drawFOA(), SimulationViewerStd::drawHead(), VisualBufferStd::input(), and SimEventWTAwinner::toString(). |
|
|
|
The saliency map voltage at winning location, in Volts.
Definition at line 82 of file WTAwinner.H. Referenced by buildFromSMcoords(), ThresholdSaccadeController::checkPercepts(), SaccadeController::dumpQueues(), and SimEventWTAwinner::toString(). |
|
|
The time, in seconds.
Definition at line 81 of file WTAwinner.H. Referenced by buildFromSMcoords(), FrictionSaccadeController::computeWhenNewPercept(), FrictionSaccadeController::computeWhenResetPos(), and SaccadeController::dumpQueues(). |
1.4.4