Class NaiveMusEnumerator<S extends Formula>
java.lang.Object
org.tweetyproject.logics.commons.analysis.AbstractMusEnumerator<S>
org.tweetyproject.logics.commons.analysis.NaiveMusEnumerator<S>
- Type Parameters:
S- The type of formulas.
- All Implemented Interfaces:
BeliefSetConsistencyTester<S>,ConsistencyTester<BeliefSet<S,,?>> MusEnumerator<S>
A simple approach to compute minimal inconsistent subsets and maximal
consistent subsets by exhaustive search.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new naive MusEnumerator that uses the given consistency tester. -
Method Summary
Modifier and TypeMethodDescriptionbooleanminimalInconsistentSubsets(Collection<S> beliefSet) This method returns the minimal inconsistent subsets of the given set of formulas.Methods inherited from class org.tweetyproject.logics.commons.analysis.AbstractMusEnumerator
getMiComponents, isConsistent, isConsistent, isConsistent, maximalConsistentSubsets, minimalCorrectionSubsets
-
Constructor Details
-
NaiveMusEnumerator
Creates a new naive MusEnumerator that uses the given consistency tester.- Parameters:
tester- some consistency tester
-
-
Method Details
-
minimalInconsistentSubsets
Description copied from interface:MusEnumeratorThis method returns the minimal inconsistent subsets of the given set of formulas.- Specified by:
minimalInconsistentSubsetsin interfaceMusEnumerator<S extends Formula>- Specified by:
minimalInconsistentSubsetsin classAbstractMusEnumerator<S extends Formula>- Parameters:
beliefSet- 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
-