public class VisualTraverseVisitor extends Object implements TraverseVisitor
Constructor and Description |
---|
VisualTraverseVisitor(ShowGraph gui) |
Modifier and Type | Method and Description |
---|---|
void |
visitEdge(Edge edge,
State state)
Called when A* explores an edge
|
void |
visitEnqueue(State state)
Called when A* enqueues a vertex
|
void |
visitVertex(State state)
Called when A* dequeues a vertex
|
public VisualTraverseVisitor(ShowGraph gui)
public void visitEdge(Edge edge, State state)
TraverseVisitor
visitEdge
in interface TraverseVisitor
public void visitVertex(State state)
TraverseVisitor
visitVertex
in interface TraverseVisitor
public void visitEnqueue(State state)
TraverseVisitor
visitEnqueue
in interface TraverseVisitor
Copyright © 2019. All rights reserved.