Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

HAPI::IntervalDDNode Class Reference

Inheritance diagram for HAPI::IntervalDDNode:

HAPI::DiscreteDecisionNode HAPI::Node List of all members.

Detailed Description

Interval discrete decision node.

Each state of an IntervalDDNode represents an interval.


Public Member Functions

 IntervalDDNode (Domain *dom)
 Create a new IntervalDDNode in the given Domain.

 IntervalDDNode (Class *cls)
 Create a new IntervalDDNode in the given Class.

double getStateValue (size_t state) const
 Return the value associated with state.

void setNumberOfStates (size_t states)
 Set the number of states in this node.

void setStateValue (size_t state, double value)
 Set the value associated with state.


Member Function Documentation

double HAPI::IntervalDDNode::getStateValue size_t  state  )  const
 

Return the value associated with state.

Parameters:
state size_t

void HAPI::IntervalDDNode::setNumberOfStates size_t  states  ) 
 

Set the number of states in this node.

The corresponding domain will be uncompiled.

Parameters:
states size_t

void HAPI::IntervalDDNode::setStateValue size_t  state,
double  value
 

Set the value associated with state.

Parameters:
state size_t
value double


Copyright Hugin Expert A/S 1993-2004