NEST main@caf0ae8
 
Loading...
Searching...
No Matches
nest::correlospinmatrix_detector::State_ Struct Reference
Collaboration diagram for nest::correlospinmatrix_detector::State_:
[legend]

Public Member Functions

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

Public Attributes

BinaryPulselistType incoming_
 incoming binary pulses, sorted
 
size_t last_i_
 rport of last event coming in (needed for decoding logic of binary events)
 
Time t_last_in_spike_
 time of last event coming in (needed for decoding logic of binary events)
 
bool tentative_down_
 potentially a down transition (single spike received)
 
std::vector< bool > curr_state_
 current state of neuron i
 
std::vector< long > last_change_
 last time pointof change of neuron i
 
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::correlospinmatrix_detector::State_::State_ ( )

initialize default state

Member Function Documentation

◆ get()

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

References nest::names::count_covariance().

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

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

◆ reset()

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

References nest::Time::neg_inf().

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

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

◆ set()

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

Member Data Documentation

◆ count_covariance_

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

Unweighted covariance matrix.

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

◆ curr_state_

std::vector< bool > nest::correlospinmatrix_detector::State_::curr_state_

current state of neuron i

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

◆ incoming_

BinaryPulselistType nest::correlospinmatrix_detector::State_::incoming_

incoming binary pulses, sorted

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

◆ last_change_

std::vector< long > nest::correlospinmatrix_detector::State_::last_change_

last time pointof change of neuron i

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

◆ last_i_

size_t nest::correlospinmatrix_detector::State_::last_i_

rport of last event coming in (needed for decoding logic of binary events)

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

◆ t_last_in_spike_

Time nest::correlospinmatrix_detector::State_::t_last_in_spike_

time of last event coming in (needed for decoding logic of binary events)

Referenced by nest::correlospinmatrix_detector::calibrate_time(), and nest::correlospinmatrix_detector::handle().

◆ tentative_down_

bool nest::correlospinmatrix_detector::State_::tentative_down_

potentially a down transition (single spike received)

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


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