#include <genesis/placement/simulator/distributions.hpp>
Definition at line 237 of file distributions.hpp.
Public Member Functions | |
| SimulatorPendantLengthDistribution ()=default | |
| SimulatorPendantLengthDistribution (SimulatorPendantLengthDistribution &&)=default | |
| SimulatorPendantLengthDistribution (SimulatorPendantLengthDistribution const &)=default | |
| ~SimulatorPendantLengthDistribution ()=default | |
| double | generate (PlacementTreeEdge const &edge) |
| Return a randomly chosen position on an edge. More... | |
| SimulatorPendantLengthDistribution & | operator= (SimulatorPendantLengthDistribution &&)=default |
| SimulatorPendantLengthDistribution & | operator= (SimulatorPendantLengthDistribution const &)=default |
| void | prepare (Sample const &sample) |
| Prepare the distribution for usage. Needs to be called before generate(). More... | |
Public Attributes | |
| double | max = 1.0 |
| double | min = 0.0 |
|
default |
|
default |
|
default |
|
inline |
Return a randomly chosen position on an edge.
Definition at line 270 of file distributions.hpp.
|
default |
|
default |
|
inline |
Prepare the distribution for usage. Needs to be called before generate().
Definition at line 261 of file distributions.hpp.
| double max = 1.0 |
Definition at line 285 of file distributions.hpp.
| double min = 0.0 |
Definition at line 284 of file distributions.hpp.