I'm seeking clarification of jogojapan's answer to this question: Ukkonen's suffix tree algorithm in plain English?
Can someone please clarify the following: during step 6 last time the active_point was touched it was set it to (root, 'x', 0)
(however edge starting with 'x' did not exist at that moment). The next time the active point is referred to is in the step 7, as if it's already == (root, **'a'**, 0)
since it was determined (using active_point?) that suffix 'a' is already in the tree and it's only necessary to increment active_length, so the active_point at the end of the step 7 becomes (root, 'a', 1)
.
How has active_point been changed from (root, 'x', 0)
in the step 6 to (root, 'a', 0)
in the step 7?