Used to represent conditional probability distributions, joint probability distributions and more general potentials, over a number of discrete variables.

Namespace:  BayesServer
Assembly:  BayesServer (in BayesServer.dll)
Version: 2.2.0.0 (2.2.0.0)

Syntax

C#
public sealed class Table : IDistribution
Visual Basic (Declaration)
Public NotInheritable Class Table _
	Implements IDistribution
Visual C++
public ref class Table sealed : IDistribution

Remarks

The variables in a Table are automatically sorted by time (if any) and Index. This is for computational reasons.

The Table class stores it's values in a zero based 1-dimensional array, and the right most variable's states toggle fastest. For example if a Table contains 3 binary variables {A,B,C} all with states {T,F} the table layout would be as follows.

ABCIndex
TTT0
TTF1
TFT2
TFF3
FTT4
FTF5
FFT6
FFF7
If a different variable ordering is required see the TableIterator and TableAccessor classes.

Inheritance Hierarchy

System..::.Object
  BayesServer..::.Table

See Also