org.gcube.indexmanagement.geoindexlookup.defaultplugins.ranking
Class OverlapCentroidRanker

java.lang.Object
  extended by RankEvaluator
      extended by 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.


Constructor Summary
OverlapCentroidRanker()
           
 
Method Summary
 void initialize(java.lang.String[] args)
          
 boolean isIndexTypeCompatible(GeoIndexType indexType)
          
 double rank(DataWrapper geoData)
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverlapCentroidRanker

public OverlapCentroidRanker()
Method Detail

isIndexTypeCompatible

public boolean isIndexTypeCompatible(GeoIndexType indexType)


rank

public double rank(DataWrapper geoData)


initialize

public void initialize(java.lang.String[] args)