Class ConjunctiveNormalForm<V>


  • public class ConjunctiveNormalForm<V>
    extends Object
    • Field Detail

      • clauses

        public final com.google.common.primitives.ImmutableIntArray clauses
        Clause-representation of the formula. Variables are from the range [1,n], where n is bounded by -Integer.MIN_VALUE. Positive literals are encoded as [1,n] and negated literals as [-1,-n]. 0 is used as a separator between clauses. Example: -1 -2 0 1 2 0 2 3 0 ...
      • variableMapping

        public final com.google.common.collect.ImmutableBiMap<V,​Integer> variableMapping
      • tsetinVariablesLowerBound

        public final int tsetinVariablesLowerBound
      • tsetinVariablesUpperBound

        public final int tsetinVariablesUpperBound
    • Constructor Detail

      • ConjunctiveNormalForm

        public ConjunctiveNormalForm​(PropositionalFormula<V> formula)
        Construct an equisatisfiable CNF-representation of the given formula.
        Parameters:
        formula - the formula.