SimEventWTAwinner Class Reference

The WinnerTakeAll selected a winner. More...

#include <Neuro/NeuroSimEvents.H>

Inheritance diagram for SimEventWTAwinner:
Inheritance graph
[legend]
Collaboration diagram for SimEventWTAwinner:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SimEventWTAwinner (SimModule *src, const WTAwinner w, const uint shiftnum)
 Constuctor.
virtual ~SimEventWTAwinner ()
 Destructor.
virtual std::string toString () const
 Get a description for printing out.
const WTAwinnerwinner () const
 Get the winner.
uint shiftNum () const
 Get the attention shift number (0-based).

Detailed Description

The WinnerTakeAll selected a winner.

Definition at line 63 of file NeuroSimEvents.H.


Constructor & Destructor Documentation

SimEventWTAwinner::SimEventWTAwinner ( SimModule src,
const WTAwinner  w,
const uint  shiftnum 
)

Constuctor.

Definition at line 54 of file NeuroSimEvents.C.

SimEventWTAwinner::~SimEventWTAwinner (  )  [virtual]

Destructor.

Definition at line 59 of file NeuroSimEvents.C.


Member Function Documentation

uint SimEventWTAwinner::shiftNum (  )  const

Get the attention shift number (0-based).

Definition at line 73 of file NeuroSimEvents.C.

std::string SimEventWTAwinner::toString (  )  const [virtual]

Get a description for printing out.

Shows regular SimEvent info, plus winner coordinates.

Reimplemented from SimEvent.

Definition at line 62 of file NeuroSimEvents.C.

References WTAwinner::boring, Point2D< T >::i, WTAwinner::p, sformat(), and WTAwinner::sv.

const WTAwinner & SimEventWTAwinner::winner (  )  const

Get the winner.

Definition at line 70 of file NeuroSimEvents.C.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:48 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3