|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpedviz.algorithms.sugiyama.SicknessSplitter
public class SicknessSplitter
This class can be used as a WallSplitter for the SugiyamaLayout class. It splits the specified graph in two walls, dependent on the sickness of a person.
| Constructor Summary | |
|---|---|
SicknessSplitter(java.lang.String[] columns,
java.lang.String[] values)
Creates a SicknessSplitter object with the given array of traits and values. |
|
| Method Summary | |
|---|---|
void |
afterSplit(Graph graph)
This method will be run after the graph was split. |
void |
beforeSplit(Graph graph)
This method will be run before the graph will be split. |
int |
getWall(Graph graph,
Node node,
int index)
Returns the id of the wall for the given node. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SicknessSplitter(java.lang.String[] columns,
java.lang.String[] values)
columns - the array contains all columns, which contains sickness
informations.values - the array contains the values, which describe when the
person is sick.| Method Detail |
|---|
public void beforeSplit(Graph graph)
Splitter
beforeSplit in interface Splittergraph - the Graph objectpublic void afterSplit(Graph graph)
Splitter
afterSplit in interface Splittergraph - the Graph object
public int getWall(Graph graph,
Node node,
int index)
Splitter
getWall in interface Splittergraph - the Graph objectnode - the Node objectindex - the index of the Node in the given Graph
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||