Parameter class representing the maximum of a parameter's value and a given value.
More...
#include <parameter.h>
Parameter class representing the maximum of a parameter's value and a given value.
◆ MaxParameter() [1/2]
| nest::MaxParameter::MaxParameter |
( |
ParameterPTR |
p, |
|
|
const double |
other_value |
|
) |
| |
|
inline |
Construct a max parameter.
A copy is made of the supplied Parameter object.
◆ MaxParameter() [2/2]
◆ value() [1/2]
| double nest::MaxParameter::value |
( |
RngPtr |
rng, |
|
|
const std::vector< double > & |
source_pos, |
|
|
const std::vector< double > & |
target_pos, |
|
|
const AbstractLayer & |
layer, |
|
|
Node * |
node |
|
) |
| |
|
inlineoverridevirtual |
Generates a value based on parameter specifications and arguments.
Used when connecting spatial nodes. Note that not all parameters support all overloaded versions.
- Parameters
-
| rng | pointer to the random number generator |
| source_pos | position of the source node |
| target_pos | position of the target node |
| layer | spatial layer |
| node | target node, required for normal and lognormal parameters |
- Returns
- the value of the parameter.
Reimplemented from nest::Parameter.
References other_value_, and p_.
◆ value() [2/2]
| double nest::MaxParameter::value |
( |
RngPtr |
rng, |
|
|
Node * |
node |
|
) |
| |
|
inlineoverridevirtual |
◆ other_value_
| double nest::MaxParameter::other_value_ |
|
protected |
◆ p_
The documentation for this class was generated from the following file: