wmpy.core.utils.LiteralNormalizer¶
- class LiteralNormalizer(env)[source]¶
Bases:
objectA helper class for normalizing literals. This class is useful whenever literals involving algebraic atoms are manipulated by an external procedure, such as an SMT-based enumerator.
Methods
Maps back a normalized atom into the original ones (multiple literals might map into the same normalized literal).
Normalizes 'literal', possibly storing original formula in the alias dictionary.
- known_aliases(literal)[source]¶
Maps back a normalized atom into the original ones (multiple literals might map into the same normalized literal).