Module logicng

Class DNFFactorization

    • Constructor Detail

      • DNFFactorization

        public DNFFactorization()
        Constructor for a DNF Factorization without a factorization handler.
      • DNFFactorization

        public DNFFactorization​(FactorizationHandler handler)
        Constructor for a DNF Factorization with a given factorization handler.
        Parameters:
        handler - the handler
    • Method Detail

      • apply

        public Formula apply​(Formula formula,
                             boolean cache)
        Description copied from interface: FormulaTransformation
        Returns the transformed formula.
        Specified by:
        apply in interface FormulaTransformation
        Parameters:
        formula - the input formula
        cache - indicated whether the result (and associated predicates) should be cached in the formula's cache.
        Returns:
        the transformed formula