class Model A Model is a compact description of a table
A Model is a compact description of a table. A model consists of a list of discrete nodes and a set of expressions (one expresion per configuration of states in the nodes.
When generating the conditional probability table for a
node with interval nodes as parents, a number of values
are taken within each bounded interval of an interval
parent. By default, the interval is divided into 25
subintervals, and the midpoints of these subintervals are
then used in the computation of the value of the child.
Model(UtilityNode *belongsToNode, const NodeList& modelNodes) throw(HAPI::ExceptionHugin)
virtual ~Model()
Expression* getExpression(int index) throw(HAPI::ExceptionHugin)
NodeList getNodes() throw(HAPI::ExceptionHugin)
void setExpression(int index, Expression *newExpr) throw(HAPI::ExceptionHugin)
int size() throw(HAPI::ExceptionHugin)
void setNumberOfSamplesPerInterval( int count ) throw(HAPI::ExceptionHugin)
int getNumberOfSamplesPerInterval( ) throw(HAPI::ExceptionHugin)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de