concepts.dm.pdsketch.strips.strips_expression.SState#

class SState[source]#

Bases: frozenset, FrozenSet[str]

The representation of a STRIPS state, which is a set of propositions.

Methods

copy

Return a shallow copy of a set.

difference

Return the difference of two or more sets as a new set.

intersection

Return the intersection of two sets as a new set.

isdisjoint

Return True if two sets have a null intersection.

issubset(other, /)

Test whether every element in the set is in other.

issuperset(other, /)

Test whether every element in other is in the set.

symmetric_difference

Return the symmetric difference of two sets as a new set.

union

Return the union of sets as a new set.