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

References count_covariance_, incoming_, last_i_, and t_last_in_spike_.

Member Function Documentation

◆ get()

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

References nest::names::count_covariance(), and count_covariance_.

Here is the call graph for this function:

◆ reset()

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

References count_covariance_, curr_state_, incoming_, last_change_, last_i_, nest::Time::neg_inf(), t_last_in_spike_, and tentative_down_.

Here is the call graph for this function:

◆ set()

void nest::correlospinmatrix_detector::State_::set ( const Dictionary & ,
const Parameters_ & ,
bool ,
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::correlospinmatrix_detector::State_::count_covariance_

Unweighted covariance matrix.

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

◆ curr_state_

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

current state of neuron i

Referenced by reset().

◆ incoming_

BinaryPulselistType nest::correlospinmatrix_detector::State_::incoming_

incoming binary pulses, sorted

Referenced by reset(), and State_().

◆ last_change_

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

last time pointof change of neuron i

Referenced by reset().

◆ 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 reset(), and State_().

◆ 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 reset(), and State_().

◆ tentative_down_

bool nest::correlospinmatrix_detector::State_::tentative_down_

potentially a down transition (single spike received)

Referenced by reset().


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