XorState

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

Bases: glue.core.subset.CompositeSubsetState

An ‘exclusive or’ logical combination of subset states.

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

Methods Summary

op()

xor(a, b) – Same as a ^ b.

Methods Documentation

op()

xor(a, b) – Same as a ^ b.