Changes between Version 14 and Version 15 of week7+
- Timestamp:
- 07/30/08 12:24:50 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
week7+
v14 v15 24 24 That might be the solution. 25 25 ---- 26 Here is the hybrid solution:[[BR]]26 '''Here is the hybrid solution: '''[[BR]] 27 27 We'll browse the tasklist tree recursively in order to keep the link between the if and all that. At each recursion we'll generate a RequestList which will contain the exec of this level and the if condition for the next level. We'll check the result of the "if" by applying the condition. If it matches we'll call the same method on the ifOK node. on the contrary we'll call the ifnotOK node in the function.[[BR]] 28 28 '''Don't forget to check that the node is not null at the beginning. If it is , just return'''[[BR]] 29 This way we'll keep the simple architecture already settled in the project and we'll also add the simplicity of the recursion. Therefore it might be easy to understand and quite clear. However this will cause major changes in the UnicornCall class.
