State
- class unified_planning.model.State[source]
Bases:
ABCThis is an abstract class representing a classical State
- abstract get_value(value: FNode) FNode[source]
This method retrieves the value in the state. NOTE that the searched value must be set in the state otherwise an exception is raised.
- Parameters:
value – The value searched for in the state.
- Returns:
The set value.
- Raises:
UPStateMissingFluentError – If the fluent is not present in the state.