Package org.tweetyproject.logics.pl.sat
Class MarcoMusEnumerator
java.lang.Object
org.tweetyproject.logics.commons.analysis.AbstractMusEnumerator<PlFormula>
org.tweetyproject.logics.pl.sat.PlMusEnumerator
org.tweetyproject.logics.pl.sat.MarcoMusEnumerator
- All Implemented Interfaces:
BeliefSetConsistencyTester<PlFormula>
,ConsistencyTester<BeliefSet<PlFormula,
,?>> MusEnumerator<PlFormula>
Implements a MUs enumerator based on MARCO (http://sun.iwu.edu/~mliffito/marco/). Tested
with version 1.0.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
minimalInconsistentSubsets
(Collection<PlFormula> formulas) This method returns the minimal inconsistent subsets of the given set of formulas.Methods inherited from class org.tweetyproject.logics.pl.sat.PlMusEnumerator
convertToDimacsAndIndex, getDefaultEnumerator, hasDefaultEnumerator, setDefaultEnumerator
Methods inherited from class org.tweetyproject.logics.commons.analysis.AbstractMusEnumerator
getMiComponents, isConsistent, isConsistent, isConsistent, maximalConsistentSubsets, minimalCorrectionSubsets
-
Constructor Details
-
MarcoMusEnumerator
Creates a new MUs enumerator.- Parameters:
pathToMarco
- the path to the MARCO executable.
-
-
Method Details
-
minimalInconsistentSubsets
Description copied from interface:MusEnumerator
This method returns the minimal inconsistent subsets of the given set of formulas.- Specified by:
minimalInconsistentSubsets
in interfaceMusEnumerator<PlFormula>
- Specified by:
minimalInconsistentSubsets
in classPlMusEnumerator
- Parameters:
formulas
- a set of formulas.- Returns:
- the minimal inconsistent subsets of the given set of formulas
-
isInstalled
public boolean isInstalled()- Returns:
- whether the consistency measure is installed
-