org.gcube.indexmanagement.geoindexlookup.defaultplugins.ranking
Class OverlapAreaRanker
java.lang.Object
RankEvaluator
org.gcube.indexmanagement.geoindexlookup.defaultplugins.ranking.OverlapAreaRanker
public class OverlapAreaRanker
- extends RankEvaluator
A RankEvaluator which ranks entries according to the Area of the intersect of
the Entries and the QueryMBR (Minimal Bounding Rectangle). This RankEvaluator
will work with any GeoIndexType, but points and lines will always receive a
reank of 0, as they have no Area.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OverlapAreaRanker
public OverlapAreaRanker()
isIndexTypeCompatible
public boolean isIndexTypeCompatible(GeoIndexType indexType)
-
rank
public double rank(DataWrapper geoData)
-
initialize
public void initialize(java.lang.String[] args)
-