org.gcube.dataanalysis.ecoengine.spatialdistributions
Class DummyAlgorithm
java.lang.Object
org.gcube.dataanalysis.ecoengine.spatialdistributions.DummyAlgorithm
- All Implemented Interfaces:
- GenericAlgorithm, SpatialProbabilityDistributionGeneric
public class DummyAlgorithm
- extends Object
- implements SpatialProbabilityDistributionGeneric
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyAlgorithm
public DummyAlgorithm()
main
public static void main(String[] args)
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
getProperties
public ALG_PROPS[] getProperties()
- Specified by:
getProperties
in interface GenericAlgorithm
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.