Interface IMeasure
-
- All Known Subinterfaces:
IEdgeCountingSemanticMeasure,IPointsetsMeasure,ISpaceMeasure,IStringMeasure,ITemporalMeasure,ITrieFilterableStringMeasure
- All Known Implementing Classes:
AEdgeCountingSemanticMeasure,AfterMeasure,AMeasure,APointsetsMeasure,ASpaceMeasure,BeforeMeasure,Caverphone1Measure,Caverphone2Measure,CentroidIndexedHausdorffMeasure,ConcurrentMeasure,ContainsMeasure,CosineMeasure,CoveredbyMeasure,CoversMeasure,CrossesMeasure,DaitchMokotoffSoundexMeasure,DisjointMeasure,DoubleMetaphoneMeasure,DoubleMetaphoneMeasure,DuringMeasure,DuringReverseMeasure,EqualsMeasure,EqualsMeasure,EuclideanMeasure,ExactMatchMeasure,FairSurjectionMeasure,FastHausdorffMeasure,FinishesMeasure,GeoGreatEllipticMeasure,GeoOrthodromicMeasure,GeOxygeneFrechetMeasure,IndexedHausdorffMeasure,IntersectsMeasure,IsFinishedByMeasure,IsMetByMeasure,IsOverlappedByMeasure,IsStartedByMeasure,JaccardMeasure,JaroMeasure,JaroWinklerMeasure,KoelnPhoneticMeasure,KoelnPhoneticMeasure,LCHMeasure,LessThanMeasure,LevenshteinMeasure,LiMeasure,ManhattanMeasure,MatchRatingApproachEncoderMeasure,MeetsMeasure,MetaphoneMeasure,MongeElkanMeasure,NaiveAverageMeasure,NaiveFrechetMeasure,NaiveHausdorffMeasure,NaiveLinkMeasure,NaiveMaxMeasure,NaiveMeanMeasure,NaiveMinMeasure,NaiveSumOfMinMeasure,NaiveSurjectionMeasure,NysiisMeasure,OverlapMeasure,OverlapsMeasure,OverlapsMeasure,PredecessorMeasure,QGramSimilarityMeasure,RatcliffObershelpMeasure,RefinedSoundexMeasure,ScanIndexedHausdorffMeasure,SetJaccardMeasure,ShortestPathMeasure,SoundexMeasure,StartsMeasure,StringMeasure,SuccessorMeasure,SymmetricHausdorffMeasure,TemporalMeasure,TouchesMeasure,TrigramMeasure,WithinMeasure,WuPalmerMeasure
public interface IMeasureImplements the measure interface.- Version:
- 1.0
- Author:
- Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de), Kleanthi Georgala (georgala@informatik.uni-leipzig.de)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Returns name of a measure.doublegetRuntimeApproximation(double mappingSize)Returns the runtime approximation of a measure.doublegetSimilarity(Object object1, Object object2)Returns the similarity between two objects.doublegetSimilarity(Instance instance1, Instance instance2, String property1, String property2)Returns the similarity between two instances, given their corresponding properties.StringgetType()Returns type of a measure.
-
-
-
Method Detail
-
getSimilarity
double getSimilarity(Object object1, Object object2)
Returns the similarity between two objects.- Parameters:
object1- , the source objectobject2- , the target object- Returns:
- The similarity of the objects
-
getSimilarity
double getSimilarity(Instance instance1, Instance instance2, String property1, String property2)
Returns the similarity between two instances, given their corresponding properties.- Parameters:
instance1- , the source instanceinstance2- , the target instanceproperty1- , the source propertyproperty2- , the target property- Returns:
- The similarity of the instances
-
getRuntimeApproximation
double getRuntimeApproximation(double mappingSize)
Returns the runtime approximation of a measure.- Parameters:
mappingSize- , the mapping size returned by the measure- Returns:
- The runtime of the measure
-
getName
String getName()
Returns name of a measure.- Returns:
- Measure name as a string
-
getType
String getType()
Returns type of a measure.- Returns:
- The runtime of the measure
-
-