concepts.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

Report whether another set contains this set.

issuperset

Report whether this set contains another set.

symmetric_difference

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

union

Return the union of sets as a new set.