public class DistributionGeneratorInterface
extends java.lang.Object
Constructor and Description |
---|
DistributionGeneratorInterface(GenerationModel model,
java.lang.String configPath)
initializes the calculator
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Hspec> |
compute(java.util.List<Hcaf> hcaflist,
Hspen hspen)
computes the list of Hspec for the couples
(species,hcaf1), (species,hcaf2), ...
|
java.util.HashMap<java.lang.String,java.util.List<Hspec>> |
compute(java.util.List<Hcaf> hcaflist,
java.util.List<Hspen> hspenlist)
sequentially computes the overall hspec for the species along the cells
the output map uses speciesID as key.
|
double |
computeProbability(Hcaf hcaf,
Hspen hspen)
computes the punctual probability according to the model
|
BoundingBoxInformation |
getBoudingBox(Hcaf hcaf,
Hspen hspen,
boolean gen2050)
gets the bounding box information according to the model
|
double |
getStatus()
gets the status in percentage of the current calculation
|
public DistributionGeneratorInterface(GenerationModel model, java.lang.String configPath)
model
- configPath
- public double getStatus()
public BoundingBoxInformation getBoudingBox(Hcaf hcaf, Hspen hspen, boolean gen2050) throws java.lang.Exception
hcaf
- hspen
- gen2050
- java.lang.Exception
public double computeProbability(Hcaf hcaf, Hspen hspen) throws java.lang.Exception
hcaf
- hspen
- java.lang.Exception
public java.util.List<Hspec> compute(java.util.List<Hcaf> hcaflist, Hspen hspen) throws java.lang.Exception
hcaflist
- hspen
- java.lang.Exception
public java.util.HashMap<java.lang.String,java.util.List<Hspec>> compute(java.util.List<Hcaf> hcaflist, java.util.List<Hspen> hspenlist) throws java.lang.Exception
hcaflist
- hspenlist
- java.lang.Exception