XorState

XorState#

class glue.core.subset.XorState(state1, state2=None)[source]#

Bases: CompositeSubsetState

An ‘exclusive or’ logical combination of subset states.

The two states can be accessed using the attributes state1 and state2.

Methods Summary

op(a, b, /)

Same as a ^ b.

Methods Documentation

op(a, b, /)#

Same as a ^ b.