#include <genesis/placement/simulator/distributions.hpp>
Definition at line 49 of file distributions.hpp.
Public Member Functions | |
SimulatorEdgeDistribution ()=default | |
SimulatorEdgeDistribution (SimulatorEdgeDistribution &&)=default | |
SimulatorEdgeDistribution (SimulatorEdgeDistribution const &)=default | |
~SimulatorEdgeDistribution ()=default | |
size_t | generate () |
Return a randomly chosen edge index, according to the distribution. More... | |
SimulatorEdgeDistribution & | operator= (SimulatorEdgeDistribution &&)=default |
SimulatorEdgeDistribution & | operator= (SimulatorEdgeDistribution const &)=default |
void | prepare (Sample const &sample) |
Prepare the distribution for usage. Needs to be called before generate(). More... | |
Public Attributes | |
std::vector< double > | edge_weights |
|
default |
|
default |
|
default |
|
default |
|
inline |
Return a randomly chosen edge index, according to the distribution.
Definition at line 94 of file distributions.hpp.
|
default |
|
default |
|
inline |
Prepare the distribution for usage. Needs to be called before generate().
Definition at line 73 of file distributions.hpp.
std::vector<double> edge_weights |
Definition at line 105 of file distributions.hpp.