public class DebugOutput
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.text.DecimalFormat |
f0
Decimal formatter for integer
|
private static java.text.DecimalFormat |
f2
Decimal formatter for floating number
|
private static int |
NUM_ITEMS
Total number of items in each row
|
private static CSVWriter |
writer
csv file writer
|
Constructor and Description |
---|
DebugOutput() |
Modifier and Type | Method and Description |
---|---|
static void |
finish()
Finish debug output
|
static void |
startOutput()
Initialize debug output
|
static void |
write(int period,
java.util.ArrayList<GPMLSegment> Segments)
Write results for a period (60 steps) into the csv file
|
private static CSVWriter writer
private static final int NUM_ITEMS
private static final java.text.DecimalFormat f0
private static final java.text.DecimalFormat f2
public static void startOutput()
public static void write(int period, java.util.ArrayList<GPMLSegment> Segments) throws java.io.IOException
period
- analysis period indexSegments
- ArrayList of segments (GP or ML segments)java.io.IOException
public static void finish()