Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SimEventWTAwinner Class Reference

#include <Neuro/NeuroSimEvents.H>

Inheritance diagram for SimEventWTAwinner:

Inheritance graph
[legend]
Collaboration diagram for SimEventWTAwinner:

Collaboration graph
[legend]
List of all members.

Detailed Description

The WinnerTakeAll selected a winner.

Definition at line 60 of file NeuroSimEvents.H.

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).


Constructor & Destructor Documentation

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

Constuctor.

Definition at line 52 of file NeuroSimEvents.C.

SimEventWTAwinner::~SimEventWTAwinner  )  [virtual]
 

Destructor.

Definition at line 57 of file NeuroSimEvents.C.


Member Function Documentation

uint SimEventWTAwinner::shiftNum  )  const
 

Get the attention shift number (0-based).

Definition at line 71 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 60 of file NeuroSimEvents.C.

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

const WTAwinner & SimEventWTAwinner::winner  )  const
 

Get the winner.

Definition at line 68 of file NeuroSimEvents.C.


The documentation for this class was generated from the following files:
Generated on Sun Nov 22 13:46:31 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4