Euphoria
eu::core::markov::ProbabilityBuilder< T > Struct Template Reference

#include <markov.h>

Public Member Functions

void add (const T &t)
 
Probability< T > build () const
 

Public Attributes

int total = 0
 
std::map< T, int > data
 

Detailed Description

template<typename T>
struct eu::core::markov::ProbabilityBuilder< T >

Definition at line 56 of file markov.h.

Member Function Documentation

◆ add()

template<typename T >
void eu::core::markov::ProbabilityBuilder< T >::add ( const T &  t)
inline

Definition at line 62 of file markov.h.

◆ build()

template<typename T >
Probability<T> eu::core::markov::ProbabilityBuilder< T >::build ( ) const
inline

Definition at line 78 of file markov.h.

Member Data Documentation

◆ data

template<typename T >
std::map<T, int> eu::core::markov::ProbabilityBuilder< T >::data

Definition at line 59 of file markov.h.

◆ total

template<typename T >
int eu::core::markov::ProbabilityBuilder< T >::total = 0

Definition at line 58 of file markov.h.


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