corpus.analyser
Class TreeDepthAnalyser
java.lang.Object
|
+--corpus.analyser.Analyser
|
+--corpus.analyser.TreeDepthAnalyser
- public class TreeDepthAnalyser
- extends Analyser
This class is responsible for reading in a bunch of spreadsheets,
using the extractor to get the data out, doing some processing on them,
and then passing the information onto Doodler.
Fields inherited from class corpus.analyser.Analyser |
averageMathVector, CLUSTER, COMPRESSION, diagram, FORMULA_COM, FORMULACOMPONENT, HEATMAP, METRICS, OCCUPANCY, path, POWERLAW, TREEDEPTH, values, VECTOR, VECTOR_MAG, vectorGrid, workbooks, worksheets, WS_OCCUPANCY |
Method Summary |
void |
display()
Takes all the results from computation and passes them off to Doodler. |
static void |
main(java.lang.String[] args)
Get the party started :) |
protected void |
process(WorkSheet ws,
java.lang.String[] sheetnames,
int sheetnum)
Takes a worksheet from a workbook and computes something on it.
|
void |
saveResults(java.lang.String path)
Store the results or all our hard work in a file at path. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeDepthAnalyser
public TreeDepthAnalyser(java.lang.String path,
int diagram)
process
protected void process(WorkSheet ws,
java.lang.String[] sheetnames,
int sheetnum)
- Takes a worksheet from a workbook and computes something on it.
The something depends on the analysis/diagram mode.
- Specified by:
process
in class Analyser
saveResults
public void saveResults(java.lang.String path)
- Store the results or all our hard work in a file at path.
- Specified by:
saveResults
in class Analyser
display
public void display()
- Takes all the results from computation and passes them off to Doodler.
- Specified by:
display
in class Analyser
main
public static void main(java.lang.String[] args)
- Get the party started :)
Project Home Page