20 #ifndef MPILIB_ALGORITHMS_WILSONCOWANALGORITHM_HPP_
21 #define MPILIB_ALGORITHMS_WILSONCOWANALGORITHM_HPP_
23 #include <NumtoolsLib/NumtoolsLib.h>
73 const std::vector<double>& weightVector,
Time time);
92 const std::vector<double>& weightVector);
double innerProduct(const std::vector< Rate > &nodeVector, const std::vector< double > &weightVector)
virtual void evolveNodeState(const std::vector< Rate > &nodeVector, const std::vector< double > &weightVector, Time time)
WilsonCowanParameter _parameter
The interface for all algorithm classes.
virtual Time getCurrentTime() const
virtual Rate getCurrentRate() const
virtual ~WilsonCowanAlgorithm()
NumtoolsLib::DVIntegrator< WilsonCowanParameter > _integrator
virtual WilsonCowanAlgorithm * clone() const
Parameter determining how a simulation is run. Specifiying begin and end time, log file names...
virtual AlgorithmGrid getGrid(NodeId, bool b_state=true) const
virtual void configure(const SimulationRunParameter &simParam)
std::vector< double > getInitialState() const
The background of this algorithm is described on page The Wilson-Cowan Algorithm. An example of a ful...