Miind
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
GeomLib::OUAlgorithm Class Reference

#include <libs/GeomLib/OUAlgorithm.hpp>

Inheritance diagram for GeomLib::OUAlgorithm:
Inheritance graph
Collaboration diagram for GeomLib::OUAlgorithm:
Collaboration graph

Public Types

typedef MPILib::DelayedConnection WeightType
 

Public Member Functions

 OUAlgorithm (const NeuronParameter &)
 
 OUAlgorithm (const OUAlgorithm &)
 
virtual ~OUAlgorithm ()
 
virtual OUAlgorithmclone () 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
 

Detailed Description

<

Rate-based model with gain function based on a diffusion process.

Definition at line 40 of file OUAlgorithm.hpp.

Member Typedef Documentation

Definition at line 41 of file AlgorithmInterface.hpp.

Constructor & Destructor Documentation

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.

OUAlgorithm::~OUAlgorithm ( )
virtual

virtual destructor

Definition at line 76 of file OUAlgorithm.cpp.

Member Function Documentation

OUAlgorithm * OUAlgorithm::clone ( ) const
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.

void OUAlgorithm::configure ( const MPILib::SimulationRunParameter parameter_simulation)
virtual
void OUAlgorithm::evolveNodeState ( const std::vector< MPILib::Rate > &  nodeVector,
const std::vector< MPILib::DelayedConnection > &  weightVector,
MPILib::Time  time 
)
virtual

Evolve the node state

Parameters
nodeVectorVector of the node States
weightVectorVector of the weights of the nodes
timeTime point of the algorithm

Reimplemented from MPILib::AlgorithmInterface< MPILib::DelayedConnection >.

Definition at line 123 of file OUAlgorithm.cpp.

virtual void MPILib::AlgorithmInterface< MPILib::DelayedConnection >::evolveNodeState ( const std::vector< Rate > &  nodeVector,
const std::vector< MPILib::DelayedConnection > &  weightVector,
Time  time,
const std::vector< NodeType > &  typeVector 
)
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.

Parameters
nodeVectorVector of the node States
weightVectorVector of the weights of the nodes
timeTime point of the algorithm
typeVectorVector of the NodeTypes of the precursors

Definition at line 83 of file AlgorithmInterface.hpp.

std::valarray<double>& MPILib::AlgorithmInterface< MPILib::DelayedConnection >::getArrayInterpretation ( AlgorithmGrid grid) const
inlineinherited

Definition at line 125 of file AlgorithmInterface.hpp.

std::valarray<double>& MPILib::AlgorithmInterface< MPILib::DelayedConnection >::getArrayState ( AlgorithmGrid grid) const
inlineinherited

Definition at line 120 of file AlgorithmInterface.hpp.

Rate OUAlgorithm::getCurrentRate ( ) const
virtual

Current output rate of the population.

Implements MPILib::AlgorithmInterface< MPILib::DelayedConnection >.

Definition at line 176 of file OUAlgorithm.cpp.

Time OUAlgorithm::getCurrentTime ( ) const
virtual

Current tme of the simulation.

Implements MPILib::AlgorithmInterface< MPILib::DelayedConnection >.

Definition at line 171 of file OUAlgorithm.cpp.

AlgorithmGrid OUAlgorithm::getGrid ( MPILib::NodeId  ,
bool  b_state = true 
) const
virtual

Current AlgorithmGrid.

Implements MPILib::AlgorithmInterface< MPILib::DelayedConnection >.

Definition at line 166 of file OUAlgorithm.cpp.

Number& MPILib::AlgorithmInterface< MPILib::DelayedConnection >::getStateSize ( AlgorithmGrid grid) const
inlineinherited

Definition at line 130 of file AlgorithmInterface.hpp.

Number MPILib::AlgorithmInterface< MPILib::DelayedConnection >::getStateSize ( const AlgorithmGrid grid) const
inlineinherited

Definition at line 135 of file AlgorithmInterface.hpp.

MPILib::AlgorithmGrid GeomLib::OUAlgorithm::InitialGrid ( ) const
private
ResponseParameter OUAlgorithm::InitializeParameters ( const NeuronParameter parameter) const
private
vector< double > OUAlgorithm::InitialState ( ) const
private

Definition at line 80 of file OUAlgorithm.cpp.

References OU_STATE_DIMENSION.

void OUAlgorithm::prepareEvolve ( const std::vector< MPILib::Rate > &  nodeVector,
const std::vector< MPILib::DelayedConnection > &  weightVector,
const std::vector< MPILib::NodeType > &  typeVector 
)
virtual

prepare the Evolve method

Parameters
nodeVectorVector of the node States
weightVectorVector of the weights of the nodes
typeVectorVector of the NodeTypes of the precursors

Reimplemented from MPILib::AlgorithmInterface< MPILib::DelayedConnection >.

Definition at line 146 of file OUAlgorithm.cpp.

References GeomLib::MuSigma::_mu.

Member Data Documentation

NumtoolsLib::DVIntegrator<ResponseParameter> GeomLib::OUAlgorithm::_integrator
private

Definition at line 119 of file OUAlgorithm.hpp.

NeuronParameter GeomLib::OUAlgorithm::_parameter_neuron
private

Definition at line 117 of file OUAlgorithm.hpp.

ResponseParameter GeomLib::OUAlgorithm::_parameter_response
private

Definition at line 118 of file OUAlgorithm.hpp.

MuSigmaScalarProduct<MPILib::DelayedConnection> GeomLib::OUAlgorithm::_scalar_product
private

Definition at line 120 of file OUAlgorithm.hpp.


The documentation for this class was generated from the following files: