A container for a column of SimUnits. The user can specify. More...
#include <ModelNeuron/NeuralColumn.H>
Classes | |
struct | Weights |
Public Member Functions | |
NeuralColumn (const SimTime ×tep, const RateType ratetype=SimUnit::NORMAL, const std::string &name="", const std::string &units="") | |
constructor | |
virtual | ~NeuralColumn () |
destructor | |
const uint | numSubs () const |
get the number of sub units | |
const SimUnit & | getSub (const uint i) const |
get sub unit const version | |
void | addSub (const SimUnit &sub, uint repeat=1) |
add a subunit. | |
void | addWeight (const int from, const int to, const float weight) |
Protected Member Functions | |
SimUnit & | editSub (const uint i) |
get sub unit const version |
A container for a column of SimUnits. The user can specify.
Definition at line 57 of file NeuralColumn.H.
NeuralColumn< T >::NeuralColumn | ( | const SimTime & | timestep, | |
const RateType | ratetype = SimUnit::NORMAL , |
|||
const std::string & | name = "" , |
|||
const std::string & | units = "" | |||
) | [inline] |
NeuralColumn< T >::~NeuralColumn | ( | ) | [inline, virtual] |
destructor
Definition at line 138 of file NeuralColumn.H.
void NeuralColumn< T >::addSub | ( | const SimUnit & | sub, | |
uint | repeat = 1 | |||
) | [inline] |
add a subunit.
Definition at line 180 of file NeuralColumn.H.
void NeuralColumn< T >::addWeight | ( | const int | from, | |
const int | to, | |||
const float | weight | |||
) | [inline] |
adds a weighted connection between two units. Use -1 as the 'from' argument to accept inputs to a unit. Use -1 as the 'to' argument to contributed to the weighted summed output
Definition at line 203 of file NeuralColumn.H.
SimUnit & NeuralColumn< T >::editSub | ( | const uint | i | ) | [inline, protected, virtual] |
get sub unit const version
Reimplemented from SimUnit.
Definition at line 165 of file NeuralColumn.H.
const SimUnit & NeuralColumn< T >::getSub | ( | const uint | i | ) | const [inline, virtual] |
get sub unit const version
Reimplemented from SimUnit.
Definition at line 150 of file NeuralColumn.H.
const uint NeuralColumn< T >::numSubs | ( | ) | const [inline, virtual] |
get the number of sub units
Reimplemented from SimUnit.
Definition at line 143 of file NeuralColumn.H.