Visualizes status of vertices in relation to the Set by
coloring them
Methods
|
|
Add
Contains
IsEmpty
IsNotEmpty
Remove
Set
__init__
|
|
Add
|
Add ( self, v )
Add a single vertex v
|
|
Contains
|
Contains ( self, v )
|
|
IsEmpty
|
IsEmpty ( self )
|
|
IsNotEmpty
|
IsNotEmpty ( self )
|
|
Remove
|
Remove ( self, v )
|
|
Set
|
Set ( self, vertexSet )
Sets the set equal to a copy of vertexSet
|
|
__init__
|
__init__ (
self,
theAnimator,
vertexSet=None,
color=cVisited,
)
theAnimator will usually be the GraphDisplay(Frame/Toplevel)
|
|