|
||||||||
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.DiscreteFunctionNode
COM.hugin.HAPI.LabelledDFNode
public class LabelledDFNode
Labelled discrete function node.
Constructor Summary | |
---|---|
LabelledDFNode(DiscreteFunctionNode node)
Constructs a new LabelledDFNode object corresponding to the given DiscreteFunctionNode object node . |
|
LabelledDFNode(NetworkModel belongsTo)
Constructs a new LabelledDFNode. |
Method Summary | |
---|---|
void |
reorderStates(java.lang.String[] order)
Reorders the list of states of this node. |
Methods inherited from class COM.hugin.HAPI.DiscreteFunctionNode |
---|
getCategory |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabelledDFNode(NetworkModel belongsTo) throws ExceptionHugin
ExceptionHugin
public LabelledDFNode(DiscreteFunctionNode node) throws ExceptionHugin
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.
ExceptionHugin
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 |