Classes | |
| class | AncestorIterator | 
| class | DescendantIterator | 
| class | Edge | 
| class | EdgeIterator | 
Public Member Functions | |
| void | addEdge (int fromNode, int toNode) | 
| Iterator | getAncestorIterator (int node) | 
| Iterator | getDescendantIterator (int node) | 
| Iterator | getEdgeIterator () | 
| int | getNumEdges () | 
| int | getNumNodes () | 
| Object | getTag (int fromNode, int toNode) | 
| GraphMatrix (int numNodes) | |
| boolean | hasEdge (int fromNode, int toNode) | 
| void | setTag (int fromNode, int toNode, Object tag) | 
Protected Member Functions | |
| void | initTags () | 
Protected Attributes | |
| BitSet[] | matrix | 
| int | numEdges | 
| int | numNodes | 
| Object[][] | tags | 
Definition at line 33 of file GraphMatrix.java.
| utils.GraphMatrix.GraphMatrix | ( | int | numNodes | ) |  [inline] | 
        
Definition at line 55 of file GraphMatrix.java.
| void utils.GraphMatrix.addEdge | ( | int | fromNode, | 
| int | toNode | ||
| ) |  [inline] | 
        
Definition at line 73 of file GraphMatrix.java.
| Iterator utils.GraphMatrix.getAncestorIterator | ( | int | node | ) |  [inline] | 
        
Definition at line 118 of file GraphMatrix.java.
| Iterator utils.GraphMatrix.getDescendantIterator | ( | int | node | ) |  [inline] | 
        
Definition at line 127 of file GraphMatrix.java.
| Iterator utils.GraphMatrix.getEdgeIterator | ( | ) |  [inline] | 
        
Definition at line 109 of file GraphMatrix.java.
| int utils.GraphMatrix.getNumEdges | ( | ) |  [inline] | 
        
Definition at line 69 of file GraphMatrix.java.
| int utils.GraphMatrix.getNumNodes | ( | ) |  [inline] | 
        
Definition at line 65 of file GraphMatrix.java.
| Object utils.GraphMatrix.getTag | ( | int | fromNode, | 
| int | toNode | ||
| ) |  [inline] | 
        
Definition at line 100 of file GraphMatrix.java.
| boolean utils.GraphMatrix.hasEdge | ( | int | fromNode, | 
| int | toNode | ||
| ) |  [inline] | 
        
Definition at line 81 of file GraphMatrix.java.
| void utils.GraphMatrix.initTags | ( | ) |  [inline, protected] | 
        
Definition at line 86 of file GraphMatrix.java.
| void utils.GraphMatrix.setTag | ( | int | fromNode, | 
| int | toNode, | ||
| Object | tag | ||
| ) |  [inline] | 
        
Definition at line 91 of file GraphMatrix.java.
BitSet [] utils.GraphMatrix.matrix [protected] | 
        
Definition at line 39 of file GraphMatrix.java.
int utils.GraphMatrix.numEdges [protected] | 
        
Definition at line 37 of file GraphMatrix.java.
int utils.GraphMatrix.numNodes [protected] | 
        
Definition at line 35 of file GraphMatrix.java.
Object [][] utils.GraphMatrix.tags [protected] | 
        
Definition at line 41 of file GraphMatrix.java.