Uses of Class
org.logicng.solvers.datastructures.MSClause
-
Packages that use MSClause Package Description org.logicng.knowledgecompilation.dnnf org.logicng.solvers.datastructures org.logicng.solvers.sat -
-
Uses of MSClause in org.logicng.knowledgecompilation.dnnf
Methods in org.logicng.knowledgecompilation.dnnf with parameters of type MSClause Modifier and Type Method Description protected voidDnnfMiniSatStyleSolver. handleConflict(MSClause conflict)protected voidDnnfMiniSatStyleSolver. uncheckedEnqueue(int lit, MSClause reason) -
Uses of MSClause in org.logicng.solvers.datastructures
Fields in org.logicng.solvers.datastructures with type parameters of type MSClause Modifier and Type Field Description static Comparator<MSClause>MSClause. glucoseComparatorA comparator for clauses based on LBD and activity (used for the Glucose solver).static Comparator<MSClause>MSClause. minisatComparatorA comparator for clauses based on activity (used for the MiniSAT solver).Methods in org.logicng.solvers.datastructures that return MSClause Modifier and Type Method Description MSClauseMSWatcher. clause()Returns the watched clause of this watcher.MSClauseMSVariable. reason()Returns the reason for this variable.Methods in org.logicng.solvers.datastructures with parameters of type MSClause Modifier and Type Method Description voidMSVariable. setReason(MSClause reason)Sets the reason for this variable.Constructors in org.logicng.solvers.datastructures with parameters of type MSClause Constructor Description MSWatcher(MSClause clause, int blocker)Constructs a new watcher. -
Uses of MSClause in org.logicng.solvers.sat
Fields in org.logicng.solvers.sat with type parameters of type MSClause Modifier and Type Field Description protected LNGVector<MSClause>MiniSatStyleSolver. clausesprotected LNGVector<MSClause>MiniSatStyleSolver. learntsMethods in org.logicng.solvers.sat that return MSClause Modifier and Type Method Description protected MSClauseGlucoseSyrup. propagate()protected MSClauseMiniCard. propagate()protected MSClauseMiniSat2Solver. propagate()protected abstract MSClauseMiniSatStyleSolver. propagate()Performs unit propagation.Methods in org.logicng.solvers.sat that return types with arguments of type MSClause Modifier and Type Method Description LNGVector<MSClause>MiniSatStyleSolver. clauses()Returns the clauses loaded on the solver.Methods in org.logicng.solvers.sat with parameters of type MSClause Modifier and Type Method Description protected voidGlucoseSyrup. analyze(MSClause conflictClause, LNGIntVector outLearnt, LNGIntVector selectors)Analyzes a given conflict clause wrt.protected voidMiniCard. analyze(MSClause conflictClause, LNGIntVector outLearnt)Analyzes a given conflict clause wrt.protected voidMiniSat2Solver. analyze(MSClause conflictClause, LNGIntVector outLearnt)Analyzes a given conflict clause wrt.protected voidGlucoseSyrup. attachClause(MSClause c)protected voidMiniCard. attachClause(MSClause c)protected voidMiniSat2Solver. attachClause(MSClause c)protected abstract voidMiniSatStyleSolver. attachClause(MSClause c)Attaches a given clause to the solver (i.e.protected voidMiniSatStyleSolver. claBumpActivity(MSClause c)Bumps the activity of the given clause.protected longGlucoseSyrup. computeLBD(MSClause c)Computes the LBD for a given clauseprotected voidMiniCard. detachAtMost(MSClause c)Detaches a given at-most clause.protected voidGlucoseSyrup. detachClause(MSClause c)protected voidMiniCard. detachClause(MSClause c)protected voidMiniSat2Solver. detachClause(MSClause c)protected abstract voidMiniSatStyleSolver. detachClause(MSClause c)Detaches a given clause (e.g.protected intMiniCard. findNewWatch(MSClause c, int p)protected booleanMiniSatStyleSolver. isUnit(int lit, MSClause clause)Tests the given literal whether it is unit in the given clause.protected booleanMiniSatStyleSolver. locked(MSClause c)Returnstrueif the given clause is locked and therefore cannot be removed,falseotherwise.protected voidGlucoseSyrup. removeClause(MSClause c)protected voidMiniCard. removeClause(MSClause c)protected voidMiniSat2Solver. removeClause(MSClause c)protected abstract voidMiniSatStyleSolver. removeClause(MSClause c)Removes a given clause.protected booleanGlucoseSyrup. satisfied(MSClause c)protected booleanMiniCard. satisfied(MSClause c)protected booleanMiniSat2Solver. satisfied(MSClause c)protected abstract booleanMiniSatStyleSolver. satisfied(MSClause c)Returnstrueif a given clause is satisfied under the current assignment,falseotherwise.protected voidMiniCard. simpleRemoveClause(MSClause c)Performs a simple removal of clauses used during the loading of an older state.protected voidMiniSat2Solver. simpleRemoveClause(MSClause c)Performs a simple removal of clauses used during the loading of an older state.protected voidGlucoseSyrup. uncheckedEnqueue(int lit, MSClause reason)protected voidMiniCard. uncheckedEnqueue(int lit, MSClause reason)protected voidMiniSat2Solver. uncheckedEnqueue(int lit, MSClause reason)protected abstract voidMiniSatStyleSolver. uncheckedEnqueue(int lit, MSClause reason)Assigns a literal (= a variable to the respective value).Method parameters in org.logicng.solvers.sat with type arguments of type MSClause Modifier and Type Method Description protected voidGlucoseSyrup. removeSatisfied(LNGVector<MSClause> cs)protected voidMiniCard. removeSatisfied(LNGVector<MSClause> cs)protected voidMiniSat2Solver. removeSatisfied(LNGVector<MSClause> cs)protected abstract voidMiniSatStyleSolver. removeSatisfied(LNGVector<MSClause> cs)Removes all clauses which are satisfied under the current assignment of a set of clauses.
-