Table of Contents
Visualizes visiting of neighbors by calling the Neighborhood method of graph for v and allowing to iterate over it, while coloring (v,w) cTraversedEdge unless (v,w) is colored with one of the colors in leaveColors.
#Neighborhood = lambda v,a=A,g=G: AnimatedNeighborhood(a,g,v,['red'])
#for w in Neighborhood(v):
will color all edges cTraversedEdge unless the edge has been colored
if a blinkColor is specified the edge will blink
Table of ContentsThis document was automatically generated on Fri Mar 15 11:15:02 2002 by HappyDoc version 2.0