habitat.tasks.rearrange.multi_task.rearrange_pddl.ExprType class

Hierarchical type in the PDDL system. The user can define custom types and the types in SimulatorObjectType are automatically defined.


def is_subtype_of(self, other_type: ExprType) -> bool
If true, then self is compatible with other_type but other_type is NOT necessarily compatible with self. In other words, other_type is higher on the hierarchy of sub-types than self.

Special methods

def __init__(self, name: str, parent: typing.Optional[ExprType])
def __repr__(self)