NEST main@caf0ae8
 
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

Member Function Documentation

◆ get()

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

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

Referenced by nest::correlomatrix_detector::get_status().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset()

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

Referenced by nest::correlomatrix_detector::init_buffers_(), and nest::correlomatrix_detector::set_status().

Here is the caller graph for this function:

◆ set()

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

Member Data Documentation

◆ count_covariance_

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

Unweighted covariance matrix.

Referenced by nest::correlomatrix_detector::handle().

◆ 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 nest::correlomatrix_detector::handle().

◆ incoming_

SpikelistType nest::correlomatrix_detector::State_::incoming_

incoming spikes, sorted

Referenced by nest::correlomatrix_detector::handle().

◆ n_events_

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

spike counters

Referenced by nest::correlomatrix_detector::handle().


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