Class DrasticDistance<T extends Interpretation<B,S>,B extends BeliefBase,S extends Formula>   
java.lang.Object
org.tweetyproject.commons.analysis.DrasticDistance<T,B,S>  
- Type Parameters:
- T- The actual type of interpretation
- B- the type of belief bases
- S- the type of formulas
- All Implemented Interfaces:
- InterpretationDistance<T,- B, - S> 
public class DrasticDistance<T extends Interpretation<B,S>,B extends BeliefBase,S extends Formula>   
extends Object
implements InterpretationDistance<T,B,S>  
This class models the drastic distance measure between interpretations,
 see [Grant, Hunter. Distance-based Measures of Inconsistency, ECSQARU'13].
 It returns 0 if the interpretations are equivalent and 1 otherwise.
- Author:
- Matthias Thimm
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoubleMeasures the distance between a formula and some interpretation by taking the minimal distance from all models of the formula to the given interpretation.doubleMeasures the distance between the two given interpretations.
- 
Constructor Details- 
DrasticDistancepublic DrasticDistance()
 
- 
- 
Method Details- 
distanceDescription copied from interface:InterpretationDistanceMeasures the distance between the two given interpretations.- Specified by:
- distancein interface- InterpretationDistance<T extends Interpretation<B,- S>, - B extends BeliefBase, - S extends Formula> 
- Parameters:
- a- some interpretation
- b- some interpretation
- Returns:
- the distance between the two given interpretations.
 
- 
distanceDescription copied from interface:InterpretationDistanceMeasures the distance between a formula and some interpretation by taking the minimal distance from all models of the formula to the given interpretation.- Specified by:
- distancein interface- InterpretationDistance<T extends Interpretation<B,- S>, - B extends BeliefBase, - S extends Formula> 
- Parameters:
- f- some formula
- b- some interpretation.
- Returns:
- the distance between the set of models of the formula to the given interpretation.
 
 
-