Module logicng

Class CNFFactorization

    • Constructor Detail

      • CNFFactorization

        public CNFFactorization()
        Constructor for a CNF Factorization without a factorization handler.
      • CNFFactorization

        public CNFFactorization​(FactorizationHandler handler)
        Constructor for a CNF 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