de.cau.cs.kieler.kiml.grana
Interface IAnalysis

All Known Implementing Classes:
AbstractInfoAnalysis, AbstractSimpleInfoAnalysis, BendsAnalysis, EdgeCountAnalysis, EdgeCrossingsAnalysis, EdgeLengthAnalysis, LayersAnalysis, NodeCountAnalysis, NodeDegreeAnalysis, NodeEdgeOverlapsAnalysis

public interface IAnalysis

The interface all graph analysis algorithms have to implement.

Rating red

Method Summary
 Object doAnalysis(KNode parentNode, Map<String,Object> results, IKielerProgressMonitor progressMonitor)
          Performs the actual analysis process and returns the results.
 

Method Detail

doAnalysis

Object doAnalysis(KNode parentNode,
                  Map<String,Object> results,
                  IKielerProgressMonitor progressMonitor)
                  throws KielerException
Performs the actual analysis process and returns the results.

Parameters:
parentNode - the parent node which the analysis is performed on
results - 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