|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCOM.hugin.HAPI.Node
COM.hugin.HAPI.DiscreteNode
COM.hugin.HAPI.DiscreteDecisionNode
COM.hugin.HAPI.LabelledDDNode
Labelled discrete decision node. This is the kind of DiscreteDecisionNode most oftenly used.
Constructor Summary | |
LabelledDDNode(DiscreteNode node)
Constructs a new LabelledDDNode object corresponding to the given DiscreteNode object node . |
|
LabelledDDNode(NetworkModel belongsTo)
Constructs a new LabelledDDNode. |
Method Summary | |
void |
reorderStates(java.lang.String[] order)
Reorders the list of states of this node. |
Methods inherited from class COM.hugin.HAPI.DiscreteDecisionNode |
getCategory, getRequisiteAncestors, getRequisiteParents |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LabelledDDNode(NetworkModel belongsTo) throws ExceptionHugin
public LabelledDDNode(DiscreteNode node) throws ExceptionHugin
node
.
(node
must be a chance or a decision node.) The
new object will be identical to node
(that is,
same parents, same table, etc.) except for its type.
As a side-effect, the object node
dies (that
is, becomes "not-alive"). Moreover, all (output and temporal)
clones associated with node
also die.
Method Detail |
public void reorderStates(java.lang.String[] order) throws ExceptionHugin
order
list must contain the state labels of this
node in the desired order.
In addition to reordering the state labels of this node, the contents of all tables and models containing this node, and case data associated with this node, are updated to match the new ordering of the states.
The states of this node must be uniquely labeled.
order
- the new order (which must be a permutation of the
current order) of the state labels of this node.
ExceptionHugin
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |