|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.architecture.lift.ResultAnalyzer
public class ResultAnalyzer
This file is licensed under the GNU Public Licens (GPL).
This is a utility class that generates minimal statistical information from
the results logged by LoggerPassengerProcessor. The results are
displayed in CSV on System.out.
| Constructor Summary | |
|---|---|
ResultAnalyzer()
|
|
| Method Summary | |
|---|---|
static void |
Analyze(java.lang.String[][] Data,
java.lang.String FileName)
Analyzes the Data matrix (which is produced by SimplePassengerProcessor). |
static java.lang.String |
DTS(double In)
A handy util to transfrom doubles to Strings with exactly 3 decimal places after the dot. |
static void |
main(java.lang.String[] Args)
The main program for the ResultAnalyzer class that uses only the Args[0] as the name of the input file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultAnalyzer()
| Method Detail |
|---|
public static void Analyze(java.lang.String[][] Data,
java.lang.String FileName)
Data matrix (which is produced by SimplePassengerProcessor). Prints some info (averages and
variances of the waiting and travel times.
Data - DOCUMENT ME!FileName - DOCUMENT ME!
java.lang.RuntimeException - DOCUMENT ME!public static java.lang.String DTS(double In)
In - DOCUMENT ME!
public static void main(java.lang.String[] Args)
Args[0] as the name of the input file.
Args - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||