Miind
|
#include <libs/MPILib/include/DelayAssemblyAlgorithm.hpp>
Public Types | |
typedef WeightType | WeightType |
Public Member Functions | |
DelayAssemblyAlgorithm () | |
DelayAssemblyAlgorithm (const DelayAssemblyParameter &) | |
virtual | ~DelayAssemblyAlgorithm () |
virtual DelayAssemblyAlgorithm * | clone () const |
virtual void | configure (const SimulationRunParameter &simParam) |
virtual void | evolveNodeState (const std::vector< Rate > &nodeVector, const std::vector< WeightType > &weightVector, Time time) |
virtual void | evolveNodeState (const std::vector< Rate > &nodeVector, const std::vector< WeightType > &weightVector, Time time, const std::vector< NodeType > &typeVector) |
std::valarray< double > & | getArrayInterpretation (AlgorithmGrid &grid) const |
std::valarray< double > & | getArrayState (AlgorithmGrid &grid) const |
virtual Rate | getCurrentRate () const |
virtual Time | getCurrentTime () const |
virtual AlgorithmGrid | getGrid (NodeId, bool b_state=true) const |
Number & | getStateSize (AlgorithmGrid &grid) const |
Number | getStateSize (const AlgorithmGrid &grid) const |
virtual void | prepareEvolve (const std::vector< Rate > &nodeVector, const std::vector< WeightType > &weightVector, const std::vector< NodeType > &typeVector) |
Private Member Functions | |
std::vector< double > | getInitialState () const |
double | innerProduct (const std::vector< Rate > &nodeVector, const std::vector< double > &weightVector) |
Private Attributes | |
DelayAssemblyParameter | _par |
MPILib::Rate | _r_current |
MPILib::Time | _t_current |
Definition at line 31 of file DelayAssemblyAlgorithm.hpp.
|
inherited |
Definition at line 41 of file AlgorithmInterface.hpp.
MPILib::DelayAssemblyAlgorithm< WeightType >::DelayAssemblyAlgorithm | ( | ) |
MPILib::DelayAssemblyAlgorithm< WeightType >::DelayAssemblyAlgorithm | ( | const DelayAssemblyParameter & | par | ) |
Definition at line 30 of file DelayAssemblyAlgorithmCode.hpp.
|
virtual |
Definition at line 38 of file DelayAssemblyAlgorithmCode.hpp.
|
virtual |
Cloning operation, to provide each DynamicNode with its own Algorithm instance. Clients use the naked pointer at their own risk.
Implements MPILib::AlgorithmInterface< WeightType >.
Definition at line 48 of file DelayAssemblyAlgorithmCode.hpp.
|
virtual |
Configure the Algorithm
simParam |
Implements MPILib::AlgorithmInterface< WeightType >.
Definition at line 43 of file DelayAssemblyAlgorithmCode.hpp.
|
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< WeightType >.
Definition at line 60 of file DelayAssemblyAlgorithmCode.hpp.
References GeomLib::MuSigma::_mu, and GeomLib::MuSigmaScalarProduct< WeightType >::Evaluate().
|
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.
|
inlinevirtual |
The calculated rate of the node
Implements MPILib::AlgorithmInterface< WeightType >.
Definition at line 71 of file DelayAssemblyAlgorithm.hpp.
References MPILib::DelayAssemblyAlgorithm< WeightType >::_r_current.
|
inlinevirtual |
The current timepoint
Implements MPILib::AlgorithmInterface< WeightType >.
Definition at line 65 of file DelayAssemblyAlgorithm.hpp.
References MPILib::DelayAssemblyAlgorithm< WeightType >::_t_current.
|
virtual |
Stores the algorithm state in a Algorithm Grid
NodeId,id | of the node that needs to return the grid |
b_state,return | the entire state if true, a reduced grid with just the firing rate info if false |
Implements MPILib::AlgorithmInterface< WeightType >.
Definition at line 53 of file DelayAssemblyAlgorithmCode.hpp.
|
private |
|
inlineinherited |
Definition at line 130 of file AlgorithmInterface.hpp.
|
inlineinherited |
Definition at line 135 of file AlgorithmInterface.hpp.
|
private |
|
inlinevirtualinherited |
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 |
Definition at line 95 of file AlgorithmInterface.hpp.
|
private |
Definition at line 82 of file DelayAssemblyAlgorithm.hpp.
|
private |
Definition at line 84 of file DelayAssemblyAlgorithm.hpp.
Referenced by MPILib::DelayAssemblyAlgorithm< WeightType >::getCurrentRate().
|
private |
Definition at line 83 of file DelayAssemblyAlgorithm.hpp.
Referenced by MPILib::DelayAssemblyAlgorithm< WeightType >::getCurrentTime().