Package net.sf.tweety.arg.prob.analysis
Class PAInconsistencyMeasure
- java.lang.Object
-
- net.sf.tweety.arg.prob.analysis.PAInconsistencyMeasure
-
- All Implemented Interfaces:
InconsistencyMeasure<PartialProbabilityAssignment>
public class PAInconsistencyMeasure extends java.lang.Object implements InconsistencyMeasure<PartialProbabilityAssignment>
This inconsistency measure measures the distance between a given partial probability assignment to the set of rational/justifiable probabilistic extensions of a given Dung theory.- Author:
- Matthias Thimm
-
-
Field Summary
-
Fields inherited from interface net.sf.tweety.logics.commons.analysis.InconsistencyMeasure
MEASURE_TOLERANCE
-
-
Constructor Summary
Constructors Constructor Description PAInconsistencyMeasure(RealVectorNorm norm, DungTheory theory, PASemantics semantics)
Creates a new inconsinstency measure which uses the given norm and measures wrt.
-
Method Summary
Modifier and Type Method Description java.lang.Double
inconsistencyMeasure(PartialProbabilityAssignment ppa)
This method measures the inconsistency of the given belief base.
-
-
-
Constructor Detail
-
PAInconsistencyMeasure
public PAInconsistencyMeasure(RealVectorNorm norm, DungTheory theory, PASemantics semantics)
Creates a new inconsinstency measure which uses the given norm and measures wrt. the given theory.- Parameters:
norm
- a normtheory
- a Dung theorysemantics
- the semantics against which the inconsistency of partial probability assignments are measured.
-
-
Method Detail
-
inconsistencyMeasure
public java.lang.Double inconsistencyMeasure(PartialProbabilityAssignment ppa)
Description copied from interface:InconsistencyMeasure
This method measures the inconsistency of the given belief base.- Specified by:
inconsistencyMeasure
in interfaceInconsistencyMeasure<PartialProbabilityAssignment>
- Parameters:
ppa
- a belief base.- Returns:
- a Double indicating the degree of inconsistency.
-
-