DictInterface.update_state()

DictInterface.update_state()#

DictInterface.update_state(position, model_state)[source]#

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