![]() |
Fleet
0.0.9
Inference in the LOT
|
This stores a distribution from values of T to log probabilities. It is used as the return value from calls with randomness. More...
#include <map>
#include <vector>
#include <algorithm>
#include <iostream>
#include <assert.h>
#include <memory>
#include "Miscellaneous.h"
#include "Numerics.h"
#include "IO.h"
#include "Strings.h"
Go to the source code of this file.
Classes | |
class | DiscreteDistribution< T > |
Functions | |
template<typename T > | |
std::ostream & | operator<< (std::ostream &o, const DiscreteDistribution< T > &x) |
template<typename T > | |
std::string | str (const DiscreteDistribution< T > &a) |
This stores a distribution from values of T to log probabilities. It is used as the return value from calls with randomness.
std::ostream& operator<< | ( | std::ostream & | o, |
const DiscreteDistribution< T > & | x | ||
) |
std::string str | ( | const DiscreteDistribution< T > & | a | ) |