NEST
2.6.0,not_revisioned_source_dir@0
|
Array parameter, returning values in order. More...
#include <conn_parameter.h>
Public Member Functions | |
ArrayParameter (const std::vector< double > &values) | |
size_t | number_of_values () const |
Returns number of values available. More... | |
double | value_double (index, index, librandom::RngPtr &) const |
Return parameter value. More... | |
long_t | value_int (index, index, librandom::RngPtr &) const |
Public Member Functions inherited from nest::ConnParameter | |
ConnParameter () | |
virtual | ~ConnParameter () |
Private Attributes | |
std::vector< double > | values_ |
std::vector< double >::iterator | next_ |
Additional Inherited Members | |
Static Public Member Functions inherited from nest::ConnParameter | |
static ConnParameter * | create (const Token &) |
Array parameter, returning values in order.
|
inline |
|
inlinevirtual |
Returns number of values available.
0 indicates scalar/unlimited supply.
Reimplemented from nest::ConnParameter.
References values_.
|
inlinevirtual |
Return parameter value.
The parameter value may depend on source and target GIDs (when using callback functions, not yet implemented) and random numbers. All three must be supplied, even if a concrete parameter type does not use them.
sgid | source gid |
tgid | target gid |
rng | random number generator pointer will be ignored except for random parameters. |
Implements nest::ConnParameter.
|
inlinevirtual |
Implements nest::ConnParameter.
|
mutableprivate |
Referenced by value_double().
|
private |
Referenced by number_of_values(), and value_double().