#include <ModelNeuron/NeuralDecoder.H>
Public Types | |
typedef CreateFunctor < NeuralDecoder, ParamList < SimTime > > | Creator |
typedef GenericFactory < NeuralDecoder, std::string, Creator > | Factory |
Public Member Functions | |
NeuralDecoder (const SimTime &timeStep=SimTime::MSECS(1.0), const SimTime &windowSize=SimTime::MSECS(100.0)) | |
constructor | |
virtual | ~NeuralDecoder () |
desctrctor | |
virtual void | push (const double &in)=0 |
add some data to the decoder | |
virtual const double | getOutput () const =0 |
get the latest (and possibly time delayed) output of the decoder | |
virtual NeuralDecoder * | clone () const =0 |
make a copy of the this object | |
virtual void | reset () |
reset the decoder internals to the state after construction | |
Protected Member Functions | |
NeuralDecoder (const NeuralDecoder &rhs) | |
implementations of NeuralDecoder | |
NeuralDecoder & | operator= (const NeuralDecoder &rhs) |
Protected Attributes | |
SimTime | itsWindowSize |
uint | itsSamples |
An abstract class for a neural decoder. Neural decoders transform input and output of SimUnit's, possibly with a delay.
Definition at line 50 of file NeuralDecoder.H.
NeuralDecoder::NeuralDecoder | ( | const SimTime & | timeStep = SimTime::MSECS(1.0) , |
|
const SimTime & | windowSize = SimTime::MSECS(100.0) | |||
) | [inline] |
constructor
Definition at line 58 of file NeuralDecoder.H.
virtual NeuralDecoder::~NeuralDecoder | ( | ) | [inline, virtual] |
desctrctor
Definition at line 64 of file NeuralDecoder.H.
NeuralDecoder::NeuralDecoder | ( | const NeuralDecoder & | rhs | ) | [protected] |
implementations of NeuralDecoder
Definition at line 44 of file NeuralDecoder.C.
virtual NeuralDecoder* NeuralDecoder::clone | ( | ) | const [pure virtual] |
make a copy of the this object
Implemented in NeuralDecoderDerived< Derived >, NeuralDecoderDerived< ExpDecoder >, NeuralDecoderDerived< HoldDecoder >, NeuralDecoderDerived< HistDecoder >, NeuralDecoderDerived< AlphaDecoder >, and NeuralDecoderDerived< RectDecoder >.
Referenced by SimUnit::setDecoderPost(), SimUnit::setDecoderPre(), and SimUnit::SimUnit().
virtual const double NeuralDecoder::getOutput | ( | ) | const [pure virtual] |
get the latest (and possibly time delayed) output of the decoder
Implemented in HoldDecoder, HistDecoder, RectDecoder, ExpDecoder, and AlphaDecoder.
Referenced by SimUnit::evolve().
virtual void NeuralDecoder::push | ( | const double & | in | ) | [pure virtual] |
add some data to the decoder
Implemented in HoldDecoder, HistDecoder, RectDecoder, ExpDecoder, and AlphaDecoder.
Referenced by SimUnit::evolve().
virtual void NeuralDecoder::reset | ( | ) | [inline, virtual] |
reset the decoder internals to the state after construction
Reimplemented in HoldDecoder, HistDecoder, RectDecoder, ExpDecoder, and AlphaDecoder.
Definition at line 76 of file NeuralDecoder.H.
Referenced by SimUnit::initialize().