de.cau.cs.kieler.kiml.grana.analyses
Class EdgeLengthAnalysis
java.lang.Object
de.cau.cs.kieler.kiml.grana.analyses.EdgeLengthAnalysis
- All Implemented Interfaces:
- IAnalysis
public class EdgeLengthAnalysis
- extends Object
- implements IAnalysis
A graph analysis that computes the minimum, average and maximum edge length.
It assumes that the edge bend points describe polylines (splines are not
supported).
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EdgeLengthAnalysis
public EdgeLengthAnalysis()
doAnalysis
public Object doAnalysis(KNode parentNode,
Map<String,Object> results,
IKielerProgressMonitor progressMonitor)
throws KielerException
- Performs the actual analysis process and returns the results.
- Specified by:
doAnalysis
in interface IAnalysis
- Parameters:
parentNode
- the parent node which the analysis is performed onresults
- the result of analyses that were performed before this one (it
should include the results of all dependency analyses)progressMonitor
- progress monitor used to keep track of progress
- Returns:
- the analysis results
- Throws:
KielerException
- if the method fails to perform the analysis