|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.grana.analyses.EdgeDirectionAnalysis
public class EdgeDirectionAnalysis
A drawing analysis that counts the number of edges going in each of the four directions.
(top, left, bottom, right) An edge can go in two directions. Returns a four-component
result (int top, int left, int bottom, int right)
.
Field Summary | |
---|---|
static int |
INDEX_BOTTOM
Index of the number of edges going bottomwards in the result array. |
static int |
INDEX_LEFT
Index of the number of edges going leftwards in the result array. |
static int |
INDEX_RIGHT
Index of the number of edges going rightwards in the result array. |
static int |
INDEX_TOP
Index of the number of edges going topwards in the result array. |
Constructor Summary | |
---|---|
EdgeDirectionAnalysis()
|
Method Summary | |
---|---|
Object |
doAnalysis(KNode parentNode,
Map<String,Object> results,
IKielerProgressMonitor progressMonitor)
Performs the actual analysis process and returns the results. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int INDEX_TOP
public static final int INDEX_LEFT
public static final int INDEX_BOTTOM
public static final int INDEX_RIGHT
Constructor Detail |
---|
public EdgeDirectionAnalysis()
Method Detail |
---|
public Object doAnalysis(KNode parentNode, Map<String,Object> results, IKielerProgressMonitor progressMonitor)
doAnalysis
in interface IAnalysis
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |