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 theFrontDoorSetNode
class.FrontDoorSetNode(Node node, Integer time)
Initializes a new instance of theFrontDoorSetNode
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
getNode()
Gets the node.Integer
getTime()
Gets the node time, for temporal nodes.
-
-
-
Constructor Detail
-
FrontDoorSetNode
public FrontDoorSetNode(Node node)
Initializes a new instance of theFrontDoorSetNode
class.- Parameters:
node
- The front-door node.
-
FrontDoorSetNode
public FrontDoorSetNode(Node node, Integer time)
Initializes a new instance of theFrontDoorSetNode
class.- 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:
getNode
in interfaceNodeSetItem
-
getTime
public Integer getTime()
Gets the node time, for temporal nodes.- Specified by:
getTime
in interfaceNodeSetItem
-
-