- java.lang.Object
-
- org.logicng.explanations.mus.MUSGeneration
-
public final class MUSGeneration extends Object
Computes a minimal unsatisfiable subset (MUS) of a given formula with different algorithms.- Since:
- 1.1
- Version:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description MUSGeneration()Constructs a new MUS generator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Proposition>
UNSATCore<T>computeMUS(List<T> propositions, FormulaFactory f)Computes a MUS for the given propositions with the default algorithm and the MUS configuration from the formula factory.<T extends Proposition>
UNSATCore<T>computeMUS(List<T> propositions, FormulaFactory f, MUSConfig config)Computes a MUS for the given propositions and the given configuration of the MUS generation.StringtoString()
-
-
-
Method Detail
-
computeMUS
public <T extends Proposition> UNSATCore<T> computeMUS(List<T> propositions, FormulaFactory f)
Computes a MUS for the given propositions with the default algorithm and the MUS configuration from the formula factory.- Type Parameters:
T- the type of the MUSes propositions- Parameters:
propositions- the propositionsf- the formula factory- Returns:
- the MUS
-
computeMUS
public <T extends Proposition> UNSATCore<T> computeMUS(List<T> propositions, FormulaFactory f, MUSConfig config)
Computes a MUS for the given propositions and the given configuration of the MUS generation.- Type Parameters:
T- the type of the MUSes propositions- Parameters:
propositions- the propositionsf- the formula factoryconfig- the MUS configuration- Returns:
- the MUS
-
-