#include <UltraSparseCodePopulation.h>
Inheritance diagram for verve::UltraSparseCodePopulation:
Public Member Functions | |
VERVE_DECL | UltraSparseCodePopulation () |
virtual VERVE_DECL | ~UltraSparseCodePopulation () |
virtual VERVE_DECL void VERVE_CALL | init (unsigned int numNeurons) |
virtual VERVE_DECL void VERVE_CALL | resetShortTermMemory () |
virtual VERVE_DECL void VERVE_CALL | setActiveOutput (unsigned int i) |
virtual VERVE_DECL int VERVE_CALL | getActiveOutput () const |
Protected Attributes | |
int | mActiveIndex |
Definition at line 32 of file UltraSparseCodePopulation.h.
|
Definition at line 29 of file UltraSparseCodePopulation.cpp. References mActiveIndex. |
|
Definition at line 35 of file UltraSparseCodePopulation.cpp. |
|
Returns the index of the single active Neuron. Returns -1 if no Neuron has been set active yet. Definition at line 70 of file UltraSparseCodePopulation.cpp. References mActiveIndex. Referenced by verve::RLModule::updateActorOutput(). |
|
Overridden to reset the active index.
Reimplemented from verve::Population. Definition at line 39 of file UltraSparseCodePopulation.cpp. References verve::Population::init(), and mActiveIndex. Referenced by verve::RLModule::RLModule(). |
|
Overridden to reset the active index.
Reimplemented from verve::Population. Definition at line 45 of file UltraSparseCodePopulation.cpp. References mActiveIndex, and verve::Population::resetShortTermMemory(). |
|
Sets the single active Neuron.
Definition at line 53 of file UltraSparseCodePopulation.cpp. References mActiveIndex, and verve::Population::mNeurons. |
|
The index of the single active Neuron.
Definition at line 54 of file UltraSparseCodePopulation.h. Referenced by getActiveOutput(), init(), resetShortTermMemory(), setActiveOutput(), and UltraSparseCodePopulation(). |