Object
- class unified_planning.model.Object(name: str, typename: Type, environment: Environment | None = None)[source]
Bases:
object
Represents an Object of the unified_planning library.
An Object contains 2 parts:
name: a string containing the Object’s
name
.type: a
Type
representing the planninguser_type
associated to this Object.
The Object class is immutable.
- property name: str
Returns the Object name.
- property environment: Environment
Return the Object Environment