Uses of Class
org.logicng.datastructures.Assignment
-
-
Uses of Assignment in org.logicng.formulas
Methods in org.logicng.formulas with parameters of type Assignment Modifier and Type Method Description booleanAnd. evaluate(Assignment assignment)booleanCFalse. evaluate(Assignment assignment)booleanCTrue. evaluate(Assignment assignment)booleanEquivalence. evaluate(Assignment assignment)abstract booleanFormula. evaluate(Assignment assignment)Evaluates this formula with a given assignment.booleanImplication. evaluate(Assignment assignment)booleanLiteral. evaluate(Assignment assignment)booleanNot. evaluate(Assignment assignment)booleanOr. evaluate(Assignment assignment)booleanPBConstraint. evaluate(Assignment assignment)FormulaConstant. restrict(Assignment assignment)FormulaEquivalence. restrict(Assignment assignment)abstract FormulaFormula. restrict(Assignment assignment)Restricts this formula with a given assignment.FormulaImplication. restrict(Assignment assignment)FormulaLiteral. restrict(Assignment assignment)FormulaNAryOperator. restrict(Assignment assignment)FormulaNot. restrict(Assignment assignment)FormulaPBConstraint. restrict(Assignment assignment) -
Uses of Assignment in org.logicng.handlers
Methods in org.logicng.handlers that return Assignment Modifier and Type Method Description AssignmentTimeoutOptimizationHandler. getIntermediateResult()Returns the latest intermediate result of the optimization ornullif no such result was yet computed.Methods in org.logicng.handlers with parameters of type Assignment Modifier and Type Method Description booleanMaxSATHandler. foundLowerBound(int lowerBound, Assignment model)This method is called when the MaxSAT solver found a new lower bound for a solution.booleanTimeoutMaxSATHandler. foundLowerBound(int lowerBound, Assignment model)booleanModelEnumerationHandler. foundModel(Assignment assignment)This method is called every time a model is found.booleanNumberOfModelsHandler. foundModel(Assignment assignment)booleanTimeoutModelEnumerationHandler. foundModel(Assignment assignment)booleanMaxSATHandler. foundUpperBound(int upperBound, Assignment model)This method is called when the MaxSAT solver found a new upper bound for a solution.booleanTimeoutMaxSATHandler. foundUpperBound(int upperBound, Assignment model)Method parameters in org.logicng.handlers with type arguments of type Assignment Modifier and Type Method Description default booleanOptimizationHandler. foundBetterBound(Supplier<Assignment> currentResultProvider)This method is called when the solver found a better bound for the optimization.booleanTimeoutOptimizationHandler. foundBetterBound(Supplier<Assignment> lastModelProvider) -
Uses of Assignment in org.logicng.knowledgecompilation.bdds
Methods in org.logicng.knowledgecompilation.bdds that return Assignment Modifier and Type Method Description AssignmentBDD. fullModel()Returns a full model of this BDD ornullif there is none.AssignmentBDD. model()Returns an arbitrary model of this BDD ornullif there is none.AssignmentBDD. model(boolean defaultValue, Collection<Variable> variables)Returns an arbitrary model of this BDD which contains at least the given variables ornullif there is none.AssignmentBDD. model(boolean defaultValue, Variable... variables)Returns an arbitrary model of this BDD which contains at least the given variables ornullif there is none.Methods in org.logicng.knowledgecompilation.bdds that return types with arguments of type Assignment Modifier and Type Method Description List<Assignment>BDD. enumerateAllModels()Enumerates all models of this BDD.List<Assignment>BDD. enumerateAllModels(Collection<Variable> variables)Enumerates all models of this BDD wrt.List<Assignment>BDD. enumerateAllModels(Variable... variables)Enumerates all models of this BDD wrt. -
Uses of Assignment in org.logicng.knowledgecompilation.bdds.functions
Methods in org.logicng.knowledgecompilation.bdds.functions that return types with arguments of type Assignment Modifier and Type Method Description List<Assignment>BDDModelEnumerationFunction. apply(BDD bdd) -
Uses of Assignment in org.logicng.solvers
Methods in org.logicng.solvers that return Assignment Modifier and Type Method Description protected AssignmentMaxSATSolver. createAssignment(LNGBooleanVector vec)Creates an assignment from a Boolean vector of the solver.AssignmentMiniSat. createAssignment(LNGBooleanVector vec, LNGIntVector relevantIndices)Creates an assignment from a Boolean vector of the solver.AssignmentMiniSat. createAssignment(LNGBooleanVector vec, LNGIntVector relevantIndices, boolean fastEvaluable)Creates an assignment from a Boolean vector of the solver.AssignmentMaxSATSolver. model()Returns the model of the current result.AssignmentMiniSat. model(Collection<Variable> variables)AssignmentSATSolver. model()Returns a model of the current formula on the solver.abstract AssignmentSATSolver. model(Collection<Variable> variables)Returns a model of the current formula on the solver wrt.AssignmentSATSolver. model(Variable[] variables)Returns a model of the current formula on the solver wrt.Methods in org.logicng.solvers that return types with arguments of type Assignment Modifier and Type Method Description List<Assignment>SATSolver. enumerateAllModels()Enumerates all models of the current formula.List<Assignment>SATSolver. enumerateAllModels(Collection<Variable> variables)Enumerates all models of the current formula wrt.List<Assignment>SATSolver. enumerateAllModels(Variable... variables)Enumerates all models of the current formula wrt. -
Uses of Assignment in org.logicng.solvers.functions
Methods in org.logicng.solvers.functions that return Assignment Modifier and Type Method Description AssignmentOptimizationFunction. apply(MiniSat solver, Consumer<Tristate> resultSetter)Methods in org.logicng.solvers.functions that return types with arguments of type Assignment Modifier and Type Method Description List<Assignment>ModelEnumerationFunction. apply(MiniSat solver, Consumer<Tristate> resultSetter) -
Uses of Assignment in org.logicng.transformations.qmc
Method parameters in org.logicng.transformations.qmc with type arguments of type Assignment Modifier and Type Method Description static FormulaQuineMcCluskeyAlgorithm. compute(List<Assignment> models, FormulaFactory f)Computes a minimized DNF for a given set of models.
-