Module logicng

Class NNFTransformation

    • Method Detail

      • get

        public static NNFTransformation get()
        Returns the singleton of this transformation.
        Returns:
        the transformation instance
      • 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