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

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


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

OverlapAreaRanker

public OverlapAreaRanker()
Method Detail

isIndexTypeCompatible

public boolean isIndexTypeCompatible(GeoIndexType indexType)


rank

public double rank(DataWrapper geoData)


initialize

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