Classes | |
struct | non_pointer_type |
struct | non_pointer_type< U * > |
Public Member Functions | |
Layer (const SimTime ×tep, const uint width, const uint height, const std::string &name="", const std::string &units="") | |
constructor | |
Layer (const double ¶m1, const SimTime ×tep, const uint width, const uint height, const std::string &name="", const std::string &units="") | |
constructor for weights with 1 param | |
Layer (const double ¶m1, const double ¶m2, const bool doSubCenter, const BorderPolicy bp, const SimTime ×tep, const uint width, const uint height, const std::string &name="", const std::string &units="") | |
constructor for weights with two params, center and boarder options | |
Layer (const double ¶m1, const double ¶m2, const double ¶m3, const bool doSubCenter, const BorderPolicy bp, const SimTime ×tep, const uint width, const uint height, const std::string &name="", const std::string &units="") | |
constructor for weights with three params, center and boarder options | |
Layer (const double ¶m1, const double ¶m2, const double ¶m3, const double ¶m4, const bool subCenter, const BorderPolicy bp, const SimTime ×tep, const uint width, const uint height, const std::string &name="", const std::string &units="") | |
constructor for weights with three params, center and boarder options | |
Layer (const Layer &nlc) | |
copy constructor | |
Layer & | operator= (const Layer &nlc) |
virtual | ~Layer () |
destructor | |
Image< double > | getDisplayOutput (const int pos=-1) const |
get the current display output | |
void | getSimUnit (const Location &loc, std::vector< const SimUnit * > &units) |
get unit(s) at desired location | |
void | editSimUnit (const Location &loc, std::vector< SimUnit * > &units) |
edit unit(s) at the desired output position | |
const uint | numSimUnits () const |
number of simunits - just returns getOutSize() | |
const SimUnit & | getSimUnit (const uint pos) const |
SimUnit & | editSimUnit (const uint pos) |
void | setModule (const SimUnit &nsm) |
set type of simulation module | |
void | setModule (const SimUnit &nsm, const Location &p) |
set type of simulation module at the position | |
void | setTime (const SimTime &time, const bool recursive=true) |
set the time of this structure and all contained SimUnits if true | |
void | setWeights (const W &weights) |
Layer< T, W > * | clone () const |
clone the module |
Definition at line 55 of file Layer.H.
Layer< T, W >::Layer | ( | const SimTime & | timestep, | |
const uint | width, | |||
const uint | height, | |||
const std::string & | name = "" , |
|||
const std::string & | units = "" | |||
) | [inline] |
Layer< T, W >::Layer | ( | const double & | param1, | |
const SimTime & | timestep, | |||
const uint | width, | |||
const uint | height, | |||
const std::string & | name = "" , |
|||
const std::string & | units = "" | |||
) | [inline] |
Layer< T, W >::Layer | ( | const double & | param1, | |
const double & | param2, | |||
const bool | doSubCenter, | |||
const BorderPolicy | bp, | |||
const SimTime & | timestep, | |||
const uint | width, | |||
const uint | height, | |||
const std::string & | name = "" , |
|||
const std::string & | units = "" | |||
) | [inline] |
Layer< T, W >::Layer | ( | const double & | param1, | |
const double & | param2, | |||
const double & | param3, | |||
const bool | doSubCenter, | |||
const BorderPolicy | bp, | |||
const SimTime & | timestep, | |||
const uint | width, | |||
const uint | height, | |||
const std::string & | name = "" , |
|||
const std::string & | units = "" | |||
) | [inline] |
Layer< T, W >::Layer | ( | const double & | param1, | |
const double & | param2, | |||
const double & | param3, | |||
const double & | param4, | |||
const bool | subCenter, | |||
const BorderPolicy | bp, | |||
const SimTime & | timestep, | |||
const uint | width, | |||
const uint | height, | |||
const std::string & | name = "" , |
|||
const std::string & | units = "" | |||
) | [inline] |
void Layer< T, W >::editSimUnit | ( | const Location & | loc, | |
std::vector< SimUnit * > & | units | |||
) | [inline, virtual] |
edit unit(s) at the desired output position
Implements SimStructure.
Image< double > Layer< T, W >::getDisplayOutput | ( | const int | pos = -1 |
) | const [inline, virtual] |
get the current display output
Reimplemented from SimStructure.
Definition at line 259 of file Layer.H.
References ASSERT, Image< T >::beginw(), SimStructure::getOutDims(), and NO_INIT.
void Layer< T, W >::getSimUnit | ( | const Location & | loc, | |
std::vector< const SimUnit * > & | units | |||
) | [inline, virtual] |
number of simunits - just returns getOutSize()
Definition at line 303 of file Layer.H.
References SimStructure::getOutSize().
void Layer< T, W >::setModule | ( | const SimUnit & | nsm, | |
const Location & | p | |||
) | [inline, virtual] |
set type of simulation module at the position
Implements SimLayer.
Definition at line 337 of file Layer.H.
References Layer< T, W >::setModule().
void Layer< T, W >::setModule | ( | const SimUnit & | nsm | ) | [inline, virtual] |
set type of simulation module
Implements SimLayer.
Definition at line 329 of file Layer.H.
Referenced by Layer< T, W >::setModule().
void Layer< T, W >::setWeights | ( | const W & | weights | ) | [inline] |