Class EtaInconsistencyMeasure<B extends net.sf.tweety.commons.BeliefBase,S extends net.sf.tweety.commons.Formula>
- java.lang.Object
-
- net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<S>
-
- net.sf.tweety.logics.commons.analysis.EtaInconsistencyMeasure<B,S>
-
- Type Parameters:
B- the type of belief basesS- The type of formula
- All Implemented Interfaces:
net.sf.tweety.commons.postulates.PostulateEvaluatable<S>,InconsistencyMeasure<net.sf.tweety.commons.BeliefSet<S,?>>
public class EtaInconsistencyMeasure<B extends net.sf.tweety.commons.BeliefBase,S extends net.sf.tweety.commons.Formula> extends BeliefSetInconsistencyMeasure<S>
This class implements the Eta-inconsistency measure, cf. [Knight, 2002].- Author:
- Matthias Thimm
-
-
Field Summary
-
Fields inherited from interface net.sf.tweety.logics.commons.analysis.InconsistencyMeasure
MEASURE_TOLERANCE
-
-
Constructor Summary
Constructors Constructor Description EtaInconsistencyMeasure(net.sf.tweety.commons.InterpretationIterator<S,B,? extends net.sf.tweety.commons.Interpretation<B,S>> it)Creates a new inconsistency measure that uses the interpretations given by the given iterator.
-
Method Summary
Modifier and Type Method Description DoubleinconsistencyMeasure(Collection<S> formulas)This method measures the inconsistency of the given set of formulas.StringtoString()-
Methods inherited from class net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure
inconsistencyMeasure
-
-
-
-
Constructor Detail
-
EtaInconsistencyMeasure
public EtaInconsistencyMeasure(net.sf.tweety.commons.InterpretationIterator<S,B,? extends net.sf.tweety.commons.Interpretation<B,S>> it)
Creates a new inconsistency measure that uses the interpretations given by the given iterator.- Parameters:
it- some interpretation iterator.
-
-
Method Detail
-
inconsistencyMeasure
public Double inconsistencyMeasure(Collection<S> formulas)
Description copied from class:BeliefSetInconsistencyMeasureThis method measures the inconsistency of the given set of formulas.- Specified by:
inconsistencyMeasurein classBeliefSetInconsistencyMeasure<S extends net.sf.tweety.commons.Formula>- Parameters:
formulas- a collection of formulas.- Returns:
- a Double indicating the degree of inconsistency.
-
-