NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Public Attributes | List of all members
nest::correlomatrix_detector::State_ Struct Reference

Public Member Functions

 State_ ()
 initialize default state More...
 
void get (DictionaryDatum &) const
 
void set (const DictionaryDatum &, const Parameters_ &, bool)
 
void reset (const Parameters_ &)
 

Public Attributes

std::vector< long_tn_events_
 spike counters More...
 
SpikelistType incoming_
 incoming spikes, sorted More...
 
std::vector< std::vector
< std::vector< double_t > > > 
covariance_
 Weighted covariance matrix. More...
 
std::vector< std::vector
< std::vector< long_t > > > 
count_covariance_
 Unweighted covariance matrix. More...
 

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

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

initialize default state

Member Function Documentation

void nest::correlomatrix_detector::State_::get ( DictionaryDatum d) const
void nest::correlomatrix_detector::State_::reset ( const Parameters_ p)
void nest::correlomatrix_detector::State_::set ( const DictionaryDatum ,
const Parameters_ ,
bool   
)
Parameters
boolif true, force state reset

Member Data Documentation

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

Unweighted covariance matrix.

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

Weighted covariance matrix.

Note
Data type is double to accomodate weights.
SpikelistType nest::correlomatrix_detector::State_::incoming_

incoming spikes, sorted

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

spike counters


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