#include <functional>#include <memory>#include <utility>#include <vector>#include "drake/common/parallelism.h"#include "drake/systems/analysis/simulator.h"Classes | |
| struct | RandomSimulationResult |
| A snapshot of the generator used to produce the random simulation. More... | |
Namespaces | |
| namespace | drake |
| namespace | drake::systems |
| namespace | drake::systems::analysis |
Typedefs | |
| using | RandomSimulatorFactory |
| typedef std::function< double(const System< double > &system, const Context< double > &context)> | ScalarSystemFunction |
Functions | |
| double | RandomSimulation (const RandomSimulatorFactory &make_simulator, const ScalarSystemFunction &output, double final_time, RandomGenerator *generator) |
Run a deterministic simulation of a (stochastic) System using the generator to instantiate all "random" quantities. | |
| std::vector< RandomSimulationResult > | MonteCarloSimulation (const RandomSimulatorFactory &make_simulator, const ScalarSystemFunction &output, double final_time, int num_samples, RandomGenerator *generator=nullptr, Parallelism parallelism=false) |
| Generates samples of a scalar random variable output by running many random simulations drawn from independent samples of the distributions governing the stochastic simulation. | |