org.gcube.indexmanagement.geoindexlookup.defaultplugins.ranking
Class OverlapCentroidRanker
java.lang.Object
RankEvaluator
org.gcube.indexmanagement.geoindexlookup.defaultplugins.ranking.OverlapCentroidRanker
public class OverlapCentroidRanker
- extends RankEvaluator
A RankEvaluator which ranks entries according to the distance between the
center of the Query MBR (Minimal Bounding Rectangle) and the center of the
intersect of the Entry and the QueryMBR. This RankEvaluator will work with
any GeoIndexType.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OverlapCentroidRanker
public OverlapCentroidRanker()
isIndexTypeCompatible
public boolean isIndexTypeCompatible(GeoIndexType indexType)
-
rank
public double rank(DataWrapper geoData)
-
initialize
public void initialize(java.lang.String[] args)
-