Miind
|
#include <libs/GeomLib/OUAlgorithm.hpp>
Public Types | |
typedef MPILib::DelayedConnection | WeightType |
Public Member Functions | |
OUAlgorithm (const NeuronParameter &) | |
OUAlgorithm (const OUAlgorithm &) | |
virtual | ~OUAlgorithm () |
virtual OUAlgorithm * | clone () const |
virtual void | configure (const MPILib::SimulationRunParameter &) |
virtual void | evolveNodeState (const std::vector< MPILib::Rate > &nodeVector, const std::vector< MPILib::DelayedConnection > &weightVector, MPILib::Time time) |
virtual void | evolveNodeState (const std::vector< Rate > &nodeVector, const std::vector< MPILib::DelayedConnection > &weightVector, Time time, const std::vector< NodeType > &typeVector) |
std::valarray< double > & | getArrayInterpretation (AlgorithmGrid &grid) const |
std::valarray< double > & | getArrayState (AlgorithmGrid &grid) const |
virtual MPILib::Rate | getCurrentRate () const |
virtual MPILib::Time | getCurrentTime () const |
virtual MPILib::AlgorithmGrid | getGrid (MPILib::NodeId, bool b_state=true) const |
Number & | getStateSize (AlgorithmGrid &grid) const |
Number | getStateSize (const AlgorithmGrid &grid) const |
virtual void | prepareEvolve (const std::vector< MPILib::Rate > &nodeVector, const std::vector< MPILib::DelayedConnection > &weightVector, const std::vector< MPILib::NodeType > &typeVector) |
Private Member Functions | |
MPILib::AlgorithmGrid | InitialGrid () const |
ResponseParameter | InitializeParameters (const NeuronParameter &) const |
vector< double > | InitialState () const |
Private Attributes | |
NumtoolsLib::DVIntegrator< ResponseParameter > | _integrator |
NeuronParameter | _parameter_neuron |
ResponseParameter | _parameter_response |
MuSigmaScalarProduct< MPILib::DelayedConnection > | _scalar_product |
<
Rate-based model with gain function based on a diffusion process.
Definition at line 40 of file OUAlgorithm.hpp.
|
inherited |
Definition at line 41 of file AlgorithmInterface.hpp.
OUAlgorithm::OUAlgorithm | ( | const NeuronParameter & | parameter | ) |
Create an OUAlgorithm from neuronal parameters.
Definition at line 47 of file OUAlgorithm.cpp.
OUAlgorithm::OUAlgorithm | ( | const OUAlgorithm & | algorithm | ) |
copy ctor
Definition at line 67 of file OUAlgorithm.cpp.
|
virtual |
virtual destructor
Definition at line 76 of file OUAlgorithm.cpp.
|
virtual |
Cloning operation, to provide each DynamicNode with its own Algorithm instance. Clients use the naked pointer at their own risk.
Implements MPILib::AlgorithmInterface< MPILib::DelayedConnection >.
Definition at line 160 of file OUAlgorithm.cpp.
|
virtual |
configure algorithm
parameter_simulation | simulation run parameter |
Implements MPILib::AlgorithmInterface< MPILib::DelayedConnection >.
Definition at line 104 of file OUAlgorithm.cpp.
References MPILib::SimulationRunParameter::getMaximumNumberIterations(), MPILib::SimulationRunParameter::getTBegin(), MPILib::SimulationRunParameter::getTEnd(), and MPILib::SimulationRunParameter::getTStep().
|
virtual |
Evolve the node state
nodeVector | Vector of the node States |
weightVector | Vector of the weights of the nodes |
time | Time point of the algorithm |
Reimplemented from MPILib::AlgorithmInterface< MPILib::DelayedConnection >.
Definition at line 123 of file OUAlgorithm.cpp.
|
inlinevirtualinherited |
Evolve the node state. In the default case it simply calls envolveNodeState without the NodeTypes. However if an algorithm needs the nodeTypes of the precursors overwrite this function.
nodeVector | Vector of the node States |
weightVector | Vector of the weights of the nodes |
time | Time point of the algorithm |
typeVector | Vector of the NodeTypes of the precursors |
Definition at line 83 of file AlgorithmInterface.hpp.
|
inlineinherited |
Definition at line 125 of file AlgorithmInterface.hpp.
|
inlineinherited |
Definition at line 120 of file AlgorithmInterface.hpp.
|
virtual |
Current output rate of the population.
Implements MPILib::AlgorithmInterface< MPILib::DelayedConnection >.
Definition at line 176 of file OUAlgorithm.cpp.
|
virtual |
Current tme of the simulation.
Implements MPILib::AlgorithmInterface< MPILib::DelayedConnection >.
Definition at line 171 of file OUAlgorithm.cpp.
|
virtual |
Current AlgorithmGrid.
Implements MPILib::AlgorithmInterface< MPILib::DelayedConnection >.
Definition at line 166 of file OUAlgorithm.cpp.
|
inlineinherited |
Definition at line 130 of file AlgorithmInterface.hpp.
|
inlineinherited |
Definition at line 135 of file AlgorithmInterface.hpp.
|
private |
|
private |
Definition at line 88 of file OUAlgorithm.cpp.
References GeomLib::NeuronParameter::_tau, GeomLib::NeuronParameter::_tau_refractive, GeomLib::NeuronParameter::_theta, GeomLib::NeuronParameter::_V_reset, GeomLib::ResponseParameter::tau, GeomLib::ResponseParameter::tau_refractive, GeomLib::ResponseParameter::theta, and GeomLib::ResponseParameter::V_reset.
|
private |
Definition at line 80 of file OUAlgorithm.cpp.
References OU_STATE_DIMENSION.
|
virtual |
prepare the Evolve method
nodeVector | Vector of the node States |
weightVector | Vector of the weights of the nodes |
typeVector | Vector of the NodeTypes of the precursors |
Reimplemented from MPILib::AlgorithmInterface< MPILib::DelayedConnection >.
Definition at line 146 of file OUAlgorithm.cpp.
References GeomLib::MuSigma::_mu.
|
private |
Definition at line 119 of file OUAlgorithm.hpp.
|
private |
Definition at line 117 of file OUAlgorithm.hpp.
|
private |
Definition at line 118 of file OUAlgorithm.hpp.
|
private |
Definition at line 120 of file OUAlgorithm.hpp.