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

java.lang.Object
  extended by RankEvaluator
      extended by org.gcube.indexmanagement.geoindexlookup.defaultplugins.ranking.GenericRanker

public class GenericRanker
extends RankEvaluator

A RankEvaluator capable of ranking points, lines and areas. It uses the ProximityRanker, OverlapAraRanker and OverlapCentroidRanker to do the actual ranking of objects. This RankEvaluator will work with any GeoIndexType.


Constructor Summary
GenericRanker()
          A Constructor which initializes all the RankerEvaluators used by the Generic ranker.
 
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

GenericRanker

public GenericRanker()
A Constructor which initializes all the RankerEvaluators used by the Generic ranker.

Method Detail

isIndexTypeCompatible

public boolean isIndexTypeCompatible(GeoIndexType indexType)


rank

public double rank(DataWrapper geoData)


initialize

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

Throws:
RankEvaluatorInitializationException