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

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


Constructor Summary
ProximityRanker()
           
 
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

ProximityRanker

public ProximityRanker()
Method Detail

isIndexTypeCompatible

public boolean isIndexTypeCompatible(GeoIndexType indexType)


rank

public double rank(DataWrapper geoData)


initialize

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