Skip to main content

Simulate Actions

@validate_call
def simulate_actions(actions: dict,
fixed: dict = \{\},
interval: float = 0.9,
observation_noise: bool = False) -> dict

Simulate an action on the model.

Arguments:

  • actions dict - A dictionary representing the actions.
  • fixed dict - A dictionary representing the fixed nodes.
  • interval float - The interval at which to simulate the action.
  • observation_noise bool - Whether to include observation noise.

Returns:

  • dict - A dictionary representing the result of the action.

Example:

model.simulate_actions( ... {"x": [0, 1]} ... )