The internal graph representation and management routines are in the source file age_global_graph.c.
For this task, please do the following -
- Review the above source code and try to get a general understanding of how the graph is represented and managed.
- Provide feedback, as necessary, for self documentation of that file.
- Provide feedback, as necessary, for potential improvements of the logic or representation, if found.
- Create regression tests, to test the memory management routines.
Task 4 will arguably be the most difficult as you will need to have a good understanding from task 1.
Additionally, you may need to look at age_graphid_ds.c and age_vle.c to get a more complete picture of the in memory organization.
Please comment on the task when you start and finish it, in addition to anything that you find along the way.