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 SummaryConstructorsConstructorDescriptionCreates a new naive MusEnumerator that uses the given consistency tester.
- 
Method SummaryModifier 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.AbstractMusEnumeratorgetMiComponents, isConsistent, isConsistent, isConsistent, maximalConsistentSubsets, minimalCorrectionSubsets
- 
Constructor Details- 
NaiveMusEnumeratorCreates a new naive MusEnumerator that uses the given consistency tester.- Parameters:
- tester- some consistency tester
 
 
- 
- 
Method Details- 
minimalInconsistentSubsetsDescription copied from interface:MusEnumeratorThis method returns the minimal inconsistent subsets of the given set of formulas.- Specified by:
- minimalInconsistentSubsetsin interface- MusEnumerator<S extends Formula>
- Specified by:
- minimalInconsistentSubsetsin class- AbstractMusEnumerator<S extends Formula>
- Parameters:
- beliefSet- a set of formulas.
- Returns:
- the minimal inconsistent subsets of the given set of formulas
 
- 
isInstalledpublic boolean isInstalled()- Returns:
- whether the consistency measure is installed
 
 
-