Uses of Interface
org.logicng.handlers.SATHandler
-
-
Uses of SATHandler in org.logicng.backbones
Methods in org.logicng.backbones with parameters of type SATHandler Modifier and Type Method Description static BackboneBackboneGeneration. compute(Collection<Formula> formulas, Collection<Variable> variables, BackboneType type, SATHandler handler)Computes the backbone for a given collection of formulas w.r.t. -
Uses of SATHandler in org.logicng.explanations.mus
Methods in org.logicng.explanations.mus with parameters of type SATHandler Modifier and Type Method Description MUSConfig.BuilderMUSConfig.Builder. handler(SATHandler handler)Sets the SAT handler for the MUS generation. -
Uses of SATHandler in org.logicng.handlers
Classes in org.logicng.handlers that implement SATHandler Modifier and Type Class Description classTimeoutSATHandlerA SAT handler which cancels the solving process after a given timeout.Methods in org.logicng.handlers that return SATHandler Modifier and Type Method Description SATHandlerMaxSATHandler. satHandler()Returns a SAT handler which can be used to cancel internal SAT calls of the MaxSAT solver.SATHandlerModelEnumerationHandler. satHandler()Returns a SAT handler which can be used to cancel internal SAT calls of the model enumeration process.SATHandlerNumberOfModelsHandler. satHandler()SATHandlerOptimizationHandler. satHandler()Returns a SAT handler which can be used to cancel internal SAT calls of the optimization function.static SATHandlerOptimizationHandler. satHandler(OptimizationHandler handler)Returns a SAT handler if the optimization handler is notnull.SATHandlerTimeoutMaxSATHandler. satHandler()Returns a SAT handler which can be used to cancel internal SAT calls of the model enumeration process.SATHandlerTimeoutModelEnumerationHandler. satHandler()Returns a SAT handler which can be used to cancel internal SAT calls of the model enumeration process.SATHandlerTimeoutOptimizationHandler. satHandler()Returns a SAT handler which can be used to cancel internal SAT calls of the model enumeration process.Methods in org.logicng.handlers with parameters of type SATHandler Modifier and Type Method Description static voidSATHandler. finishSolving(SATHandler handler)Null-safe helper method to callfinishedSolving()on a handler. -
Uses of SATHandler in org.logicng.primecomputation
Methods in org.logicng.primecomputation with parameters of type SATHandler Modifier and Type Method Description SortedSet<Literal>NaivePrimeReduction. reduceImplicant(SortedSet<Literal> implicant, SATHandler handler)Computes a prime implicant from the given implicant for the given formula.SortedSet<Literal>NaivePrimeReduction. reduceImplicate(SortedSet<Literal> implicate, SATHandler handler)Computes a prime implicate from the given implicate for the given formula. -
Uses of SATHandler in org.logicng.solvers
Methods in org.logicng.solvers with parameters of type SATHandler Modifier and Type Method Description TristateMiniSat. sat(SATHandler handler)TristateMiniSat. sat(SATHandler handler, Collection<? extends Literal> assumptions)TristateMiniSat. sat(SATHandler handler, Literal literal)abstract TristateSATSolver. sat(SATHandler handler)ReturnsTristate.TRUEif the current formula in the solver is satisfiable, @{code Tristate.FALSE} if it is unsatisfiable, orUNDEFif the solving process was aborted.abstract TristateSATSolver. sat(SATHandler handler, Collection<? extends Literal> assumptions)ReturnsTristate.TRUEif the current formula in the solver and a given collection of assumed literals are satisfiable,Tristate.FALSEif it is unsatisfiable, orUNDEFif the solving process was aborted.abstract TristateSATSolver. sat(SATHandler handler, Literal literal)ReturnsTristate.TRUEif the current formula in the solver and a given literal are satisfiable,Tristate.FALSEif it is unsatisfiable, orUNDEFif the solving process was aborted.TristateSATSolver. satWithSelectionOrder(List<? extends Literal> selectionOrder, SATHandler handler, Collection<? extends Literal> assumptions)Solves the formula on the solver with a given selection order, a given SAT handler and a list of additional assumptions. -
Uses of SATHandler in org.logicng.solvers.functions
Methods in org.logicng.solvers.functions with parameters of type SATHandler Modifier and Type Method Description BackboneFunction.BuilderBackboneFunction.Builder. handler(SATHandler handler)Sets the SAT handler for this function. -
Uses of SATHandler in org.logicng.solvers.maxsat.algorithms
Methods in org.logicng.solvers.maxsat.algorithms with parameters of type SATHandler Modifier and Type Method Description static TristateMaxSAT. searchSATSolver(MiniSatStyleSolver s, SATHandler satHandler)Solves the formula without assumptions.static TristateMaxSAT. searchSATSolver(MiniSatStyleSolver s, SATHandler satHandler, LNGIntVector assumptions)Solves the formula that is currently loaded in the SAT solver with a set of assumptions. -
Uses of SATHandler in org.logicng.solvers.sat
Fields in org.logicng.solvers.sat declared as SATHandler Modifier and Type Field Description protected SATHandlerMiniSatStyleSolver. handlerMethods in org.logicng.solvers.sat with parameters of type SATHandler Modifier and Type Method Description BackboneMiniSatStyleSolver. computeBackbone(Collection<Variable> variables, BackboneType type, SATHandler handler)Computes the backbone of the given variables with respect to the formulas added to the solver.protected voidMiniSatStyleSolver. computeBackbone(List<Integer> variables, BackboneType type, SATHandler handler)Computes the backbone for the given variables.TristateGlucoseSyrup. solve(SATHandler handler)TristateMiniCard. solve(SATHandler handler)TristateMiniSat2Solver. solve(SATHandler handler)abstract TristateMiniSatStyleSolver. solve(SATHandler handler)Solves the formula currently stored in the solver.TristateMiniSatStyleSolver. solve(SATHandler handler, LNGIntVector assumptions)Solves the formula currently stored in the solver together with the given assumption literals.protected booleanMiniSatStyleSolver. solveWithLit(int lit, SATHandler handler)Tests the given literal with the formula on the solver for satisfiability.
-