Interval discrete decision node. More...
Public Member Functions | |
| IntervalDDNode * | clone () const |
| Clone this IntervalDDNode object. | |
| Index | getStateIndex (double value) const |
| Return the index of the state (interval) matching the specified value. | |
| double | getStateValue (size_t state) const |
| Return the value associated with state. | |
| IntervalDDNode (NetworkModel *nm) | |
| Create a new IntervalDDNode in the given NetworkModel. | |
| void | setStateValue (size_t state, double value) |
| Set the value associated with state. | |
Interval discrete decision node.
Each state of an IntervalDDNode represents an interval.
| IntervalDDNode* HAPI::IntervalDDNode::clone | ( | ) | const [virtual] |
Clone this IntervalDDNode object.
Implements HAPI::Node.
| Index HAPI::IntervalDDNode::getStateIndex | ( | double | value | ) | const |
Return the index of the state (interval) matching the specified value.
If there is no interval containing the specified value, -1 is returned.
| value | an interval containing this value will be searched for |