public final class Report extends Object
Class to create the simulation report.
Modifier and Type | Method and Description |
---|---|
static void |
createReport(BufferedWriter buffer,
List<String> variation,
TreeMap<String,ArrayList<Double>> dataCompRef,
double refThreshold)
Method to create the html report.
|
protected static void |
createTable(BufferedWriter buf,
String title,
int rawN,
int colN,
List<String> var,
ArrayList<Double> max,
ArrayList<Double> mean,
double threshold,
List<String> lab)
Method to create a table.
|
public static void createReport(BufferedWriter buffer, List<String> variation, TreeMap<String,ArrayList<Double>> dataCompRef, double refThreshold) throws IOException
buffer
- the buffervariation
- the different cases that have been rundataCompRef
- comparison data (comparison with external reference)refThreshold
- threshold for comparison with external referenceIOException
- error with the bufferprotected static void createTable(BufferedWriter buf, String title, int rawN, int colN, List<String> var, ArrayList<Double> max, ArrayList<Double> mean, double threshold, List<String> lab) throws IOException
buf
- the buffer to writetitle
- title of the tablerawN
- raw numbercolN
- column numbervar
- variation parametermax
- data to write (max values)mean
- data to write (mean values)threshold
- threshold used for comparisonslab
- labels to write in the tableIOException
- error with the bufferCopyright © 2018 CNES. All Rights Reserved.