Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:8e80217e59
[formerly3360eb6c5f
] Former-commit-id:377dcd10b9
2 lines
472 B
Text
2 lines
472 B
Text
We can simulate holographic processing by making multiple passes through the tree, traversing it top-down and executing the methods at each node until no changes are made to the tree. Each method may return a "DONE" flag to indicate it's job is done and it should not be executed again. This introduces the potential for infinite loops -- what if methods are not well-coordinated and we continue to make passes which alter the tree? For this, we provide a safety net.
|
|
|