Class DalalDistance
- java.lang.Object
 - 
- org.tweetyproject.logics.pl.analysis.PossibleWorldDistance
 - 
- org.tweetyproject.logics.pl.analysis.DalalDistance
 
 
 
- 
- All Implemented Interfaces:
 InterpretationDistance<PossibleWorld,PlBeliefSet,PlFormula>
public class DalalDistance extends PossibleWorldDistance
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
Constructors Constructor Description DalalDistance() 
- 
Method Summary
Modifier and Type Method Description doubledistance(PossibleWorld a, PossibleWorld b)Measures the distance between the two given interpretations.- 
Methods inherited from class org.tweetyproject.logics.pl.analysis.PossibleWorldDistance
distance 
 - 
 
 - 
 
- 
- 
Method Detail
- 
distance
public double distance(PossibleWorld a, PossibleWorld b)
Description copied from interface:InterpretationDistanceMeasures the distance between the two given interpretations.- Specified by:
 distancein interfaceInterpretationDistance<PossibleWorld,PlBeliefSet,PlFormula>- Specified by:
 distancein classPossibleWorldDistance- Parameters:
 a- some interpretationb- some interpretation- Returns:
 - the distance between the two given interpretations.
 
 
 - 
 
 -