|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreeplus.tree.TreePlusGraph
public class TreePlusGraph
Initialisiert TreePlusGraph
Constructor Summary | |
---|---|
TreePlusGraph(int[][] graph,
java.util.ArrayList names)
|
Method Summary | |
---|---|
int |
getIndexFromName(java.lang.String name)
|
int[][] |
getMatrix()
Getter for parsed adjacency matrix. |
java.util.ArrayList |
getNames()
Getter for list of names corresponding to row/col names in adjacency matrix. |
void |
setMatrix(int[][] matrix)
Setter for parsed adjacency matrix. |
void |
setNames(java.util.ArrayList names)
Setter for list of names corresponding to row/col names in adjacency matrix. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreePlusGraph(int[][] graph, java.util.ArrayList names)
Method Detail |
---|
public int getIndexFromName(java.lang.String name)
name
-
name
within the ArrayList retrieved by getNames()
.public int[][] getMatrix()
public void setMatrix(int[][] matrix)
matrix
- public java.util.ArrayList getNames()
public void setNames(java.util.ArrayList names)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |