Base class for a vector of distributions, to be used with YAML archives.
(See class Distribution for scalar-valued distributions.)
See implementing_serialize for implementation details, especially the unusually public member fields in our subclasses.
#include <drake/common/schema/stochastic.h>
Public Member Functions | |
virtual | ~DistributionVector () |
virtual Eigen::VectorXd | Sample (drake::RandomGenerator *generator) const =0 |
virtual Eigen::VectorXd | Mean () const =0 |
virtual drake::VectorX< drake::symbolic::Expression > | ToSymbolic () const =0 |
Protected Member Functions | |
DistributionVector () | |
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable | |
DistributionVector (const DistributionVector &)=default | |
DistributionVector & | operator= (const DistributionVector &)=default |
DistributionVector (DistributionVector &&)=default | |
DistributionVector & | operator= (DistributionVector &&)=default |
|
virtual |
|
protecteddefault |
|
protecteddefault |
|
protected |
|
pure virtual |
Implemented in UniformVector< Size >, GaussianVector< Size >, and DeterministicVector< Size >.
|
protecteddefault |
|
protecteddefault |
|
pure virtual |
Implemented in UniformVector< Size >, GaussianVector< Size >, and DeterministicVector< Size >.
|
pure virtual |
Implemented in UniformVector< Size >, GaussianVector< Size >, and DeterministicVector< Size >.