Miind
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
GeomLib::NumericalMasterEquation< Estimator > Class Template Reference

#include <libs/GeomLib/NumericalMasterEquation.hpp>

Inheritance diagram for GeomLib::NumericalMasterEquation< Estimator >:
Inheritance graph
Collaboration diagram for GeomLib::NumericalMasterEquation< Estimator >:
Collaboration graph

Public Member Functions

 NumericalMasterEquation (AbstractOdeSystem &, const DiffusionParameter &, const CurrentCompensationParameter &)
 
virtual ~NumericalMasterEquation ()
 
virtual void apply (MPILib::Time)
 
virtual Rate getTransitionRate () const
 
Rate IntegralRate () const
 
virtual void sortConnectionVector (const std::vector< MPILib::Rate > &, const std::vector< MPILib::DelayedConnection > &, const std::vector< MPILib::NodeType > &)
 

Private Member Functions

 NumericalMasterEquation (const NumericalMasterEquation &)
 
Density Checksum () const
 
void InitializeIntegrator ()
 
NumericalMasterEquationoperator= (const NumericalMasterEquation &)
 
Density RecaptureProbability ()
 

Private Attributes

CNZLCache< Estimator > _cache
 
GeomInputConvertor _convertor
 
Estimator _estimator
 
ExStateDVIntegrator< MasterParameter< Estimator > > _integrator
 
const CurrentCompensationParameter _par_current
 
const DiffusionParameter _par_diffusion
 
ProbabilityQueue _queue
 
Rate _rate
 
vector< Density > _scratch_dense
 
vector< Potential > _scratch_pot
 
AbstractOdeSystem_system
 
Time _time_current
 

Static Private Attributes

static Number _max_iteration
 

Detailed Description

template<class Estimator = BinEstimator>
class GeomLib::NumericalMasterEquation< Estimator >

Solves the Poisson Master equation on the probability mass bins.

The Poisson master equation is determined by the combination of synaptic efficacy h and potential grid. Transitions occur away from this bin and probability enters from density a step h away. We calculate a transition matrix by translating the current bin and finding out which bins it covers. The system of equations that is described in http://arxiv.org/abs/1309.1654 is then set up and solved.

Definition at line 54 of file NumericalMasterEquation.hpp.

Constructor & Destructor Documentation

template<class Estimator >
NumericalMasterEquation::NumericalMasterEquation ( AbstractOdeSystem system,
const DiffusionParameter par_diffusion,
const CurrentCompensationParameter par_current 
)
Parameters
systemOdeSystem defining the geometric grid
par_diffusionParameters that determine whether to use single or double input in Gaussian white noise approximation.
par_currentIf current compensation is to be used, these are the values.

Definition at line 170 of file NumericalMasterEquationCode.hpp.

template<class Estimator >
NumericalMasterEquation::~NumericalMasterEquation ( )
virtual

Destructor.

Definition at line 208 of file NumericalMasterEquationCode.hpp.

template<class Estimator = BinEstimator>
GeomLib::NumericalMasterEquation< Estimator >::NumericalMasterEquation ( const NumericalMasterEquation< Estimator > &  )
private

Member Function Documentation

template<class Estimator >
void NumericalMasterEquation::apply ( MPILib::Time  t)
virtual

Apply the master equations over a period of time.

Implements GeomLib::AbstractMasterEquation.

Definition at line 246 of file NumericalMasterEquationCode.hpp.

References MPILib::populist::StampedProbability::_prob, and MPILib::populist::StampedProbability::_time.

template<class Estimator >
Density NumericalMasterEquation::Checksum ( ) const
private

Definition at line 329 of file NumericalMasterEquationCode.hpp.

template<class Estimator >
Rate NumericalMasterEquation::getTransitionRate ( ) const
virtual

Reimplemented from GeomLib::AbstractMasterEquation.

Definition at line 281 of file NumericalMasterEquationCode.hpp.

