Class NativeLingelingSolver

    • Field Detail

      • DEFAULT_WIN_LIB

        private static final java.io.File DEFAULT_WIN_LIB
    • 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 long init()
      • release

        private void release​(long lgl)
      • add

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

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

        private boolean sat​(long lgl)
      • deref

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

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

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

        private boolean inconsistent​(long lgl)
      • changed

        private boolean changed​(long lgl)
      • reduceCache

        private void reduceCache​(long lgl)
      • flushCache

        private void flushCache​(long lgl)
      • freeze

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

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

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

        private void meltAll​(long lgl)
      • usable

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

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

        private void reuse​(long lgl,
                           int lit)