Please send questions to
st10@humboldt.edu .
/**
* Cs132Vertex - an interface for something suitable to be a vertex
* within Cs132Graph
*
* @author Sharon Tuttle
* @version 5-1-03
*/
public interface Cs132Vertex
{
/*-----------------------------------------------------------------
getKey()
Purpose: returns the value of the key for this vertex
--------------------------------------------------------------------*/
public Comparable getKey();
/*---------------------------------------------------------------
getVisited()
Purpose: gets the "visited" flag value for this vertex.
-----------------------------------------------------------------*/
public boolean getVisited();
/*---------------------------------------------------------------
setVisited()
Purpose: sets the "visited" flag value for this vertex to the passed
boolean value visVal.
-----------------------------------------------------------------*/
public void setVisited(boolean visVal);
}