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

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

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


Field Summary
 int count
           
 String destinationTable
           
 String destinationTableLabel
           
 String familyColumn
           
 String originTable
           
 int prevbroadcastTimePeriod
           
 int prevmaxMessages
           
 int prevmaxNumberOfStages
           
 float status
           
 
Constructor Summary
LWR()
           
 
Method Summary
 int executeNode(int leftStartIndex, int numberOfLeftElementsToProcess, int rightStartIndex, int numberOfRightElementsToProcess, boolean duplicate, String sandboxFolder, String nodeConfigurationFileObject, String logfileNameToProduce)
           
 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)
           
 void postProcess(boolean manageDuplicates, boolean manageFault)
           
 void setup(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)
           
 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

destinationTable

public String destinationTable

destinationTableLabel

public String destinationTableLabel

originTable

public String originTable

familyColumn

public String familyColumn

count

public int count

status

public float status

prevbroadcastTimePeriod

public int prevbroadcastTimePeriod

prevmaxNumberOfStages

public int prevmaxNumberOfStages

prevmaxMessages

public int prevmaxMessages
Constructor Detail

LWR

public LWR()
Method Detail

getProperties

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

getName

public String getName()

getDescription

public String getDescription()

getInputParameters

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

getOutput

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

initSingleNode

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

getInternalStatus

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

executeNode

public int executeNode(int leftStartIndex,
                       int numberOfLeftElementsToProcess,
                       int rightStartIndex,
                       int numberOfRightElementsToProcess,
                       boolean duplicate,
                       String sandboxFolder,
                       String nodeConfigurationFileObject,
                       String logfileNameToProduce)
Specified by:
executeNode in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode

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

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

postProcess

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


Copyright © 2013. All Rights Reserved.