- java.lang.Object
-
- org.logicng.explanations.UNSATCore<T>
-
- Type Parameters:
T- the type of the core's propositions
public final class UNSATCore<T extends Proposition> extends Object
An unsatisfiable core (can be a minimal unsatisfiable sub-formula).- Since:
- 1.1
- Version:
- 1.3
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()booleanisMUS()Returnstrueif this core is a MUS andfalseif it is unknown whether it is a MUS.List<T>propositions()Returns the propositions of this MUS.StringtoString()
-
-
-
Method Detail
-
propositions
public List<T> propositions()
Returns the propositions of this MUS.- Returns:
- the propositions of this MUS
-
isMUS
public boolean isMUS()
Returnstrueif this core is a MUS andfalseif it is unknown whether it is a MUS. Note, if set tofalsethis core might be a MUS, but it is not yet verified.- Returns:
trueif this core is a MUS andfalseif it is unknown whether it is a MUS.
-
-