Termination Condition
The original termination condition was to stop after visiting the start pixel for the second time. This limits the set of contours the algorithm will walk completely. An improved stopping condition proposed by Jacob Eliosoff is to stop after entering the start pixel for the second time in the same direction you originally entered it.
Read more about this topic: Moore Neighborhood
Famous quotes containing the words termination and/or condition:
“We hoped for a happy termination of this terrible war long before this; but God knows best, and has ruled otherwise.”
—Abraham Lincoln (18091865)
“Ones condition on marijuana is always existential. One can feel the importance of each moment and how it is changing one. One feels ones being, one becomes aware of the enormous apparatus of nothingnessthe hum of a hi-fi set, the emptiness of a pointless interruption, one becomes aware of the war between each of us, how the nothingness in each of us seeks to attack the being of others, how our being in turn is attacked by the nothingness in others.”
—Norman Mailer (b. 1923)