Drake
Drake C++ Documentation
Deterministic Class Referencefinal

Detailed Description

A single deterministic value.

#include <drake/common/schema/stochastic.h>

Public Member Functions

 Deterministic ()
 
 Deterministic (double value)
 
 ~Deterministic () final
 
double Sample (drake::RandomGenerator *) const final
 
double Mean () const final
 
drake::symbolic::Expression ToSymbolic () const final
 
template<typename Archive >
void Serialize (Archive *a)
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 Deterministic (const Deterministic &)=default
 
Deterministicoperator= (const Deterministic &)=default
 
 Deterministic (Deterministic &&)=default
 
Deterministicoperator= (Deterministic &&)=default
 
- Public Member Functions inherited from Distribution
virtual ~Distribution ()
 

Public Attributes

double value {}
 

Additional Inherited Members

- Protected Member Functions inherited from Distribution
 Distribution ()
 
 Distribution (const Distribution &)=default
 
Distributionoperator= (const Distribution &)=default
 
 Distribution (Distribution &&)=default
 
Distributionoperator= (Distribution &&)=default
 

Constructor & Destructor Documentation

◆ Deterministic() [1/4]

Deterministic ( const Deterministic )
default

◆ Deterministic() [2/4]

Deterministic ( Deterministic &&  )
default

◆ Deterministic() [3/4]

◆ Deterministic() [4/4]

Deterministic ( double  value)
explicit

◆ ~Deterministic()

~Deterministic ( )
final

Member Function Documentation

◆ Mean()

double Mean ( ) const
finalvirtual

Implements Distribution.

◆ operator=() [1/2]

Deterministic& operator= ( const Deterministic )
default

◆ operator=() [2/2]

Deterministic& operator= ( Deterministic &&  )
default

◆ Sample()

double Sample ( drake::RandomGenerator ) const
finalvirtual

Implements Distribution.

◆ Serialize()

void Serialize ( Archive *  a)

◆ ToSymbolic()

drake::symbolic::Expression ToSymbolic ( ) const
finalvirtual

Implements Distribution.

Member Data Documentation

◆ value

double value {}

The documentation for this class was generated from the following file: