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 planning user_type associated to this Object.

The Object class is immutable.

property name: str

Returns the Object name.

property type: Type

Returns the Object Type.

property environment: Environment

Return the Object Environment

Equals(right)[source]