OntoSim 1.0

fr.inrialpes.exmo.ontosim.set
Class MaxSet<O>

java.lang.Object
  extended by fr.inrialpes.exmo.ontosim.set.SetMeasure<O>
      extended by fr.inrialpes.exmo.ontosim.set.MaxSet<O>
Type Parameters:
O -
All Implemented Interfaces:
Measure<Set<O>>

public class MaxSet<O>
extends SetMeasure<O>

Measure which return the max similarity (min dissimilarity) between two sets of objects of type O according to a local measure m.

Author:
jerome

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
MaxSet(Measure<O> m)
           
 
Method Summary
 double getDissim(Set<O> o1, Set<O> o2)
           
 double getMeasureValue(Set<O> o1, Set<O> o2)
           
 double getSim(Set<O> o1, Set<O> o2)
           
private  double getSumMax(Set<O> o1, Set<O> o2, Method m)
           
 
Methods inherited from class fr.inrialpes.exmo.ontosim.set.SetMeasure
getLocalMeasure, getMType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxSet

public MaxSet(Measure<O> m)
Method Detail

getSumMax

private double getSumMax(Set<O> o1,
                         Set<O> o2,
                         Method m)

getMeasureValue

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

getDissim

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

getSim

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

OntoSim 1.0

(C) INRIA & friends, 2008-2009