NEST main@f146f75
Loading...
Searching...
No Matches
nest::correlomatrix_detector::State_ Struct Reference

Public Member Functions

 State_ ()
 initialize default state
void get (Dictionary &) const
void set (const Dictionary &, const Parameters_ &, bool, Node *node)
void reset (const Parameters_ &)

Public Attributes

std::vector< long > n_events_
 spike counters
SpikelistType incoming_
 incoming spikes, sorted
std::vector< std::vector< std::vector< double > > > covariance_
 Weighted covariance matrix.
std::vector< std::vector< std::vector< long > > > count_covariance_
 Unweighted covariance matrix.

Detailed Description

Todo
Is there a replacement for std::list that allows fast insertion inside, fast deletion at the beginning, and maintains sorting?
Note
Constructed with empty structures, which are set to proper sizes by init_buffers_().
State_ only contains read-out values, so we copy-construct using the default c'tor.

Constructor & Destructor Documentation

◆ State_()

nest::correlomatrix_detector::State_::State_ ( )

initialize default state

References count_covariance_, covariance_, incoming_, and n_events_.

Member Function Documentation

◆ get()

void nest::correlomatrix_detector::State_::get ( Dictionary & d) const

References nest::names::count_covariance(), count_covariance_, nest::names::covariance(), covariance_, nest::names::n_events(), and n_events_.

Here is the call graph for this function:

◆ reset()

void nest::correlomatrix_detector::State_::reset ( const Parameters_ & p)

◆ set()

void nest::correlomatrix_detector::State_::set ( const Dictionary & ,
const Parameters_ & ,
bool ,
Node * node )
Parameters
boolif true, force state reset

References nest::Node::Node().

Here is the call graph for this function:

Member Data Documentation

◆ count_covariance_

std::vector< std::vector< std::vector< long > > > nest::correlomatrix_detector::State_::count_covariance_

Unweighted covariance matrix.

Referenced by get(), reset(), and State_().

◆ covariance_

std::vector< std::vector< std::vector< double > > > nest::correlomatrix_detector::State_::covariance_

Weighted covariance matrix.

Note
Data type is double to accommodate weights.

Referenced by get(), reset(), and State_().

◆ incoming_

SpikelistType nest::correlomatrix_detector::State_::incoming_

incoming spikes, sorted

Referenced by reset(), and State_().

◆ n_events_

std::vector< long > nest::correlomatrix_detector::State_::n_events_

spike counters

Referenced by get(), reset(), and State_().


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