本文整理汇总了C++中CurrentEvent::get_rel_delivery_steps方法的典型用法代码示例。如果您正苦于以下问题:C++ CurrentEvent::get_rel_delivery_steps方法的具体用法?C++ CurrentEvent::get_rel_delivery_steps怎么用?C++ CurrentEvent::get_rel_delivery_steps使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CurrentEvent
的用法示例。
在下文中一共展示了CurrentEvent::get_rel_delivery_steps方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: assert
void
nest::izhikevich::handle( CurrentEvent& e )
{
assert( e.get_delay() > 0 );
const double_t c = e.get_current();
const double_t w = e.get_weight();
B_.currents_.add_value( e.get_rel_delivery_steps( network()->get_slice_origin() ), w * c );
}
示例2: assert
void
nest::izhikevich::handle( CurrentEvent& e )
{
assert( e.get_delay() > 0 );
const double_t c = e.get_current();
const double_t w = e.get_weight();
B_.currents_.add_value(
e.get_rel_delivery_steps( kernel().simulation_manager.get_slice_origin() ), w * c );
}
示例3: assert
void
nest::iaf_cond_alpha::handle( CurrentEvent& e )
{
assert( e.get_delay_steps() > 0 );
// add weighted current; HEP 2002-10-04
B_.currents_.add_value(
e.get_rel_delivery_steps( kernel().simulation_manager.get_slice_origin() ),
e.get_weight() * e.get_current() );
}
示例4: assert
void mynest::coronet_neuron::handle(CurrentEvent& e)
{
assert(e.get_delay() > 0);
const double_t c=e.get_current();
const double_t w=e.get_weight();
// add weighted current; HEP 2002-10-04
B_.currents_.add_value(e.get_rel_delivery_steps(network()->get_slice_origin()),
w *c);
}
示例5: assert
void nest::iaf_psc_alpha_mod::handle(CurrentEvent& e)
{
assert(e.get_delay() > 0);
const double_t I = e.get_current();
const double_t w = e.get_weight();
// add weighted current; HEP 2002-10-04
B_.currents_.add_value(e.get_rel_delivery_steps(network()->get_slice_origin()),
w * I);
}
示例6: assert
void
nest::iaf_cond_alpha_mc::handle( CurrentEvent& e )
{
assert( e.get_delay() > 0 );
assert( 0 <= e.get_rport() && e.get_rport() < NCOMP ); // not 100% clean, should look at MIN, SUP
// add weighted current; HEP 2002-10-04
B_.currents_[ e.get_rport() ].add_value(
e.get_rel_delivery_steps( kernel().simulation_manager.get_slice_origin() ),
e.get_weight() * e.get_current() );
}
示例7: assert
void
nest::iaf_tum_2000::handle( CurrentEvent& e )
{
assert( e.get_delay() > 0 );
const double_t c = e.get_current();
const double_t w = e.get_weight();
// add weighted current; HEP 2002-10-04
B_.currents_.add_value(
e.get_rel_delivery_steps( kernel().simulation_manager.get_slice_origin() ), w * c );
}
示例8: assert
void
iaf_psc_alpha::handle( CurrentEvent& e )
{
assert( e.get_delay() > 0 );
const double I = e.get_current();
const double w = e.get_weight();
B_.currents_.add_value(
e.get_rel_delivery_steps( kernel().simulation_manager.get_slice_origin() ),
w * I );
}
示例9: assert
void
iaf_psc_alpha_multisynapse::handle( CurrentEvent& e )
{
assert( e.get_delay() > 0 );
const double_t I = e.get_current();
const double_t w = e.get_weight();
// add weighted current; HEP 2002-10-04
B_.currents_.add_value(
e.get_rel_delivery_steps( kernel().simulation_manager.get_slice_origin() ), w * I );
}
示例10: assert
void
iaf_psc_delta_canon::handle( CurrentEvent& e )
{
assert( e.get_delay() > 0 );
const double_t c = e.get_current();
const double_t w = e.get_weight();
// add stepwise constant current; MH 2009-10-14
B_.currents_.add_value(
e.get_rel_delivery_steps( kernel().simulation_manager.get_slice_origin() ), w * c );
}