Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-26 | Rework node constructor and general procedure API | Aryadev Chavali | |
Node constructor is now completely default constructed i.e. no constructor arguments required. The iterate function takes the queue by reference, so it can update the caller's state. Finally, to_string for a Node now uses the node allocator and an index to print out trees. Seems simpler and more in line with the current implementation. | |||
2024-07-26 | Made header file for a separate numerics file | Aryadev Chavali | |
Separates the (basically) completed cw_tree implementation in a separate module so we can spend time implementing graphics in main. NOTE: nodes are now generated from a node allocator, which just wraps around the vector. We also take an allocator and queue by reference in the iterate procedure now. |