S - the type of formulaspublic abstract class AbstractMusEnumerator<S extends net.sf.tweety.commons.Formula> extends Object implements MusEnumerator<S>
| Constructor and Description |
|---|
AbstractMusEnumerator() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Collection<S>> |
getMiComponents(Collection<S> formulas)
Computes the maximal (wrt.
|
boolean |
isConsistent(net.sf.tweety.commons.BeliefSet<S> beliefSet)
Checks whether the given belief base is consistent.
|
boolean |
isConsistent(Collection<S> formulas)
Checks whether the given collection of formulas is consistent.
|
boolean |
isConsistent(S formula)
Checks whether the given formula is consistent.
|
Collection<Collection<S>> |
maximalConsistentSubsets(Collection<S> formulas)
This method returns the maximal consistent subsets of the given
set of formulas
|
Set<Set<S>> |
minimalCorrectionSubsets(Collection<S> formulas)
This method returns the minimal correction subsets of the given
set of formulas (i.e.
|
abstract Collection<Collection<S>> |
minimalInconsistentSubsets(Collection<S> formulas)
This method returns the minimal inconsistent subsets of the given
set of formulas.
|
public abstract Collection<Collection<S>> minimalInconsistentSubsets(Collection<S> formulas)
MusEnumeratorminimalInconsistentSubsets in interface MusEnumerator<S extends net.sf.tweety.commons.Formula>formulas - a set of formulas.public Set<Set<S>> minimalCorrectionSubsets(Collection<S> formulas)
MusEnumeratorminimalCorrectionSubsets in interface MusEnumerator<S extends net.sf.tweety.commons.Formula>formulas - a set of formulaspublic Collection<Collection<S>> maximalConsistentSubsets(Collection<S> formulas)
MusEnumeratormaximalConsistentSubsets in interface MusEnumerator<S extends net.sf.tweety.commons.Formula>formulas - a set of formulaspublic boolean isConsistent(net.sf.tweety.commons.BeliefSet<S> beliefSet)
ConsistencyTesterisConsistent in interface BeliefSetConsistencyTester<S extends net.sf.tweety.commons.Formula>isConsistent in interface ConsistencyTester<net.sf.tweety.commons.BeliefSet<S extends net.sf.tweety.commons.Formula>>isConsistent in interface MusEnumerator<S extends net.sf.tweety.commons.Formula>beliefSet - a belief base.public boolean isConsistent(S formula)
BeliefSetConsistencyTesterisConsistent in interface BeliefSetConsistencyTester<S extends net.sf.tweety.commons.Formula>isConsistent in interface MusEnumerator<S extends net.sf.tweety.commons.Formula>formula - a formulas.public boolean isConsistent(Collection<S> formulas)
BeliefSetConsistencyTesterisConsistent in interface BeliefSetConsistencyTester<S extends net.sf.tweety.commons.Formula>isConsistent in interface MusEnumerator<S extends net.sf.tweety.commons.Formula>formulas - a collection of formulas.public Collection<Collection<S>> getMiComponents(Collection<S> formulas)
MusEnumeratorgetMiComponents in interface MusEnumerator<S extends net.sf.tweety.commons.Formula>formulas - a set of formulas KCopyright © 2018. All rights reserved.