Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StateContext

Identifies a {@link com.bayesserver.State} and contextual information such as the time (zero based).

Hierarchy

  • StateContext

Index

Constructors

Accessors

Constructors

constructor

  • Initializes a new instance of {@link com.bayesserver.StateContext}.

    Parameters

    • state: State

      The State.

    • time: number | null

      The associated time if the state belongs to a temporal node, or null otherwise.

    Returns StateContext

Accessors

state

  • Gets the State.

    Returns State

time

  • get time(): number | null
  • Gets the zero based time associated with the state if the state belongs to a temporal node, or null otherwise.

    Returns number | null