public class MolProOccuranceHistogram extends Object
| Constructor and Description |
|---|
MolProOccuranceHistogram()
Initializing the class tries reading a file that stores the history of the run serialized.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRunningTime(String fileName,
Double value)
When the model is updated, i.e., a new run of Molpro with a configuration we know (or do not know) runs, we save the new value
to the file carrying the name of the configuration.
|
void |
getAllStats(String name) |
TreeMap<Double,IntervalBehaviourValues> |
getIntervalData(String name)
Given an interval, return the expected average usage during this interval for all possible subintervals
|
List<String> |
listFilesForFolder(File folder)
Method to list all files in a folder and return the results a list of Strings.
|
public MolProOccuranceHistogram()
throws org.apache.commons.math3.exception.NullArgumentException,
IOException
org.apache.commons.math3.exception.NullArgumentExceptionIOExceptionpublic List<String> listFilesForFolder(File folder)
public void addRunningTime(String fileName, Double value)
fileName, - name of the file. This should represent the configuration used (including if it is total or interval based length).public TreeMap<Double,IntervalBehaviourValues> getIntervalData(String name)
IOExceptionpublic void getAllStats(String name)