org.gcube.dataanalysis.trendylyzeralgorithms
Class SimpleAlgorithm

java.lang.Object
  extended by org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm
      extended by org.gcube.dataanalysis.trendylyzeralgorithms.SimpleAlgorithm
All Implemented Interfaces:
org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent, org.gcube.dataanalysis.ecoengine.interfaces.Transducerer

public class SimpleAlgorithm
extends org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm


Field Summary
 
Fields inherited from class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm
config, inputs, outputParameters, resourceManager, status
 
Constructor Summary
SimpleAlgorithm()
           
 
Method Summary
 String getDescription()
           
 org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType getOutput()
           
 void init()
           
protected  void process()
           
protected  void setInputParameters()
           
 void shutdown()
           
 
Methods inherited from class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm
addDoubleInput, addEnumerateInput, addIntegerInput, 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
 

Constructor Detail

SimpleAlgorithm

public SimpleAlgorithm()
Method Detail

init

public void init()
          throws Exception
Specified by:
init in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent
Specified by:
init in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm
Throws:
Exception

getDescription

public String getDescription()
Specified by:
getDescription in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent
Specified by:
getDescription in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm

process

protected void process()
                throws Exception
Specified by:
process in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm
Throws:
Exception

setInputParameters

protected void setInputParameters()
Specified by:
setInputParameters in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm

shutdown

public void shutdown()
Specified by:
shutdown in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent
Specified by:
shutdown in class org.gcube.dataanalysis.ecoengine.interfaces.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 org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm


Copyright © 2013. All Rights Reserved.