org.gcube.application.aquamaps.ecomodelling.generators.connectors
Class EnvelopeGeneratorInterface

java.lang.Object
  extended by org.gcube.application.aquamaps.ecomodelling.generators.connectors.EnvelopeGeneratorInterface

public class EnvelopeGeneratorInterface
extends java.lang.Object


Constructor Summary
EnvelopeGeneratorInterface(EnvelopeModel model, java.lang.String configPath)
          initializes the calculator
 
Method Summary
 double getStatus()
          gets the status in percentage of the current calculation
 Hspen reCalculateEnvelope(EngineConfiguration configuration, Hspen previousHspen)
          recalculates the Hspen given a previous Hspen and a database configuration, for a single species it needs the configuration to specify the occurrencecells and hcaf tables;
 java.util.List<Hspen> reCalculateEnvelope(EngineConfiguration configuration, java.util.List<Hspen> previousHspenList)
          recalculates the hspen for the given hspen list, according to a database configuration
 Hspen reCalculateEnvelope(Hspen previousHspen, OccurrencePointSets occPointLists)
          recalculates the hspen for the given set of values, based on a previous hspen
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvelopeGeneratorInterface

public EnvelopeGeneratorInterface(EnvelopeModel model,
                                  java.lang.String configPath)
initializes the calculator

Parameters:
model -
configPath -
Method Detail

getStatus

public double getStatus()
gets the status in percentage of the current calculation

Returns:

reCalculateEnvelope

public Hspen reCalculateEnvelope(EngineConfiguration configuration,
                                 Hspen previousHspen)
recalculates the Hspen given a previous Hspen and a database configuration, for a single species it needs the configuration to specify the occurrencecells and hcaf tables;

Parameters:
configuration -
species -
previousHspen -
Returns:

reCalculateEnvelope

public java.util.List<Hspen> reCalculateEnvelope(EngineConfiguration configuration,
                                                 java.util.List<Hspen> previousHspenList)
recalculates the hspen for the given hspen list, according to a database configuration

Parameters:
configuration -
previousHspenList -
Returns:

reCalculateEnvelope

public Hspen reCalculateEnvelope(Hspen previousHspen,
                                 OccurrencePointSets occPointLists)
recalculates the hspen for the given set of values, based on a previous hspen

Parameters:
previousHspen -
occPointLists -
Returns: