WTAwinner Class Reference

This is a an open class representing a WTA winner (covert attention shift). More...

#include <Neuro/WTAwinner.H>

Collaboration diagram for WTAwinner:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

This is a an open class representing a WTA winner (covert attention shift).

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.


Constructor & Destructor Documentation

WTAwinner::WTAwinner ( const Point2D< int > &  pp,
const SimTime tt,
const double  svv,
const bool  bor 
) [inline]

Constructor given a Point2D<int>, time and other stuff.

Definition at line 95 of file WTAwinner.H.


Member Function Documentation

WTAwinner WTAwinner::buildFromSMcoords ( const Point2D< int >  smcoords,
const int  smlevel,
const bool  useRandom,
const SimTime tt,
const double  svv,
const bool  bor 
) [inline, static]

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, p, randomDouble(), sv, and t.

Referenced by main().

Point2D< int > WTAwinner::getSMcoords ( const int  smlevel  )  const [inline]

Return coordinates scaled down to scale of saliency map.

Definition at line 101 of file WTAwinner.H.

References Point2D< T >::i, and p.

Referenced by buildFromSMcoords().

bool WTAwinner::isValid (  )  const [inline]

Member Data Documentation

double WTAwinner::sv

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 documentation for this class was generated from the following file:
Generated on Sun May 8 08:44:03 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3