git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngine@55943 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b3f4a9a959
commit
2e8fd2d1dd
|
@ -4,24 +4,31 @@ import org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration;
|
|||
|
||||
public interface SpatialProbabilityDistributionNode extends SpatialProbabilityDistribution {
|
||||
|
||||
//initialization of the distribution model
|
||||
//initialization of ta single node
|
||||
public void initSingleNode(AlgorithmConfiguration config);
|
||||
|
||||
//preprocessing after the whole calculation
|
||||
public void postProcess();
|
||||
|
||||
//get the internal processing status for the single step calculation
|
||||
public float getInternalStatus();
|
||||
|
||||
public int executeNode(int cellOrdinal, int chunksize, int speciesOrdinal, int speciesChunkSize, String pathToFiles, String logfile);
|
||||
//execute a single node
|
||||
public int executeNode(int cellStarIndex, int numberOfCellsToProcess, int speciesStartIndex, int numberOfSpeciesToProcess, String sandboxFolder, String logfileNameToProduce);
|
||||
|
||||
// An initialization phase in which the inputs are initialized
|
||||
public void setup(AlgorithmConfiguration config) throws Exception;
|
||||
|
||||
//get overall number of species to process
|
||||
public int getNumberOfSpecies();
|
||||
|
||||
//get overall number of geographical information to process
|
||||
public int getNumberOfGeoInfo();
|
||||
|
||||
public int getOverallProcessedInfo();
|
||||
//get overall number of processed species
|
||||
public int getNumberOfProcessedSpecies();
|
||||
|
||||
//stop the sexecution of the node
|
||||
public void stop();
|
||||
|
||||
//prostprocess after the whole calculation : reduce operation
|
||||
public void postProcess();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue