
Public Member Functions | |
| AdjacencyGraph (Permutation A, Permutation B) | |
| Adjacency[] | getGenomeA () |
| Adjacency[] | getGenomeB () |
| int | numCycles () |
| Returns the number of cycles in the adjacency graph. | |
| int | numLen1Paths () |
| Returns the number of paths in the adjacency graph of length 1. | |
| int | numLen2Cycles () |
| Returns the number of cycles in the adjacency graph of length 2. | |
| int | numOddPaths () |
| Returns the number of paths in the adjacency graph with an odd length. | |
| int | numPaths2 () |
| Returns the number of paths in the adjacency graph of length 2 or more. | |
Private Member Functions | |
| int | countCycles () |
| int | countEdges (Adjacency a) |
| int | countLen2Cycles () |
| int | countOddPaths () |
| int | countPathsGreaterThan2 () |
| int | countSingleEdgePaths () |
| boolean | isCycle (Adjacency a) |
| void | resetVisited (Adjacency a) |
| void | resetVisitedAll () |
Private Attributes | |
| Adjacency[] | adjA |
| Adjacency[] | adjB |
| int | numCycles |
| int | numLen1Paths |
| int | numLen2Cycles |
| int | numOddPaths |
| int | numPathsGreaterThan2 |
|
||||||||||||
|
|
Definition at line 130 of file AdjacencyGraph.java. References adjA, isCycle(), resetVisitedAll(), and org::gel::mauve::dcjx::Adjacency::wasVisited(). Referenced by AdjacencyGraph(). |
|
|
Definition at line 190 of file AdjacencyGraph.java. References org::gel::mauve::dcjx::Adjacency::getE1(), org::gel::mauve::dcjx::Adjacency::getE2(), org::gel::mauve::dcjx::Adjacency::isTelo, org::gel::mauve::dcjx::Adjacency::setVisited(), and org::gel::mauve::dcjx::Adjacency::wasVisited(). Referenced by countLen2Cycles(), countOddPaths(), countPathsGreaterThan2(), and countSingleEdgePaths(). |
|
|
Definition at line 113 of file AdjacencyGraph.java. References adjA, countEdges(), isCycle(), resetVisited(), resetVisitedAll(), and org::gel::mauve::dcjx::Adjacency::wasVisited(). Referenced by AdjacencyGraph(). |
|
|
Definition at line 145 of file AdjacencyGraph.java. References adjA, countEdges(), resetVisitedAll(), and org::gel::mauve::dcjx::Adjacency::wasVisited(). Referenced by AdjacencyGraph(). |
|
|
Definition at line 173 of file AdjacencyGraph.java. References adjA, countEdges(), isCycle(), resetVisited(), resetVisitedAll(), and org::gel::mauve::dcjx::Adjacency::wasVisited(). Referenced by AdjacencyGraph(). |
|
|
Definition at line 159 of file AdjacencyGraph.java. References adjA, countEdges(), resetVisitedAll(), and org::gel::mauve::dcjx::Adjacency::wasVisited(). Referenced by AdjacencyGraph(). |
|
|
Definition at line 56 of file AdjacencyGraph.java. References adjA. |
|
|
Definition at line 60 of file AdjacencyGraph.java. References adjB. |
|
|
Definition at line 217 of file AdjacencyGraph.java. References org::gel::mauve::dcjx::Adjacency::getE1(), org::gel::mauve::dcjx::Adjacency::getE2(), org::gel::mauve::dcjx::Adjacency::isTelo, org::gel::mauve::dcjx::Adjacency::setVisited(), and org::gel::mauve::dcjx::Adjacency::wasVisited(). Referenced by countCycles(), countLen2Cycles(), and countPathsGreaterThan2(). |
|
|
Returns the number of cycles in the adjacency graph.
Definition at line 79 of file AdjacencyGraph.java. |
|
|
Returns the number of paths in the adjacency graph of length 1.
Definition at line 99 of file AdjacencyGraph.java. |
|
|
Returns the number of cycles in the adjacency graph of length 2.
Definition at line 89 of file AdjacencyGraph.java. |
|
|
Returns the number of paths in the adjacency graph with an odd length.
Definition at line 70 of file AdjacencyGraph.java. |
|
|
Returns the number of paths in the adjacency graph of length 2 or more.
Definition at line 109 of file AdjacencyGraph.java. References numPathsGreaterThan2. Referenced by org::gel::mauve::dcjx::DCJ::calculateDistances(). |
|
|
Definition at line 241 of file AdjacencyGraph.java. References org::gel::mauve::dcjx::Adjacency::getE1(), org::gel::mauve::dcjx::Adjacency::getE2(), org::gel::mauve::dcjx::Adjacency::isTelo, org::gel::mauve::dcjx::Adjacency::resetVisited(), and org::gel::mauve::dcjx::Adjacency::wasVisited(). Referenced by countLen2Cycles(), and countPathsGreaterThan2(). |
|
|
Definition at line 232 of file AdjacencyGraph.java. References adjA, adjB, and org::gel::mauve::dcjx::Adjacency::resetVisited(). Referenced by countCycles(), countLen2Cycles(), countOddPaths(), countPathsGreaterThan2(), and countSingleEdgePaths(). |
|
|
Definition at line 5 of file AdjacencyGraph.java. Referenced by AdjacencyGraph(), countCycles(), countLen2Cycles(), countOddPaths(), countPathsGreaterThan2(), countSingleEdgePaths(), getGenomeA(), and resetVisitedAll(). |
|
|
Definition at line 9 of file AdjacencyGraph.java. Referenced by AdjacencyGraph(), getGenomeB(), and resetVisitedAll(). |
|
|
Definition at line 11 of file AdjacencyGraph.java. Referenced by AdjacencyGraph(), org::gel::mauve::dcjx::DCJ::calculateDistances(), org::gel::mauve::dcjx::DCJ::computeDCJ(), and org::gel::mauve::dcjx::VestigialDCJ::main(). |
|
|
Definition at line 17 of file AdjacencyGraph.java. Referenced by AdjacencyGraph(), and org::gel::mauve::dcjx::DCJ::calculateDistances(). |
|
|
Definition at line 15 of file AdjacencyGraph.java. Referenced by AdjacencyGraph(), and org::gel::mauve::dcjx::DCJ::calculateDistances(). |
|
|
Definition at line 13 of file AdjacencyGraph.java. Referenced by AdjacencyGraph(), org::gel::mauve::dcjx::DCJ::calculateDistances(), org::gel::mauve::dcjx::DCJ::computeDCJ(), and org::gel::mauve::dcjx::VestigialDCJ::main(). |
|
|
Definition at line 19 of file AdjacencyGraph.java. Referenced by AdjacencyGraph(), and numPaths2(). |
1.3.6