DictModel.update_state()

DictModel.update_state()#

DictModel.update_state(position, model_state)#

Updates and returns a model state given a position.

Parameters:
  • position (NewType(Position, dict[str, Any])) – A dictionary of variable or node names and values.

  • model_state (Any) – An dictionary of variable or node names and values.

Return type:

Any