13#include <NeMachineLearningLib.h>
18 namespace MachineLearning
63 void Add(
double value);
73 void Set(
double value,
int index);
84 double Get(
int index);
87 std::vector<double> vP;
It is simply a std::vector with an interface designed for dealing with probability mass functions....
Potential()
Default constructor.
void Add(double value)
Adds a potential value.
void Set(double value, int index)
Sets a potential value at given index.
double Get(int index)
Gets a potential value using the given index.