org.gcube.indexmanagement.geoindexlookup.defaultplugins.ranking
Class ProximityRanker
java.lang.Object
RankEvaluator
org.gcube.indexmanagement.geoindexlookup.defaultplugins.ranking.ProximityRanker
public class ProximityRanker
- 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
Entries. This RankEvaluator will work with any GeoIndexType.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProximityRanker
public ProximityRanker()
isIndexTypeCompatible
public boolean isIndexTypeCompatible(GeoIndexType indexType)
-
rank
public double rank(DataWrapper geoData)
-
initialize
public void initialize(java.lang.String[] args)
-