org.gcube.dataanalysis.ecoengine.spatialdistributions
Class TestAlgorithm

java.lang.Object
  extended by org.gcube.dataanalysis.ecoengine.spatialdistributions.TestAlgorithm
All Implemented Interfaces:
GenericAlgorithm, SpatialProbabilityDistributionGeneric

public class TestAlgorithm
extends Object
implements SpatialProbabilityDistributionGeneric


Constructor Summary
TestAlgorithm()
           
 
Method Summary
 float calcProb(Object mainInfo, Object area)
           
 String getDescription()
           
 String getGeographicalID(Object geoInfo)
           
 List<Object> getGeographicalInfoObjects()
           
 String getGeographicalInfoType()
           
 List<StatisticalType> getInputParameters()
           
 float getInternalStatus()
           
 String getMainInfoID(Object mainInfo)
           
 List<Object> getMainInfoObjects()
           
 String getMainInfoType()
           
 String getName()
           
 StatisticalType getOutput()
           
 ALG_PROPS[] getProperties()
           
 void init(AlgorithmConfiguration config)
           
 void postProcess()
           
 void singleStepPostprocess(Object mainInfo, Object allAreasInformation)
           
 void singleStepPreprocess(Object mainInfo, Object area)
           
 void storeDistribution(Map<Object,Map<Object,Float>> distribution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestAlgorithm

public TestAlgorithm()
Method Detail

getProperties

public ALG_PROPS[] getProperties()
Specified by:
getProperties in interface GenericAlgorithm

init

public void init(AlgorithmConfiguration config)
Specified by:
init in interface SpatialProbabilityDistributionGeneric

getMainInfoType

public String getMainInfoType()
Specified by:
getMainInfoType in interface SpatialProbabilityDistributionGeneric

getGeographicalInfoType

public String getGeographicalInfoType()
Specified by:
getGeographicalInfoType in interface SpatialProbabilityDistributionGeneric

getMainInfoObjects

public List<Object> getMainInfoObjects()
Specified by:
getMainInfoObjects in interface SpatialProbabilityDistributionGeneric

getGeographicalInfoObjects

public List<Object> getGeographicalInfoObjects()
Specified by:
getGeographicalInfoObjects in interface SpatialProbabilityDistributionGeneric

calcProb

public float calcProb(Object mainInfo,
                      Object area)
Specified by:
calcProb in interface SpatialProbabilityDistributionGeneric

singleStepPreprocess

public void singleStepPreprocess(Object mainInfo,
                                 Object area)
Specified by:
singleStepPreprocess in interface SpatialProbabilityDistributionGeneric

singleStepPostprocess

public void singleStepPostprocess(Object mainInfo,
                                  Object allAreasInformation)
Specified by:
singleStepPostprocess in interface SpatialProbabilityDistributionGeneric

postProcess

public void postProcess()
Specified by:
postProcess in interface SpatialProbabilityDistributionGeneric

storeDistribution

public void storeDistribution(Map<Object,Map<Object,Float>> distribution)
Specified by:
storeDistribution in interface SpatialProbabilityDistributionGeneric

getInternalStatus

public float getInternalStatus()
Specified by:
getInternalStatus in interface SpatialProbabilityDistributionGeneric

getMainInfoID

public String getMainInfoID(Object mainInfo)
Specified by:
getMainInfoID in interface SpatialProbabilityDistributionGeneric

getGeographicalID

public String getGeographicalID(Object geoInfo)
Specified by:
getGeographicalID in interface SpatialProbabilityDistributionGeneric

getName

public String getName()
Specified by:
getName in interface GenericAlgorithm

getDescription

public String getDescription()
Specified by:
getDescription in interface GenericAlgorithm

getInputParameters

public List<StatisticalType> getInputParameters()
Specified by:
getInputParameters in interface GenericAlgorithm

getOutput

public StatisticalType getOutput()
Specified by:
getOutput in interface GenericAlgorithm


Copyright © 2013. All Rights Reserved.