Spreadsheet Toolkit

corpus.analyser
Class FormulaAnalyser

java.lang.Object
  |
  +--corpus.analyser.Analyser
        |
        +--corpus.analyser.FormulaAnalyser

public class FormulaAnalyser
extends Analyser

Provides three differen't types of analysis on Formula.

See Also:
Formula

Field Summary
protected  java.util.Vector gridsheets
          Used to store seperate grids at a worksheet level.
 
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
 
Constructor Summary
FormulaAnalyser(java.lang.String path, int diagram)
           
 
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 corpus.analyser.Analyser
distinctFamilyTrees, load, loadSheets, mode, mode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gridsheets

protected java.util.Vector gridsheets
Used to store seperate grids at a worksheet level. That is to say that each worksheet level will have it's own grid.

Constructor Detail

FormulaAnalyser

public FormulaAnalyser(java.lang.String path,
                       int diagram)
Method Detail

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)
Description copied from class: Analyser
Get the party started :)


Spreadsheet Toolkit

Project Home Page