51 cutoff_(-
std::numeric_limits<double>::infinity())
68 cutoff_(-
std::numeric_limits<double>::infinity())
174 value_ = getValue<double_t>(
d,
"value");
274 throw BadProperty(
"topology::ExponentialParameter: "
275 "tau > 0 required.");
317 "sigma > 0 required.");
323 std::exp(-std::pow(x -
mean_,2)/(2*std::pow(
sigma_,2)));
398 "min < max required.");
439 min_(-
std::numeric_limits<double>::infinity()),
440 max_(
std::numeric_limits<double>::infinity()),
450 "sigma > 0 required.");
453 "min < max required.");
461 }
while ((val<
min_) or (val>=
max_));
502 min_(-
std::numeric_limits<double>::infinity()),
503 max_(
std::numeric_limits<double>::infinity()),
513 "sigma > 0 required.");
516 "min < max required.");
524 }
while ((val<
min_) or (val>=
max_));
double_t c_
Definition: parameter.h:287
double_t raw_value(const Position< 3 > &, librandom::RngPtr &rng) const
Raw value disregarding cutoff.
Definition: parameter.h:470
Parameter * clone() const
Clone method.
Definition: parameter.h:615
GaussianParameter(const DictionaryDatum &d)
Parameters: c - constant offset p_center - value at center of gaussian mean - distance to center sigm...
Definition: parameter.h:304
Definition: position.h:43
double_t sigma_
Definition: parameter.h:479
Parameter()
Default constructor.
Definition: parameter.h:50
Position< D > anchor_
Definition: parameter.h:578
Abstract base class for parameters only depending on distance.
Definition: parameter.h:198
double_t max_
Definition: parameter.h:479
double_t raw_value(const Position< 2 > &p, librandom::RngPtr &) const
Raw value disregarding cutoff.
Definition: parameter.h:212
double_t raw_value(const Position< 3 > &p, librandom::RngPtr &) const
Raw value disregarding cutoff.
Definition: parameter.h:214
virtual Parameter * clone() const =0
Clone method.
double_t raw_value(librandom::RngPtr &rng) const
Definition: parameter.h:456
double_t a_
Definition: parameter.h:287
double_t max_
Definition: parameter.h:542
Parameter(const DictionaryDatum &d)
Constructor Parameter that can be set in the Dictionary: cutoff - Values less than the cutoff are set...
Definition: parameter.h:67
~DifferenceParameter()
Definition: parameter.h:727
AnchoredParameter(const Parameter &p, const Position< D > &anchor)
Definition: parameter.h:553
double_t sigma_y_
Definition: parameter.h:373
double_t sigma_
Definition: parameter.h:330
double_t raw_value(double_t x) const
Definition: parameter.h:278
Parameter * clone() const
Clone method.
Definition: parameter.h:369
double_t raw_value(const Position< 2 > &p, librandom::RngPtr &rng) const
Definition: parameter.h:610
double_t p_center_
Definition: parameter.h:373
double_t a_
Definition: parameter.h:248
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Parameter * parameter1_
Definition: parameter.h:701
Parameter * clone() const
Clone method.
Definition: parameter.h:188
double_t mean_x_
Definition: parameter.h:373
double_t raw_value(const Position< 2 > &p, librandom::RngPtr &rng) const
Definition: parameter.h:733
double_t mean_
Definition: parameter.h:479
RadialParameter()
Definition: parameter.h:201
QuotientParameter(const QuotientParameter &p)
Copy constructor.
Definition: parameter.h:640
Gaussian2DParameter(const DictionaryDatum &d)
Parameters: c - constant offset p_center - value at center mean_x - x-coordinate of center mean_y - y...
Definition: parameter.cpp:40
Parameter * parameter2_
Definition: parameter.h:619
Parameter class representing the sum of two parameters.
Definition: parameter.h:666
Parameter * p_
Definition: parameter.h:782
Parameter class representing the difference of two parameters.
Definition: parameter.h:707
virtual Parameter * divide_parameter(const Parameter &other) const
Create the quotient of this parameter with another.
Definition: parameter.h:792
Parameter class representing the quotient of two parameters.
Definition: parameter.h:625
double_t min_
Definition: parameter.h:542
Parameter * parameter1_
Definition: parameter.h:660
double_t mu_
Definition: parameter.h:542
Create normal (Gaussian) random numbers with uniform variance.
Definition: normal_randomdev.h:59
double_t min_
Definition: parameter.h:479
double_t mean_y_
Definition: parameter.h:373
Parameter * clone() const
Clone method.
Definition: parameter.h:326
Linear (affine) parameter p(d) = c + a*d.
Definition: parameter.h:222
Parameter * p_
Definition: parameter.h:577
Exponential parameter p(d) = c + a*exp(-d/tau).
Definition: parameter.h:255
const Name tau("tau")
Definition: topology_names.h:71
double_t raw_value(const Position< 2 > &p, librandom::RngPtr &rng) const
Definition: parameter.h:773
Parameter * parameter2_
Definition: parameter.h:742
const Name a("a")
Specific to Brette & Gerstner 2005 (aeif_cond-*)
Definition: nest_names.h:41
virtual Parameter * subtract_parameter(const Parameter &other) const
Create the difference of this parameter with another.
Definition: parameter.h:804
Parameter * clone() const
Clone method.
Definition: parameter.h:573
double_t p_center_
Definition: parameter.h:330
virtual double_t raw_value(const Position< 3 > &, librandom::RngPtr &) const
Raw value disregarding cutoff.
Definition: parameter.h:116
Abstract base class for parameters.
Definition: parameter.h:44
Parameter with constant value.
Definition: parameter.h:162
DifferenceParameter(const DifferenceParameter &p)
Copy constructor.
Definition: parameter.h:722
double_t raw_value(const Position< 2 > &, librandom::RngPtr &) const
Definition: parameter.h:183
double_t raw_value(const Position< 3 > &p, librandom::RngPtr &rng) const
Raw value disregarding cutoff.
Definition: parameter.h:653
const Name std("std")
Miscellaneous parameters.
Definition: nest_names.h:265
double_t raw_value(const Position< 3 > &p, librandom::RngPtr &rng) const
Raw value disregarding cutoff.
Definition: parameter.h:775
const Name anchor("anchor")
Definition: topology_names.h:50
AnchoredParameter(const AnchoredParameter &p)
Definition: parameter.h:558
double_t raw_value(librandom::RngPtr &rng) const
Definition: parameter.h:519
RadialParameter(double_t cutoff)
Definition: parameter.h:204
~SumParameter()
Definition: parameter.h:686
Parameter * clone() const
Clone method.
Definition: parameter.h:738
double_t rho_
Definition: parameter.h:373
ExponentialParameter(const DictionaryDatum &d)
Parameters: a - coefficient of exponential term tau - length scale factor c - constant offset...
Definition: parameter.h:264
const Name other("other")
Node type.
Definition: nest_names.h:216
Base class for all Kernel exceptions.
Definition: exceptions.h:54
Parameter * clone() const
Clone method.
Definition: parameter.h:778
RadialParameter(const DictionaryDatum &d)
Definition: parameter.h:207
double_t mean_
Definition: parameter.h:330
double_t raw_value(const Position< D xor 1 > &, librandom::RngPtr &) const
Definition: parameter.h:565
NormalParameter(const DictionaryDatum &d)
Parameters: mean - mean value sigma - standard distribution min - minimum value max - maximum value...
Definition: parameter.h:435
virtual ~Parameter()
Virtual destructor.
Definition: parameter.h:76
SumParameter(const SumParameter &p)
Copy constructor.
Definition: parameter.h:681
const Name p_center("p_center")
Definition: topology_names.h:72
double_t raw_value(const Position< 3 > &pos, librandom::RngPtr &rng) const
Raw value disregarding cutoff.
Definition: parameter.h:364
double_t raw_value(const Position< 3 > &p, librandom::RngPtr &rng) const
Raw value disregarding cutoff.
Definition: parameter.h:694
LinearParameter(const DictionaryDatum &d)
Parameters: a - coefficient of linear function c - constant offset.
Definition: parameter.h:230
double_t raw_value(double_t x) const
Definition: parameter.h:320
ProductParameter(const Parameter &m1, const Parameter &m2)
Construct the product of the two given parameters.
Definition: parameter.h:591
~ConverseParameter()
Definition: parameter.h:767
lockPTRDatum< Parameter,&TopologyModule::ParameterType > ParameterDatum
Definition: parameter.h:157
double_t value(const Position< 2 > &p, librandom::RngPtr &rng) const
Definition: parameter.h:82
double_t sigma_x_
Definition: parameter.h:373
double_t raw_value(const Position< 2 > &, librandom::RngPtr &rng) const
Raw value disregarding cutoff.
Definition: parameter.h:465
double_t value(const Position< 3 > &p, librandom::RngPtr &rng) const
Definition: parameter.h:94
double_t raw_value(const Position< 2 > &, librandom::RngPtr &rng) const
Raw value disregarding cutoff.
Definition: parameter.h:528
double_t c_
Definition: parameter.h:248
const Name x("x")
current scaling factor of the synaptic weight [0...1] (Tsodyks2_connection)
Definition: nest_names.h:356
Exception to be thrown if a status parameter is incomplete or inconsistent.
Definition: exceptions.h:420
const Name mean("mean")
Miscellaneous parameters.
Definition: nest_names.h:194
Parameter * parameter1_
Definition: parameter.h:619
Gaussian parameter p(d) = c + p_center*exp(-(d-mean)^2/(2*sigma^2))
Definition: parameter.h:294
ConstantParameter(double_t value)
Definition: parameter.h:165
~ProductParameter()
Definition: parameter.h:604
Parameter class representing the product of two parameters.
Definition: parameter.h:584
const Name min("min")
Definition: topology_names.h:74
double_t sigma_
Definition: parameter.h:542
librandom::NormalRandomDev rdev
Definition: parameter.h:480
double_t raw_value(double_t x) const
Definition: parameter.h:239
Parameter * parameter1_
Definition: parameter.h:742
double double_t
Double precision floating point numbers.
Definition: nest.h:93
double_t raw_value(const Position< 3 > &p, librandom::RngPtr &rng) const
Raw value disregarding cutoff.
Definition: parameter.h:735
SumParameter(const Parameter &m1, const Parameter &m2)
Construct the sum of the two given parameters.
Definition: parameter.h:673
virtual double_t raw_value(double_t) const =0
LognormalParameter(const DictionaryDatum &d)
Parameters: mu - mean value of logarithm sigma - standard distribution of logarithm min - minimum val...
Definition: parameter.h:498
double_t raw_value(const Position< 3 > &p, librandom::RngPtr &rng) const
Raw value disregarding cutoff.
Definition: parameter.h:612
double_t value_
Definition: parameter.h:192
Parameter * parameter2_
Definition: parameter.h:660
const Name max("max")
Definition: topology_names.h:75
double_t raw_value(const Position< 2 > &p, librandom::RngPtr &rng) const
Definition: parameter.h:651
Random parameter with normal distribution, optionally truncated to [min,max).
Definition: parameter.h:425
const Name sigma("sigma")
Definition: topology_names.h:73
virtual Parameter * add_parameter(const Parameter &other) const
Create the sum of this parameter with another.
Definition: parameter.h:798
Parameter * clone() const
Clone method.
Definition: parameter.h:244
ConverseParameter(const ConverseParameter &p)
Copy constructor.
Definition: parameter.h:763
double_t c_
Definition: parameter.h:373
DifferenceParameter(const Parameter &m1, const Parameter &m2)
Construct the difference of the two given parameters.
Definition: parameter.h:714
QuotientParameter(const Parameter &m1, const Parameter &m2)
Construct the quotient of the two given parameters.
Definition: parameter.h:632
Default types used by the NEST kernel.
double_t c_
Definition: parameter.h:330
Random parameter with lognormal distribution, optionally truncated to [min,max).
Definition: parameter.h:488
librandom::NormalRandomDev rdev
Definition: parameter.h:543
const Name cutoff("cutoff")
Definition: topology_names.h:93
ConstantParameter(const DictionaryDatum &d)
Parameters: value - constant value of this parameter.
Definition: parameter.h:172
const Name mu("mu")
Definition: topology_names.h:94
ProductParameter(const ProductParameter &p)
Copy constructor.
Definition: parameter.h:599
double_t raw_value(const Position< 3 > &, librandom::RngPtr &) const
Raw value disregarding cutoff.
Definition: parameter.h:185
Parameter * clone() const
Clone method.
Definition: parameter.h:697
virtual double_t raw_value(const Position< 2 > &, librandom::RngPtr &) const
Raw value disregarding cutoff.
Definition: parameter.h:107
T length() const
Length of Position vector.
Definition: position.h:671
double_t raw_value(const Position< 2 > &p, librandom::RngPtr &rng) const
Definition: parameter.h:692
Parameter * clone() const
Clone method.
Definition: parameter.h:538
const Name p("p")
current release probability (Tsodyks2_connection)
Definition: nest_names.h:218
const Name c("c")
Specific to Izhikevich 2003.
Definition: nest_names.h:62
~AnchoredParameter()
Definition: parameter.h:562
~ConstantParameter()
Definition: parameter.h:177
Parameter * clone() const
Clone method.
Definition: parameter.h:656
~QuotientParameter()
Definition: parameter.h:645
Parameter class for a parameter oriented in the opposite direction.
Definition: parameter.h:748
ConverseParameter(const Parameter &p)
Construct the converse of the given parameter.
Definition: parameter.h:755
Parameter class representing a parameter centered at an anchor position.
Definition: parameter.h:551
Parameter * clone() const
Clone method.
Definition: parameter.h:283
Parameter * clone() const
Clone method.
Definition: parameter.h:475
virtual Parameter * multiply_parameter(const Parameter &other) const
Create the product of this parameter with another.
Definition: parameter.h:786
Bivariate Gaussian parameter p(x,y) = c + p_center*exp( -( (x-mean_x)^2/sigma_x^2 + (y-mean_y)^2/sigm...
Definition: parameter.h:340
Parameter(double_t cutoff)
Constructor.
Definition: parameter.h:58
double_t raw_value(const Position< 2 > &pos, librandom::RngPtr &) const
Raw value disregarding cutoff.
Definition: parameter.h:355
double_t cutoff_
Definition: parameter.h:154
double_t raw_value(const Position< D > &p, librandom::RngPtr &rng) const
Definition: parameter.h:568
double_t raw_value(const Position< 3 > &, librandom::RngPtr &rng) const
Raw value disregarding cutoff.
Definition: parameter.h:533
double_t tau_
Definition: parameter.h:287
Parameter * parameter2_
Definition: parameter.h:701