Class sdm::Distribution

template <typename T>

Class List > sdm > Distribution

  • #include <distribution.hpp>

Inherits the following classes: std::enable_shared_from_this< Distribution< T > >

Inherited by the following classes: sdm::DiscreteDistribution

Public Functions

Type Name
virtual double getProbability (const T & begin, const T & end) const = 0
virtual T sample () const = 0

Public Functions Documentation

function getProbability

virtual double sdm::Distribution::getProbability (
    const T & begin,
    const T & end
) const = 0

function sample

virtual T sdm::Distribution::sample () const = 0

The documentation for this class was generated from the following file src/sdm/core/distribution.hpp