Package com.bayesserver.causal
Class DisjunctiveCauseSetNode
- java.lang.Object
-
- com.bayesserver.causal.DisjunctiveCauseSetNode
-
- All Implemented Interfaces:
NodeSetItem
public final class DisjunctiveCauseSetNode extends Object implements NodeSetItem
Represents a node in a set used by the Disjunctive Cause Criterion algorithm.
-
-
Constructor Summary
Constructors Constructor Description DisjunctiveCauseSetNode(Node node)Initializes a new instance of theDisjunctiveCauseSetNodeclass.DisjunctiveCauseSetNode(Node node, Integer time)Initializes a new instance of theDisjunctiveCauseSetNodeclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodegetNode()Gets the node.IntegergetTime()Gets the node time, for temporal nodes.
-
-
-
Constructor Detail
-
DisjunctiveCauseSetNode
public DisjunctiveCauseSetNode(Node node)
Initializes a new instance of theDisjunctiveCauseSetNodeclass.- Parameters:
node- The node in the set.
-
DisjunctiveCauseSetNode
public DisjunctiveCauseSetNode(Node node, Integer time)
Initializes a new instance of theDisjunctiveCauseSetNodeclass.- Parameters:
node- The node in the set.time- The zero based time for temporal nodes.
-
-
Method Detail
-
getNode
public Node getNode()
Gets the node.- Specified by:
getNodein interfaceNodeSetItem
-
getTime
public Integer getTime()
Gets the node time, for temporal nodes.- Specified by:
getTimein interfaceNodeSetItem
-
-