template<class Estimator >
void NumericalMasterEquation::InitializeIntegrator ( )
private

Definition at line 225 of file NumericalMasterEquationCode.hpp.

template<class Estimator >
Rate NumericalMasterEquation::IntegralRate ( ) const

Definition at line 287 of file NumericalMasterEquationCode.hpp.

References i.

template<class Estimator = BinEstimator>
NumericalMasterEquation& GeomLib::NumericalMasterEquation< Estimator >::operator= ( const NumericalMasterEquation< Estimator > &  )
private
template<class Estimator >
double NumericalMasterEquation::RecaptureProbability ( )
private

Definition at line 236 of file NumericalMasterEquationCode.hpp.

template<class Estimator >
void NumericalMasterEquation::sortConnectionVector ( const std::vector< MPILib::Rate > &  vec_rates,
const std::vector< MPILib::DelayedConnection > &  vec_cons,
const std::vector< MPILib::NodeType > &  vec_types 
)
virtual

Interpretation of the input is done by a GeomInputConvertor object. This is a hook to provide that object with the required information.

Implements GeomLib::AbstractMasterEquation.

Definition at line 214 of file NumericalMasterEquationCode.hpp.

Member Data Documentation

template<class Estimator = BinEstimator>
CNZLCache<Estimator> GeomLib::NumericalMasterEquation< Estimator >::_cache
private

Definition at line 103 of file NumericalMasterEquation.hpp.

template<class Estimator = BinEstimator>
GeomInputConvertor GeomLib::NumericalMasterEquation< Estimator >::_convertor
private

Definition at line 102 of file NumericalMasterEquation.hpp.

template<class Estimator = BinEstimator>
Estimator GeomLib::NumericalMasterEquation< Estimator >::_estimator
private

Definition at line 101 of file NumericalMasterEquation.hpp.

template<class Estimator = BinEstimator>
ExStateDVIntegrator<MasterParameter<Estimator> > GeomLib::NumericalMasterEquation< Estimator >::_integrator
private

Definition at line 105 of file NumericalMasterEquation.hpp.

template<class Estimator = BinEstimator>
Number GeomLib::NumericalMasterEquation< Estimator >::_max_iteration
staticprivate

Definition at line 110 of file NumericalMasterEquation.hpp.

template<class Estimator = BinEstimator>
const CurrentCompensationParameter GeomLib::NumericalMasterEquation< Estimator >::_par_current
private

Definition at line 97 of file NumericalMasterEquation.hpp.

template<class Estimator = BinEstimator>
const DiffusionParameter GeomLib::NumericalMasterEquation< Estimator >::_par_diffusion
private

Definition at line 96 of file NumericalMasterEquation.hpp.

template<class Estimator = BinEstimator>
ProbabilityQueue GeomLib::NumericalMasterEquation< Estimator >::_queue
private

Definition at line 107 of file NumericalMasterEquation.hpp.

template<class Estimator = BinEstimator>
Rate GeomLib::NumericalMasterEquation< Estimator >::_rate
private

Definition at line 108 of file NumericalMasterEquation.hpp.

template<class Estimator = BinEstimator>
vector<Density> GeomLib::NumericalMasterEquation< Estimator >::_scratch_dense
mutableprivate

Definition at line 111 of file NumericalMasterEquation.hpp.

template<class Estimator = BinEstimator>
vector<Potential> GeomLib::NumericalMasterEquation< Estimator >::_scratch_pot
mutableprivate

Definition at line 112 of file NumericalMasterEquation.hpp.

template<class Estimator = BinEstimator>
AbstractOdeSystem& GeomLib::NumericalMasterEquation< Estimator >::_system
private

Definition at line 95 of file NumericalMasterEquation.hpp.

template<class Estimator = BinEstimator>
Time GeomLib::NumericalMasterEquation< Estimator >::_time_current
private

Definition at line 99 of file NumericalMasterEquation.hpp.


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