idp_server.State¶
Management of the State of problem solving with the Interactive Consultant.
-
class
idp_server.State.
State
(idp: idp_engine.Parse.IDP)[source]¶ Contains a state of problem solving
-
idp_server.State.
make_state
(idp: idp_engine.Parse.IDP, jsonstr: str) → idp_server.State.State[source]¶ Manages the cache of States.
- Parameters
idp – IDP code parsed into IDP object
jsonstr – the user’s assignments in json
- Returns
the complete state of the system
- Return type