Class: BlinkingTrackLastNeighborhood | ./AnimatedDataStructures.py | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Visualizes visiting blinking (v,w) for all w when iterating over the Neighborhood. It also temporarily keeps the the last blinked edge grey #Neighborhood = lambda v,a=A,g=G: BlinkingTrackLastNeighborhood(a,g,v,c,track) # #for w in Neighborhood(v): # doSomething will blink all edges with color c, the last blinked is tracked with color track
|