Package com.bayesserver.causal
Class CausalNode
- java.lang.Object
-
- com.bayesserver.causal.CausalNode
-
public final class CausalNode extends Object
Represents a reference to any node in a Causal model, for example a treatment (X), an outcome (Y), an unobserved node (U).
-
-
Constructor Summary
Constructors Constructor Description CausalNode(Node node)
Initializes a new instance of theCausalNode
class.CausalNode(Node node, Integer time)
Initializes a new instance of theCausalNode
class.
-
-
-
Constructor Detail
-
CausalNode
public CausalNode(Node node)
Initializes a new instance of theCausalNode
class.- Parameters:
node
- The node in a Bayesian network.
-
CausalNode
public CausalNode(Node node, Integer time)
Initializes a new instance of theCausalNode
class.- Parameters:
node
- The node in a Bayesian network.time
- Optional time, required when a node is temporal.
-
-