org.gube.examples
Class MyAlgorithm
java.lang.Object
org.gcube.dataanalysis.StandardLocalExternalAlgorithm
org.gube.examples.MyAlgorithm
- All Implemented Interfaces:
- org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent, org.gcube.dataanalysis.ecoengine.interfaces.Transducerer
public class MyAlgorithm
- extends StandardLocalExternalAlgorithm
| Methods inherited from class org.gcube.dataanalysis.StandardLocalExternalAlgorithm |
addEnumerateInput, addOutputString, addRemoteDatabaseInput, addStringInput, compute, getInfrastructure, getInputParameter, getInputParameters, getResourceLoad, getResources, getStatus, log, setConfiguration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyAlgorithm
public MyAlgorithm()
init
public void init()
throws Exception
- Specified by:
init in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent- Specified by:
init in class StandardLocalExternalAlgorithm
- Throws:
Exception
getDescription
public String getDescription()
- Specified by:
getDescription in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent- Specified by:
getDescription in class StandardLocalExternalAlgorithm
process
protected void process()
throws Exception
- Specified by:
process in class StandardLocalExternalAlgorithm
- Throws:
Exception
setInputParameters
protected void setInputParameters()
- Specified by:
setInputParameters in class StandardLocalExternalAlgorithm
shutdown
public void shutdown()
- Specified by:
shutdown in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent- Specified by:
shutdown in class StandardLocalExternalAlgorithm
getOutput
public org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType getOutput()
- Specified by:
getOutput in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent- Overrides:
getOutput in class StandardLocalExternalAlgorithm
Copyright © 2013. All Rights Reserved.