Class NativeLingelingSolver

    • Constructor Detail

      • NativeLingelingSolver

        public NativeLingelingSolver()
    • Method Detail

      • isSatisfiable

        public boolean isSatisfiable​(java.util.Collection<PlFormula> formulas)
        Description copied from class: SatSolver
        Checks whether the given set of formulas is satisfiable.
        Specified by:
        isSatisfiable in class SatSolver
        Parameters:
        formulas - a set of formulas.
        Returns:
        "true" if the set is consistent.
      • addClause

        private void addClause​(long lgl,
                               int[] clause)
      • init

        private static long init()
      • release

        private static void release​(long lgl)
      • add

        private static void add​(long lgl,
                                int lit)
      • assume

        private static void assume​(long lgl,
                                   int lit)
      • sat

        private static boolean sat​(long lgl)
      • deref

        private static boolean deref​(long lgl,
                                     int lit)
      • fixed

        private static boolean fixed​(long lgl,
                                     int lit)
      • failed

        private static boolean failed​(long lgl,
                                      int lit)
      • inconsistent

        private static boolean inconsistent​(long lgl)
      • changed

        private static boolean changed​(long lgl)
      • reduceCache

        private static void reduceCache​(long lgl)
      • flushCache

        private static void flushCache​(long lgl)
      • freeze

        private static void freeze​(long lgl,
                                   int lit)
      • frozen

        private static boolean frozen​(long lgl,
                                      int lit)
      • melt

        private static void melt​(long lgl,
                                 int lit)
      • meltAll

        private static void meltAll​(long lgl)
      • usable

        private static boolean usable​(long lgl,
                                      int lit)
      • reusable

        private static boolean reusable​(long lgl,
                                        int lit)
      • reuse

        private static void reuse​(long lgl,
                                  int lit)