main executing reference usages:
a. dynamicVariableNaming.m : a Composite object (Structural in terms of design patterns) as part of an interpretor simulator for collecting variable data.
2. usage_subjectElement_WorldWithinWorlds.m : demonstrate composites with composite
a. subjectElement.m : a Composite object
3. usage_CreateBinaryTreeManually_Partial : an example of using a node to create a binary tree (manual and partial example)
a. node.m : node object
1. For reference only.
2. Only for behavior observation.
If the illustrative demo has more elegant presentation, please do not hesitate to suggest and send feedback to the author.
Michael Chan JT
added a 3rd example of using a node object to create a binary tree (manual and partial example)
Added a 2nd example to demonstrate composites with composite.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.