Used to represent conditional probability distributions, joint probability distributions and more general potentials, over a number of discrete variables.
Namespace:
BayesServerAssembly: 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.
If a different variable ordering is required see the TableIterator and TableAccessor classes.
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.
| A | B | C | Index |
|---|---|---|---|
| T | T | T | 0 |
| T | T | F | 1 |
| T | F | T | 2 |
| T | F | F | 3 |
| F | T | T | 4 |
| F | T | F | 5 |
| F | F | T | 6 |
| F | F | F | 7 |
Inheritance Hierarchy
System..::.Object
BayesServer..::.Table
BayesServer..::.Table
