OntoSim 1.0

fr.inrialpes.exmo.ontosim.set
Class Hausdorff<S>

java.lang.Object
  extended by fr.inrialpes.exmo.ontosim.set.SetMeasure<S>
      extended by fr.inrialpes.exmo.ontosim.set.Hausdorff<S>
All Implemented Interfaces:
Measure<Set<S>>

public class Hausdorff<S>
extends SetMeasure<S>


Nested Class Summary
 
Nested classes/interfaces inherited from interface fr.inrialpes.exmo.ontosim.Measure
Measure.TYPES
 
Field Summary
 
Fields inherited from class fr.inrialpes.exmo.ontosim.set.SetMeasure
localMeasure
 
Constructor Summary
Hausdorff(Measure<S> m)
           
 
Method Summary
 double getDissim(Set<S> o1, Set<S> o2)
           
private  double getMaxMin(double[] vals)
           
 double getMeasureValue(Set<S> o1, Set<S> o2)
           
private  double[] getMins(Set<S> o1, Set<S> o2)
           
 Measure.TYPES getMType()
           
 double getSim(Set<S> o1, Set<S> o2)
           
 
Methods inherited from class fr.inrialpes.exmo.ontosim.set.SetMeasure
getLocalMeasure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hausdorff

public Hausdorff(Measure<S> m)
Method Detail

getMins

private double[] getMins(Set<S> o1,
                         Set<S> o2)

getMaxMin

private double getMaxMin(double[] vals)

getMeasureValue

public double getMeasureValue(Set<S> o1,
                              Set<S> o2)

getDissim

public double getDissim(Set<S> o1,
                        Set<S> o2)

getSim

public double getSim(Set<S> o1,
                     Set<S> o2)

getMType

public Measure.TYPES getMType()
Specified by:
getMType in interface Measure<Set<S>>
Overrides:
getMType in class SetMeasure<S>

OntoSim 1.0

(C) INRIA & friends, 2008-2009