#include <plProbTable.h>
Inheritance diagram for plProbTable:
Public Member Functions | |
plProbTable (const plVariablesConjunction &V, bool normalized=true) | |
Constructor1: Constructs an empty probability table on the variable (s) {V}. You should set normalized to true iff you want plProbTable represents probability distributions i.e. | |
plProbTable (const plVariablesConjunction &V, const plProbValue *values, bool normalized=true) | |
Constructor2: Constructs a probability table on the variable (s) {V} and fills it using the values contained in the C array {values}. | |
plProbTable (const plVariablesConjunction &V, const vector< plProbValue > &values, bool normalized=true) | |
Constructor3: Constructs a probability table on the variable (s) {V} and fills it using the values contained in the STL vector {values}. |
This includes both the one-dimensional case and the multi-dimensional case.
Definition at line 41 of file plProbTable.h.
|
Constructor1: Constructs an empty probability table on the variable (s) {V}.
normalized table of numbers. |
|
Constructor2: Constructs a probability table on the variable (s) {V} and fills it using the values contained in the C array {values}.
You should set normalized to true iff you want plProbTable represents probability distributions i.e. normalized table of numbers.
In multi-dimentional cases ({H = H1^H2}), where {H1} and {H2} can take n1 and n2 values respectively, it constructs the probability table on P(H) using the values {values} as follows:
|
|
Constructor3: Constructs a probability table on the variable (s) {V} and fills it using the values contained in the STL vector {values}. Same as Constructor2 for multi dimensional cases. |