|
|
Vertex Interface
|
| void
|
clearMark ()
Unmarks the vertex.
|
| Object
|
getLabel ()
Returns the vertex's label.
|
| boolean
|
isMarked ()
Returns true if the vertex is marked,
else returns false.
|
| void
|
setLabel (Object label, Graph g)
Changes the vertex's label to the
specified label. Throws an exception if (1) either the specified label or graph is null or
(2) the specified graph already contains another vertex with the specified label.
|
| void
|
setMark ()
Marks the vertex.
|
| String
|
toString ()
Returns a string representation of this
vertex.
|