scenario_simulator_v2 C++ API
Public Member Functions | Public Attributes | List of all members
openscenario_interpreter::syntax::PoissonDistribution Struct Reference

#include <poisson_distribution.hpp>

Inheritance diagram for openscenario_interpreter::syntax::PoissonDistribution:
Inheritance graph
[legend]
Collaboration diagram for openscenario_interpreter::syntax::PoissonDistribution:
Collaboration graph
[legend]

Public Member Functions

 PoissonDistribution (const pugi::xml_node &, Scope &scope)
 
auto evaluate () -> Object
 
- Public Member Functions inherited from openscenario_interpreter::Pointer< Expression >
decltype(auto) rebind (Ts &&... xs)
 
decltype(auto) binding () const
 
auto type () const -> const std::type_info &
 
auto is () const -> bool
 
auto is_also () const
 
auto as () const -> U &
 
decltype(auto) evaluate (Ts &&... xs) const
 
decltype(auto) accomplished (Ts &&... xs) const
 
decltype(auto) description (Ts &&... xs) const
 

Public Attributes

const Range range
 
const Double expected_value
 
std::poisson_distribution distribute
 
std::mt19937 random_engine
 

Additional Inherited Members

- Static Public Member Functions inherited from openscenario_interpreter::Pointer< Expression >
static Pointer bind (Ts &&... xs)
 

Constructor & Destructor Documentation

◆ PoissonDistribution()

openscenario_interpreter::syntax::PoissonDistribution::PoissonDistribution ( const pugi::xml_node &  node,
openscenario_interpreter::Scope scope 
)
explicit

Member Function Documentation

◆ evaluate()

auto openscenario_interpreter::syntax::PoissonDistribution::evaluate ( ) -> Object

Member Data Documentation

◆ distribute

std::poisson_distribution openscenario_interpreter::syntax::PoissonDistribution::distribute

◆ expected_value

const Double openscenario_interpreter::syntax::PoissonDistribution::expected_value

◆ random_engine

std::mt19937 openscenario_interpreter::syntax::PoissonDistribution::random_engine

◆ range

const Range openscenario_interpreter::syntax::PoissonDistribution::range

The documentation for this struct was generated from the following files: