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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanminimalInconsistentSubsets(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, setDefaultEnumeratorMethods 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:MusEnumeratorThis method returns the minimal inconsistent subsets of the given set of formulas.- Specified by:
minimalInconsistentSubsetsin interfaceMusEnumerator<PlFormula>- Specified by:
minimalInconsistentSubsetsin 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
-