Class DalalDistance
java.lang.Object
org.tweetyproject.logics.pl.analysis.PossibleWorldDistance
org.tweetyproject.logics.pl.analysis.DalalDistance
- All Implemented Interfaces:
InterpretationDistance<PossibleWorld,
PlBeliefSet, PlFormula>
This class models the dalal distance measure between possible worlds,
see e.g. [Grant, Hunter. Distance-based Measures of Inconsistency, ECSQARU'13].
It returns the number of propositions two possible possible worlds differ.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Measures the distance between the two given interpretations.Methods inherited from class org.tweetyproject.logics.pl.analysis.PossibleWorldDistance
distance
-
Constructor Details
-
DalalDistance
public DalalDistance()Default Constructor
-
-
Method Details
-
distance
Description copied from interface:InterpretationDistance
Measures the distance between the two given interpretations.- Specified by:
distance
in interfaceInterpretationDistance<PossibleWorld,
PlBeliefSet, PlFormula> - Specified by:
distance
in classPossibleWorldDistance
- Parameters:
a
- some interpretationb
- some interpretation- Returns:
- the distance between the two given interpretations.
-