A snapshot of the generator used to produce the random simulation.
Use, e.g.,
for a deterministic playback of the sampled simulation. RandomNumberEngine concept, if you wish to serialize the results. Note that performing any non-const operations on generator_snapshot may advance the state of the generator and make it no longer capable of reproducing the simulation.
#include <drake/systems/analysis/monte_carlo.h>
Public Member Functions | |
| RandomSimulationResult (const RandomGenerator &generator, double value=0.0) | |
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable | |
| RandomSimulationResult (const RandomSimulationResult &)=default | |
| RandomSimulationResult & | operator= (const RandomSimulationResult &)=default |
| RandomSimulationResult (RandomSimulationResult &&)=default | |
| RandomSimulationResult & | operator= (RandomSimulationResult &&)=default |
Public Attributes | |
| RandomGenerator | generator_snapshot |
| double | output {} |
|
default |
|
default |
|
explicit |
|
default |
|
default |
| RandomGenerator generator_snapshot |
| double output {} |