public class TimeDirectedSortedDepthFirstIterator extends SortedDepthFirstIterator<Spot,org.jgrapht.graph.DefaultWeightedEdge>
comparator, seen, specifics
Constructor and Description |
---|
TimeDirectedSortedDepthFirstIterator(org.jgrapht.Graph<Spot,org.jgrapht.graph.DefaultWeightedEdge> g,
Spot startVertex,
Comparator<Spot> comparator) |
Modifier and Type | Method and Description |
---|---|
protected void |
addUnseenChildrenOf(Spot vertex)
This is where we add the multiple children in proper sorted order.
|
encounterVertex, encounterVertexAgain, hasNext, next
addTraversalListener, createEdgeTraversalEvent, createVertexTraversalEvent, fireConnectedComponentFinished, fireConnectedComponentStarted, fireEdgeTraversed, fireVertexFinished, fireVertexTraversed, getGraph, isCrossComponentTraversal, isReuseEvents, remove, removeTraversalListener, setCrossComponentTraversal, setReuseEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public TimeDirectedSortedDepthFirstIterator(org.jgrapht.Graph<Spot,org.jgrapht.graph.DefaultWeightedEdge> g, Spot startVertex, Comparator<Spot> comparator)
protected void addUnseenChildrenOf(Spot vertex)
SortedDepthFirstIterator
addUnseenChildrenOf
in class SortedDepthFirstIterator<Spot,org.jgrapht.graph.DefaultWeightedEdge>
Copyright © 2015–2021 Fiji. All rights reserved.