Struct StateContext
Identifies a State and contextual information such as the time (zero based).
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: BayesServer
Assembly: BayesServer.dll
Syntax
public struct StateContext
Constructors
StateContext(State, Nullable<Int32>)
Initializes a new instance of StateContext.
Declaration
public StateContext(State state, int? time)
Parameters
Type | Name | Description |
---|---|---|
State | state | The State. |
System.Nullable<System.Int32> | time | The associated time if the state belongs to a temporal node, or null otherwise. |
Properties
State
Gets the State.
Declaration
public State State { get; }
Property Value
Type | Description |
---|---|
State |
Time
Gets the zero based time associated with the state if the state belongs to a temporal node, or null otherwise.
Declaration
public int? Time { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |