Uses of Class
org.logicng.collections.LNGIntVector
-
-
Uses of LNGIntVector in org.logicng.collections
Constructors in org.logicng.collections with parameters of type LNGIntVector Constructor Description LNGIntVector(LNGIntVector other)Copy constructor. -
Uses of LNGIntVector in org.logicng.explanations.drup
Methods in org.logicng.explanations.drup that return types with arguments of type LNGIntVector Modifier and Type Method Description LNGVector<LNGIntVector>DRUPTrim.DRUPResult. unsatCore()Returns the unsat core of the formula.Method parameters in org.logicng.explanations.drup with type arguments of type LNGIntVector Modifier and Type Method Description DRUPTrim.DRUPResultDRUPTrim. compute(LNGVector<LNGIntVector> originalProblem, LNGVector<LNGIntVector> proof)Computes the DRUP result for a given problem in terms of original clauses and the generated proof. -
Uses of LNGIntVector in org.logicng.knowledgecompilation.dnnf
Fields in org.logicng.knowledgecompilation.dnnf declared as LNGIntVector Modifier and Type Field Description protected LNGIntVectorDnnfMiniSatStyleSolver. lastLearntMethods in org.logicng.knowledgecompilation.dnnf that return LNGIntVector Modifier and Type Method Description protected LNGIntVectorDnnfMiniSatStyleSolver. generateClauseVector(Collection<Literal> literals) -
Uses of LNGIntVector in org.logicng.knowledgecompilation.dnnf.datastructures.dtree
Fields in org.logicng.knowledgecompilation.dnnf.datastructures.dtree with type parameters of type LNGIntVector Modifier and Type Field Description protected List<LNGIntVector>MinFillDTreeGenerator.Graph. edgeListThe edges of the graph as a list of edges per node ({{2,3},{1},{1}} means that there are the edges 1-2 and 1-3)Methods in org.logicng.knowledgecompilation.dnnf.datastructures.dtree that return types with arguments of type LNGIntVector Modifier and Type Method Description protected List<LNGIntVector>MinFillDTreeGenerator.Graph. getCopyOfEdgeList() -
Uses of LNGIntVector in org.logicng.pseudobooleans
Methods in org.logicng.pseudobooleans with parameters of type LNGIntVector Modifier and Type Method Description List<Formula>PBAdderNetworks. encode(LNGVector<Literal> lits, LNGIntVector coeffs, int rhs, List<Formula> formula)List<Formula>PBBinaryMerge. encode(LNGVector<Literal> lts, LNGIntVector cffs, int rhs, List<Formula> formula)List<Formula>PBEncoding. encode(LNGVector<Literal> lits, LNGIntVector coeffs, int rhs, List<Formula> result)Encodes a pseudo-Boolean constraint and returns its CNF encoding.List<Formula>PBSWC. encode(LNGVector<Literal> lits, LNGIntVector coeffs, int rhs, List<Formula> result) -
Uses of LNGIntVector in org.logicng.solvers
Fields in org.logicng.solvers declared as LNGIntVector Modifier and Type Field Description protected LNGIntVectorMiniSat. validStatesMethods in org.logicng.solvers that return LNGIntVector Modifier and Type Method Description protected LNGIntVectorMiniSat. generateClauseVector(Collection<? extends Literal> literals)Generates a clause vector of a collection of literals.Methods in org.logicng.solvers with parameters of type LNGIntVector Modifier and Type Method Description 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. -
Uses of LNGIntVector in org.logicng.solvers.datastructures
Methods in org.logicng.solvers.datastructures that return LNGIntVector Modifier and Type Method Description LNGIntVectorMSHardClause. clause()Returns the clause of this hard clause.LNGIntVectorMSSoftClause. clause()Returns the clause of this soft clause.LNGIntVectorMSSoftClause. relaxationVars()Returns the relaxation variables of this soft clause.Methods in org.logicng.solvers.datastructures with parameters of type LNGIntVector Modifier and Type Method Description voidLNGHeap. build(LNGIntVector ns)Rebuilds the heap from a given vector of elements.Constructors in org.logicng.solvers.datastructures with parameters of type LNGIntVector Constructor Description MSClause(LNGIntVector ps, boolean learnt)Constructs a new clauseMSClause(LNGIntVector ps, boolean learnt, boolean isAtMost)Constructs a new clauseMSHardClause(LNGIntVector clause)Constructs a new hard clause.MSSoftClause(LNGIntVector clause, int weight, int assumptionVar, LNGIntVector relaxationVars)Constructs a new soft clause. -
Uses of LNGIntVector in org.logicng.solvers.maxsat.algorithms
Fields in org.logicng.solvers.maxsat.algorithms declared as LNGIntVector Modifier and Type Field Description protected LNGIntVectorWBO. assumptionsprotected LNGIntVectorWMSU3. assumptionsprotected LNGIntVectorLinearSU. coeffsprotected LNGIntVectorWMSU3. coeffsprotected LNGIntVectorWBO. indexSoftCoreprotected LNGIntVectorLinearSU. objFunctionprotected LNGIntVectorLinearUS. objFunctionprotected LNGIntVectorMSU3. objFunctionprotected LNGIntVectorWMSU3. objFunctionFields in org.logicng.solvers.maxsat.algorithms with type parameters of type LNGIntVector Modifier and Type Field Description protected LNGVector<LNGIntVector>WBO. relaxationMappingprotected LNGVector<LNGIntVector>WBO. softMappingMethods in org.logicng.solvers.maxsat.algorithms with parameters of type LNGIntVector Modifier and Type Method Description voidMaxSAT. addHardClause(LNGIntVector lits)Adds a new hard clause to the hard clause database.voidMaxSAT. addSoftClause(int weight, LNGIntVector lits)Adds a new soft clause to the soft clause database.voidMaxSAT. addSoftClause(int weight, LNGIntVector lits, LNGIntVector vars)Adds a new soft clause to the soft clause database with predefined relaxation variables.protected voidWBO. encodeEO(LNGIntVector lits)protected MiniSatStyleSolverLinearSU. rebuildBMO(LNGVector<LNGIntVector> functions, LNGIntVector rhs, int currentWeight)Rebuilds a SAT solver with the current MaxSAT formulaprotected voidIncWBO. relaxCore(LNGIntVector conflict, int weightCore)protected voidWBO. relaxCore(LNGIntVector conflict, int weightCore, LNGIntVector assumps)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.protected static booleanWMSU3. subsetSum(LNGIntVector set, int sum)Method parameters in org.logicng.solvers.maxsat.algorithms with type arguments of type LNGIntVector Modifier and Type Method Description protected MiniSatStyleSolverLinearSU. rebuildBMO(LNGVector<LNGIntVector> functions, LNGIntVector rhs, int currentWeight)Rebuilds a SAT solver with the current MaxSAT formula -
Uses of LNGIntVector in org.logicng.solvers.maxsat.encodings
Fields in org.logicng.solvers.maxsat.encodings declared as LNGIntVector Modifier and Type Field Description protected LNGIntVectorModularTotalizer. cardinalityInlitsprotected LNGIntVectorTotalizer. cardinalityInlitsprotected LNGIntVectorModularTotalizer. cardinalityLwoutlitsprotected LNGIntVectorTotalizer. cardinalityOutlitsprotected LNGIntVectorModularTotalizer. cardinalityUpoutlitsprotected LNGIntVectorEncoding. clauseprotected LNGIntVectorSequentialWeightCounter. coeffsIncprotected LNGIntVectorSequentialWeightCounter. litsIncprotected LNGIntVectorSequentialWeightCounter. pbOutlitsprotected LNGIntVectorTotalizer. totalizerIterativeRhsprotected LNGIntVectorSequentialWeightCounter. unitCoeffsprotected LNGIntVectorSequentialWeightCounter. unitLitsFields in org.logicng.solvers.maxsat.encodings with type parameters of type LNGIntVector Modifier and Type Field Description protected LNGVector<LNGIntVector>SequentialWeightCounter. seqAuxiliaryIncprotected LNGVector<LNGIntVector>Totalizer. totalizerIterativeLeftprotected LNGVector<LNGIntVector>Totalizer. totalizerIterativeOutputprotected LNGVector<LNGIntVector>Totalizer. totalizerIterativeRightMethods in org.logicng.solvers.maxsat.encodings that return LNGIntVector Modifier and Type Method Description LNGIntVectorEncoder. lits()Returns the totalizer's literals.LNGIntVectorTotalizer. lits()Returns the totalizer's literals.LNGIntVectorEncoder. outputs()Returns the totalizer's output literals.LNGIntVectorTotalizer. outputs()Returns the totalizer's output literals.Methods in org.logicng.solvers.maxsat.encodings with parameters of type LNGIntVector Modifier and Type Method Description protected voidModularTotalizer. adder(MiniSatStyleSolver s, int mod, LNGIntVector upper, LNGIntVector lower, LNGIntVector lupper, LNGIntVector llower, LNGIntVector rupper, LNGIntVector rlower)protected voidTotalizer. adder(MiniSatStyleSolver s, LNGIntVector left, LNGIntVector right, LNGIntVector output)voidTotalizer. build(MiniSatStyleSolver s, LNGIntVector lits, int rhs)Builds the cardinality constraint.voidEncoder. buildCardinality(MiniSatStyleSolver s, LNGIntVector lits, int rhs)Manages the building of cardinality encodings.voidLadder. encode(MiniSatStyleSolver s, LNGIntVector lits)Encodes and adds the AMO constraint to the given solver.voidModularTotalizer. encode(MiniSatStyleSolver s, LNGIntVector lits, int rhs)Encodes a cardinality constraint.voidSequentialWeightCounter. encode(MiniSatStyleSolver s, LNGIntVector lits, LNGIntVector coeffs, int rhs)Encodes the pseudo-Boolean constraintvoidSequentialWeightCounter. encode(MiniSatStyleSolver s, LNGIntVector lits, LNGIntVector coeffs, int rhs, LNGIntVector assumptions, int size)Incremental construction of the SWC encoding.voidEncoder. encodeAMO(MiniSatStyleSolver s, LNGIntVector lits)Encodes an AMO constraint in the given solver.voidEncoder. encodeCardinality(MiniSatStyleSolver s, LNGIntVector lits, int rhs)Encodes a cardinality constraint in the given solver.voidEncoder. encodePB(MiniSatStyleSolver s, LNGIntVector lits, LNGIntVector coeffs, int rhs)Encodes a pseudo-Boolean constraint.voidEncoder. incEncodePB(MiniSatStyleSolver s, LNGIntVector lits, LNGIntVector coeffs, int rhs, LNGIntVector assumptions, int size)Incrementally encodes a pseudo-Boolean constraint.voidEncoder. incUpdateCardinality(MiniSatStyleSolver s, LNGIntVector join, LNGIntVector lits, int rhs, LNGIntVector assumptions)Manages the incremental update of cardinality constraints.voidEncoder. incUpdatePB(MiniSatStyleSolver s, LNGIntVector lits, LNGIntVector coeffs, int rhs)Manages the incremental update of pseudo-Boolean encodings.voidEncoder. incUpdatePBAssumptions(LNGIntVector assumptions)Manages the incremental update of assumptions.protected voidModularTotalizer. toCNF(MiniSatStyleSolver s, int mod, LNGIntVector ublits, LNGIntVector lwlits, int rhs)protected voidTotalizer. toCNF(MiniSatStyleSolver s, LNGIntVector lits)voidTotalizer. update(MiniSatStyleSolver s, int rhs, LNGIntVector assumptions)Updates the right-hand side of a constraint. -
Uses of LNGIntVector in org.logicng.solvers.sat
Fields in org.logicng.solvers.sat declared as LNGIntVector Modifier and Type Field Description protected LNGIntVectorMiniSatStyleSolver. analyzeStackprotected LNGIntVectorMiniSatStyleSolver. analyzeToClearprotected LNGIntVectorMiniSatStyleSolver. assumptionsprotected LNGIntVectorMiniSatStyleSolver. backboneAssumptionsprotected LNGIntVectorMiniSatStyleSolver.ProofInformation. clauseprotected LNGIntVectorMiniSatStyleSolver. conflictprotected LNGIntVectorGlucoseSyrup. lastDecisionLevelprotected LNGIntVectorGlucoseSyrup. permDiffprotected LNGIntVectorMiniSatStyleSolver. selectionOrderprotected LNGIntVectorMiniSatStyleSolver. trailprotected LNGIntVectorMiniSatStyleSolver. trailLimprotected LNGIntVectorMiniCard. unitClausesprotected LNGIntVectorMiniSat2Solver. unitClausesFields in org.logicng.solvers.sat with type parameters of type LNGIntVector Modifier and Type Field Description protected LNGVector<LNGIntVector>MiniSatStyleSolver. pgProofMethods in org.logicng.solvers.sat that return LNGIntVector Modifier and Type Method Description LNGIntVectorMiniSatStyleSolver.ProofInformation. clause()Returns the clause.LNGIntVectorMiniSatStyleSolver. conflict()Returns the current conflict of the solver or an empty vector if there is none.LNGIntVectorMiniSatStyleSolver. upZeroLiterals()Returns the unit propagated literals on level zero.Methods in org.logicng.solvers.sat that return types with arguments of type LNGIntVector Modifier and Type Method Description LNGVector<LNGIntVector>MiniSatStyleSolver. pgProof()Returns the proof clauses for proof generation.Methods in org.logicng.solvers.sat with parameters of type LNGIntVector Modifier and Type Method Description booleanMiniCard. addAtMost(LNGIntVector ps, int rhs)Adds an at-most k constraint.booleanGlucoseSyrup. addClause(LNGIntVector ps, Proposition proposition)booleanMiniCard. addClause(LNGIntVector ps, Proposition proposition)booleanMiniSat2Solver. addClause(LNGIntVector ps, Proposition proposition)abstract booleanMiniSatStyleSolver. addClause(LNGIntVector ps, Proposition proposition)Adds a clause to the solver.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. analyzeFinal(int p, LNGIntVector outConflict)protected voidMiniCard. analyzeFinal(int p, LNGIntVector outConflict)protected voidMiniSat2Solver. analyzeFinal(int p, LNGIntVector outConflict)protected abstract voidMiniSatStyleSolver. analyzeFinal(int p, LNGIntVector outConflict)Analysis the final conflict if there were assumptions.protected longGlucoseSyrup. computeLBD(LNGIntVector lits, int e)Computes the LBD for a given vector of literals.protected voidGlucoseSyrup. minimisationWithBinaryResolution(LNGIntVector outLearnt)A special clause minimization by binary resolution for small clauses.protected voidGlucoseSyrup. simplifyClause(LNGIntVector outLearnt, LNGIntVector selectors)Minimizes a given learnt clause depending on the minimization method of the solver configuration.protected voidMiniCard. simplifyClause(LNGIntVector outLearnt)Minimizes a given learnt clause depending on the minimization method of the solver configuration.protected voidMiniSat2Solver. simplifyClause(LNGIntVector outLearnt)Minimizes a given learnt clause depending on the minimization method of the solver configuration.TristateMiniSatStyleSolver. solve(SATHandler handler, LNGIntVector assumptions)Solves the formula currently stored in the solver together with the given assumption literals.Constructors in org.logicng.solvers.sat with parameters of type LNGIntVector Constructor Description ProofInformation(LNGIntVector clause, Proposition proposition)Constructor.
-