Package | Description |
---|---|
org.geotools.graph.path | |
org.geotools.graph.traverse | |
org.geotools.graph.traverse.basic | |
org.geotools.graph.traverse.standard | |
org.geotools.graph.util.graph |
Modifier and Type | Method and Description |
---|---|
GraphTraversal |
DijkstraShortestPathFinder.getTraversal() |
Modifier and Type | Method and Description |
---|---|
int |
DijkstraShortestPathFinder.visit(Graphable element,
GraphTraversal traversal)
Does nothing except signal the traversal to continue.
|
int |
AStarShortestPathFinder.visit(Graphable element,
GraphTraversal traversal) |
Modifier and Type | Method and Description |
---|---|
GraphTraversal |
GraphIterator.getTraversal()
Returns the traversal for the iterator.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphIterator.cont(Graphable current,
GraphTraversal traversal)
Signals to the iterator that iteration should continue from the current component in the
traversal.
|
void |
GraphIterator.init(Graph graph,
GraphTraversal traversal)
Signals to the itereator that iteration is about to begin.
|
void |
GraphIterator.killBranch(Graphable current,
GraphTraversal traversal)
Signals the iterator to kill the branch at the current component.
|
Graphable |
GraphIterator.next(GraphTraversal traversal)
Returns the next graph component in the iteration.
|
void |
GraphIterator.setTraversal(GraphTraversal traversal)
Sets the traversal for the iterator.
|
int |
GraphWalker.visit(Graphable element,
GraphTraversal traversal)
Visits a graph component.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicGraphTraversal
A basic implementation of GraphTraversal.
|
class |
StagedGraphTraversal
TODO: DOCUMENT ME!
|
Modifier and Type | Method and Description |
---|---|
GraphTraversal |
AbstractGraphIterator.getTraversal() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractGraphIterator.setTraversal(GraphTraversal traversal) |
int |
CountingWalker.visit(Graphable element,
GraphTraversal traversal)
Sets the count of the component and increments the counter.
|
int |
DummyGraphWalker.visit(Graphable element,
GraphTraversal traversal)
Returns the continue signal.
|
int |
SimpleGraphWalker.visit(Graphable element,
GraphTraversal traversal)
Defers to the underlying visitor.
|
Modifier and Type | Method and Description |
---|---|
void |
DirectedDepthFirstIterator.cont(Graphable current,
GraphTraversal traversal) |
void |
NoBifurcationIterator.cont(Graphable current,
GraphTraversal traversal)
Searches for the next node to be returned in the iteration.
|
void |
BreadthFirstIterator.cont(Graphable current,
GraphTraversal traversal)
Looks for nodes adjacent to the current node to place into the node queue.
|
void |
AStarIterator.cont(Graphable current,
GraphTraversal traversal)
Makes a step of the A* algorithm.
|
void |
DirectedBreadthFirstIterator.cont(Graphable current,
GraphTraversal traversal) |
void |
BreadthFirstTopologicalIterator.cont(Graphable current,
GraphTraversal traversal)
Continues the iteration by incrementing the counters of any unvisited nodes related to the
current node.
|
void |
DirectedBreadthFirstTopologicalIterator.cont(Graphable current,
GraphTraversal traversal) |
void |
DijkstraIterator.cont(Graphable current,
GraphTraversal traversal)
Looks for adjacent nodes to the current node which are in the adjacent node and updates
costs.
|
void |
NoBifurcationIterator.init(Graph graph,
GraphTraversal traversal)
Does nothing.
|
void |
BreadthFirstIterator.init(Graph graph,
GraphTraversal traversal)
Does nothing.
|
void |
AStarIterator.init(Graph graph,
GraphTraversal traversal)
Does Nothing.
|
void |
BreadthFirstTopologicalIterator.init(Graph graph,
GraphTraversal traversal)
Creates the active queue, and populates it with all nodes of degree less than 2.
|
void |
DirectedBreadthFirstTopologicalIterator.init(Graph graph,
GraphTraversal traversal) |
void |
DijkstraIterator.init(Graph graph,
GraphTraversal traversal)
Builds internal priority queue to manage node costs.
|
void |
NoBifurcationIterator.killBranch(Graphable current,
GraphTraversal traversal)
Kills the current branch of the iteration by explicitly setting the next node to be returned
to null.
|
void |
BreadthFirstIterator.killBranch(Graphable current,
GraphTraversal traversal)
Kills the current branch by not looking for any adjacent nodes to place into the node queue.
|
void |
AStarIterator.killBranch(Graphable current,
GraphTraversal traversal)
Kills the branch of the traversal
|
void |
BreadthFirstTopologicalIterator.killBranch(Graphable current,
GraphTraversal traversal)
Kills the current branch of the traversal by not incremening the counters of any related
nodes.
|
void |
DirectedBreadthFirstTopologicalIterator.killBranch(Graphable current,
GraphTraversal traversal) |
void |
DijkstraIterator.killBranch(Graphable current,
GraphTraversal traversal)
Kills the branch of the traversal by not updating the cost of any adjacent nodes.
|
Graphable |
NoBifurcationIterator.next(GraphTraversal traversal)
The next node in the iteration is the first node found adjacent to the current node that is
non visited and of degree less than 2.
|
Graphable |
BreadthFirstIterator.next(GraphTraversal traversal)
Returns the next node from the node queue that has not yet been visited.
|
Graphable |
AStarIterator.next(GraphTraversal traversal)
Returns the next node in the priority queue. if the queue is empty then there is no path from
the source to the destiny in this graph.
|
Graphable |
BreadthFirstTopologicalIterator.next(GraphTraversal traversal)
Returns the next node in the active node queue.
|
Graphable |
DirectedBreadthFirstTopologicalIterator.next(GraphTraversal traversal) |
Graphable |
DijkstraIterator.next(GraphTraversal traversal)
Returns the next node in the priority queue.
|
Modifier and Type | Method and Description |
---|---|
int |
GraphPartitioner.visit(Graphable element,
GraphTraversal traversal)
Adds the element to the current partition.
|
int |
CycleDetector.visit(Graphable element,
GraphTraversal traversal)
Increments the count of nodes visited.
|
Copyright © 1996–2019 Geotools. All rights reserved.