.. (לתיקייה המכילה) | ||
What is correct DFS order ? | |
- start from the root - foreach node , start from its left ( first ) son till the rigth son ( last ) and visit by DFS the order of the children is determined by the insertion of the child, internal nodes are added when needed, and they are not always added as last children ( see examples in the HW ). |
Can I add/change the abstract class IHierarchySpecification ? | |
NO. also notice that the implementation of the hierarchyManaager shouldn't know any thing about the concrete class that is passed as parameter to its constructor. |
Can we assume that the Tree ( represented by the class HierarchyManager ) | |
Yes. |
What should be the behaviour of operator++ of the Iterator when it scans all | |
Your choice. |