org.gcube.dataanalysis.executor.nodes.algorithms
Class AquamapsSuitableNode

java.lang.Object
  extended by org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
      extended by org.gcube.dataanalysis.executor.nodes.algorithms.AquamapsSuitableNode
All Implemented Interfaces:
org.gcube.dataanalysis.ecoengine.interfaces.GenericAlgorithm

public class AquamapsSuitableNode
extends org.gcube.dataanalysis.ecoengine.interfaces.ActorNode


Field Summary
protected  org.gcube.dataanalysis.ecoengine.spatialdistributions.AquamapsAlgorithmCore core
           
protected  String countCellsQuery
           
protected  String countSpeciesQuery
           
protected  String createTableStatement
           
protected  org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration currentconfig
           
protected  org.hibernate.SessionFactory dbHibConnection
           
protected  String destinationTable
           
protected  String destinationTableLabel
           
protected  AquamapsSuitableFunctions operations
           
protected  String type
           
 
Constructor Summary
AquamapsSuitableNode()
           
 
Method Summary
 int executeNode(int cellOrdinal, int chunksize, int speciesOrdinal, int speciesChunkSize, boolean duplicate, String pathToFiles, String nodeConfigurationFileObject, String logfile)
           
 Queue<String> filterProbabilitySet(Queue<String> probabiltyRows)
           
 String getDescription()
           
 List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getInputParameters()
           
 float getInternalStatus()
           
 String getName()
           
 int getNumberOfLeftElements()
           
 int getNumberOfRightElements()
           
 org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType getOutput()
           
 org.gcube.dataanalysis.ecoengine.configuration.ALG_PROPS[] getProperties()
           
 void initSingleNode(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)
           
static void main2(String[] args)
           
 void postProcess(boolean manageDuplicates, boolean manageFault)
           
 void setup(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)
           
 void singleStepPostprocess(Object species)
           
 void singleStepPreprocess(Object species, boolean duplicate)
           
 void stop()
           
 
Methods inherited from class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

countSpeciesQuery

protected String countSpeciesQuery

countCellsQuery

protected String countCellsQuery

createTableStatement

protected String createTableStatement

destinationTable

protected String destinationTable

destinationTableLabel

protected String destinationTableLabel

type

protected String type

core

protected org.gcube.dataanalysis.ecoengine.spatialdistributions.AquamapsAlgorithmCore core

currentconfig

protected org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration currentconfig

operations

protected AquamapsSuitableFunctions operations

dbHibConnection

protected org.hibernate.SessionFactory dbHibConnection
Constructor Detail

AquamapsSuitableNode

public AquamapsSuitableNode()
Method Detail

setup

public void setup(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)
           throws Exception
Specified by:
setup in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
Throws:
Exception

initSingleNode

public void initSingleNode(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)
Specified by:
initSingleNode in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode

executeNode

public int executeNode(int cellOrdinal,
                       int chunksize,
                       int speciesOrdinal,
                       int speciesChunkSize,
                       boolean duplicate,
                       String pathToFiles,
                       String nodeConfigurationFileObject,
                       String logfile)
Specified by:
executeNode in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode

getInputParameters

public List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getInputParameters()

filterProbabilitySet

public Queue<String> filterProbabilitySet(Queue<String> probabiltyRows)

getInternalStatus

public float getInternalStatus()
Specified by:
getInternalStatus in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode

getProperties

public org.gcube.dataanalysis.ecoengine.configuration.ALG_PROPS[] getProperties()

getName

public String getName()

getDescription

public String getDescription()

postProcess

public void postProcess(boolean manageDuplicates,
                        boolean manageFault)
Specified by:
postProcess in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode

main2

public static void main2(String[] args)
                  throws Exception
Throws:
Exception

singleStepPreprocess

public void singleStepPreprocess(Object species,
                                 boolean duplicate)
                          throws Exception
Throws:
Exception

singleStepPostprocess

public void singleStepPostprocess(Object species)

getOutput

public org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType getOutput()

getNumberOfRightElements

public int getNumberOfRightElements()
Specified by:
getNumberOfRightElements in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode

getNumberOfLeftElements

public int getNumberOfLeftElements()
Specified by:
getNumberOfLeftElements in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode

stop

public void stop()
Specified by:
stop in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode


Copyright © 2013. All Rights Reserved.