List of all members.
Detailed Description
This class correlates various sampling sets through time, and outputs them in a nicely csv file.
This class takes various Sampling Data file outputs, which are passed through the addSamplingSet method. Once finished adding Sampling Set, just call the dumpToFile method, and the data will be correlated. Please notice that the usage of memory is minimal and has to be kept whis way.
- Author:
- Arturo Hoffstadt Urrutia <ahoffsta@inf.utfsm.cl>
Constructor & Destructor Documentation
cl.utfsm.samplingSystemUI.SamplingDataCorrelator.SamplingDataCorrelator |
( |
String |
group, |
|
|
long |
frequency, |
|
|
Date |
startTimestamp | |
|
) |
| | |
Default constructor, takes the parameters, stores them, and creates the filename.
- Parameters:
-
| group | The name of the Sampling Group to which the data belongs to. |
| frequency | The Frequency at which the data was sampled. |
| startTimestamp | At which time that sampling process started. |
Member Function Documentation
void cl.utfsm.samplingSystemUI.SamplingDataCorrelator.addSamplingSet |
( |
String |
filename |
) |
|
Registers a Sampling Set, and read the first line, obtaining the component and the property which sampled.
- Parameters:
-
| filaname | Name of the file in which the data for this Sampling Set was dumped. |
boolean cl.utfsm.samplingSystemUI.SamplingDataCorrelator.consume |
( |
|
) |
|
void cl.utfsm.samplingSystemUI.SamplingDataCorrelator.dumpToFile |
( |
|
) |
|
Start the Correlation and Dumping to File process.
void cl.utfsm.samplingSystemUI.SamplingDataCorrelator.dumpToFile |
( |
double |
prec |
) |
|
String cl.utfsm.samplingSystemUI.SamplingDataCorrelator.getFilename |
( |
|
) |
|
The documentation for this class was generated from the following file: