Module logicng

Interface FormulaPredicate

    • Method Detail

      • test

        boolean test​(Formula formula,
                     boolean cache)
        Tests the predicate on a given formula.
        Parameters:
        formula - the input formula
        cache - indicates whether the result should be cached in the formula's cache
        Returns:
        true if the formula holds, false otherwise