- java.lang.Object
-
- org.logicng.solvers.maxsat.algorithms.MaxSAT
-
- org.logicng.solvers.maxsat.algorithms.OLL
-
public class OLL extends MaxSAT
OLL Solver.Based on "Unsatisfiability-based optimization in clasp*" by Andres, Kaufmann, Matheis, and Schaub.
- Since:
- 2.4.0
- Version:
- 2.4.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.logicng.solvers.maxsat.algorithms.MaxSAT
MaxSAT.MaxSATResult, MaxSAT.ProblemType, MaxSAT.Stats
-
-
Constructor Summary
Constructors Constructor Description OLL()Constructs a new solver with default values.OLL(MaxSATConfig config)Constructs a new solver with a given configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaxSAT.MaxSATResultsearch()The main MaxSAT solving method.StringtoString()-
Methods inherited from class org.logicng.solvers.maxsat.algorithms.MaxSAT
addHardClause, addSoftClause, addSoftClause, computeCostModel, currentWeight, isBMO, model, newLiteral, newSATSolver, newSATVariable, newVar, nHard, nSoft, nVars, result, saveModel, search, searchSATSolver, searchSATSolver, setCurrentWeight, setProblemType, stats, updateSumWeights
-
-
-
-
Constructor Detail
-
OLL
public OLL()
Constructs a new solver with default values.
-
OLL
public OLL(MaxSATConfig config)
Constructs a new solver with a given configuration.- Parameters:
config- the configuration
-
-