Package com.bayesserver.causal
Class FrontDoorSetNode
- java.lang.Object
-
- com.bayesserver.causal.FrontDoorSetNode
-
- All Implemented Interfaces:
NodeSetItem
public final class FrontDoorSetNode extends Object implements NodeSetItem
Represents a front-door node used by the front-door adjustment, and can be identified by the front-door criterion.
-
-
Constructor Summary
Constructors Constructor Description FrontDoorSetNode(Node node)Initializes a new instance of theFrontDoorSetNodeclass.FrontDoorSetNode(Node node, Integer time)Initializes a new instance of theFrontDoorSetNodeclass.
-
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
-
FrontDoorSetNode
public FrontDoorSetNode(Node node)
Initializes a new instance of theFrontDoorSetNodeclass.- Parameters:
node- The front-door node.
-
FrontDoorSetNode
public FrontDoorSetNode(Node node, Integer time)
Initializes a new instance of theFrontDoorSetNodeclass.- Parameters:
node- The front-door node.time- The associated time when the node is temporal.
-
-
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
-
-