Class CausalNode
Represents a reference to any node in a Causal model, for example a treatment (X), an outcome (Y), an unobserved node (U).
Inherited Members
Namespace: BayesServer.Causal
Assembly: BayesServer.Causal.dll
Syntax
public sealed class CausalNode
Constructors
CausalNode(Node)
Initializes a new instance of the BayesServer.Causal.Inference.CausalNode class.
Declaration
public CausalNode(Node node)
Parameters
| Type | Name | Description |
|---|---|---|
| Node | node | The node in a Bayesian network. |
CausalNode(Node, Nullable<Int32>)
Initializes a new instance of the BayesServer.Causal.Inference.CausalNode class.
Declaration
public CausalNode(Node node, int? time)
Parameters
| Type | Name | Description |
|---|---|---|
| Node | node | The node in a Bayesian network. |
| Nullable<Int32> | time | Optional time, required when a node is temporal. |
Properties
Node
Gets the Bayesian network node.
Declaration
public Node Node { get; }
Property Value
| Type | Description |
|---|---|
| Node |
Time
Gets the optional time, required for temporal nodes.
Declaration
public int? Time { get; }
Property Value
| Type | Description |
|---|---|
| Nullable<Int32> |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | obj |
Returns
| Type | Description |
|---|---|
| Boolean |
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 |
Overrides
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String |