A potential is a function from the state space of a set of variables into the set of real numbers. A Table is a representation of a potential.
Public Member Functions | |
~Table () throw () | |
Release the memory resources used by the application-owned Table object. | |
double | getCovariance (size_t config, ContinuousChanceNode *node1, ContinuousChanceNode *node2) const |
Return the covariance of the conditional distribution. | |
NumberList | getData () const |
Retrieve a vector holding the actual discrete data. | |
double | getMean (size_t config, ContinuousChanceNode *node) const |
Return the mean value of the conditional probability distribution. | |
NodeList | getNodes () const |
Retrieve a NodeList containing pointers to the nodes associated with this table. | |
size_t | getSize () const |
Return the size of this table. | |
double | getVariance (size_t config, ContinuousChanceNode *node) const |
Return the variance of the conditional probability distribution. | |
void | reorderNodes (const NodeList &order) |
Reorder the node list of this table to follow the order of the members in the NodeList. | |
void | setData (const NumberList &data) |
Set the table data to be a copy of the parameter. |
|
Return the covariance of the conditional distribution. The covariance of the conditional distribution of the continuous nodes node1 and node2 given the discrete state configuration config.
|
|
Retrieve a vector holding the actual discrete data. This vector is a one-dimensional (row-major) representation of the multi-dimensional array.
|
|
Return the mean value of the conditional probability distribution. The mean value of the conditional probability distribution of the continuous chance node node given the discrete state configuration config is returned.
|
|
Retrieve a NodeList containing pointers to the nodes associated with this table.
|
|
Return the size of this table.
|
|
Return the variance of the conditional probability distribution. The variance of the conditional probability of the continuous node node given the discrete state configuration config.
|
|
Reorder the node list of this table to follow the order of the members in the NodeList. order must be a permutation of the node list of this table.
|
|
Set the table data to be a copy of the parameter.
|