
A SimModule interface to various models created with the ModelNeuron. More...
#include <ModelNeuron/NeuralSimModule.H>


Public Member Functions | |
| NeuralSimModule (OptionManager &mgr, const std::string &descrName="NeuralSimModule", const std::string &tagName="NeuralSimModule") | |
| Uninitialized constructor. | |
| virtual | ~NeuralSimModule () |
| Destructor. | |
| uint | size () const |
| get the number of input/output layers | |
| void | setInput (const Image< float > &in, const int layer) |
| set a new input, -1 for default | |
| void | setInputGain (const float &weight, const int layer) |
| set a gain for the desired input | |
| Image< float > | getV (const int layer) const |
| get the output, -1 for default | |
| ImageSet< float > | getSubV () const |
| get the output of all the layers | |
| void | update (const SimTime &time) |
| update our internals to the current time | |
| Layout< PixRGB< byte > > | getDisplay () const |
| void | reset () |
| Reset to initial state just after construction. | |
| rutz::shared_ptr< T > | getStructure () |
Protected Member Functions | |
| virtual void | setModel (const std::string &model, const Dims &dims, const SimTime &starttime=SimTime::ZERO()) |
Protected Attributes | |
| OModelParam< SimTime > | itsSCtimestep |
| simulation timestep | |
| OModelParam< Dims > | itsSCdims |
| SC dimensions. | |
| NModelParam< bool > | itsUseSpaceVariantBoundary |
| use space variant boundary | |
| OModelParam< std::string > | itsDecoderType |
| type of decoder | |
| OModelParam< Location > | itsProbe |
| OModelParam< uint > | itsPlotLength |
| OModelParam< uint > | its2DPlotDepth |
| OModelParam< uint > | itsProbeDepth |
| OModelParam< bool > | itsDisplayOutput |
| OModelParam< Range< double > > | itsDisplayRange |
| OModelParam< Dims > | its2DPlotSize |
| rutz::shared_ptr< T > | itsStructure |
| rutz::shared_ptr< StructurePlot > | itsPlot |
| ImageSet< double > | itsInput |
| std::vector< double > | itsInputGain |
| Dims | itsInputDims |
A SimModule interface to various models created with the ModelNeuron.
Definition at line 59 of file NeuralSimModule.H.
| NeuralSimModule< T >::NeuralSimModule | ( | OptionManager & | mgr, | |
| const std::string & | descrName = "NeuralSimModule< T >", |
|||
| const std::string & | tagName = "NeuralSimModule< T >" | |||
| ) |
Uninitialized constructor.
| virtual NeuralSimModule< T >::~NeuralSimModule | ( | ) | [virtual] |
Destructor.
| ImageSet<float> NeuralSimModule< T >::getSubV | ( | ) | const |
get the output of all the layers
| Image<float> NeuralSimModule< T >::getV | ( | const int | layer | ) | const |
get the output, -1 for default
| void NeuralSimModule< T >::reset | ( | ) |
Reset to initial state just after construction.
| void NeuralSimModule< T >::setInput | ( | const Image< float > & | in, | |
| const int | layer | |||
| ) |
set a new input, -1 for default
| void NeuralSimModule< T >::setInputGain | ( | const float & | weight, | |
| const int | layer | |||
| ) |
set a gain for the desired input
| uint NeuralSimModule< T >::size | ( | ) | const |
get the number of input/output layers
| void NeuralSimModule< T >::update | ( | const SimTime & | time | ) |
update our internals to the current time
OModelParam<std::string> NeuralSimModule< T >::itsDecoderType [protected] |
type of decoder
Definition at line 101 of file NeuralSimModule.H.
OModelParam<Dims> NeuralSimModule< T >::itsSCdims [protected] |
SC dimensions.
Definition at line 99 of file NeuralSimModule.H.
OModelParam<SimTime> NeuralSimModule< T >::itsSCtimestep [protected] |
simulation timestep
Definition at line 98 of file NeuralSimModule.H.
NModelParam<bool> NeuralSimModule< T >::itsUseSpaceVariantBoundary [protected] |
use space variant boundary
Definition at line 100 of file NeuralSimModule.H.
1.6.3