Uses of Class
Vertex

Uses of Vertex in <Unnamed>
 

Fields in <Unnamed> declared as Vertex
(package private)  Vertex[] MazeExplorer.Room.dir
           
(package private)  Vertex MazeExplorer.Room.v
           
 Vertex[] Maze.vertices
           
 

Fields in <Unnamed> with type parameters of type Vertex
(package private)  java.util.LinkedList<Vertex> Vertex.connect
           
(package private)  java.util.LinkedList<Vertex> MazeExplorer.Room.exits
           
(package private)  java.util.Stack<Vertex> MazeSolver.path
           
 

Methods in <Unnamed> that return Vertex
 Vertex Maze.getEnd()
           
 Vertex Maze.getStart()
           
 

Methods in <Unnamed> with parameters of type Vertex
 void Vertex.connect(Vertex v)
          Add v to the list of connections
 boolean Vertex.connected(Vertex v)
          Are v and this connected?
 void Maze.dewall(Vertex v, Vertex w)
          Connect the two given vertices
 void Vertex.disconnect(Vertex v)
          Remove v from the list of connections
 void Maze.insertDisj(Vertex v)
          Insert a single vertex
 void Maze.insertGraph(Vertex v, Vertex w)
          Insert a pair of connected vertices
 boolean Maze.trace(java.util.Stack<Vertex> st, Vertex s, Vertex e)
          Find out if there is a path between the two vertex params
 

Method parameters in <Unnamed> with type arguments of type Vertex
static void MazeSolver.printPath(java.util.Stack<Vertex> stack)
          The stack contains the path in reverse order, so pop into another stack, then pop and print.
 boolean Maze.trace(java.util.Stack<Vertex> st, Vertex s, Vertex e)
          Find out if there is a path between the two vertex params
 

Constructors in <Unnamed> with parameters of type Vertex
MazeExplorer.Room(Vertex v, Maze maze, java.util.Scanner scan)
          Finds out which directions the user can move in