Have to catch up
|
Bad weekend. Due to the unexpected death of a family member i was unable to get any work done as opposed to the things i had planned. Monday was better however as i was able to both get good work done during the morning, managed to follow the lecture on the afternoon and crunch numbers during the evening. This is required as i am still not done with the first part of the assignment, although i’m getting closer by the minute. On the morning i kept working on having each of the functions work as intended with my specific list and mostly just removed the occasional error i had made which made a pointer point the wrong way when removing a node, resulting in another pointer being set wrong. I managed to get everything working and started looking into unit testing before lunch. During the afternoon lecture i was able to follow the presentation better than usual, (there were pictures) we learned how assigning a texture to a plane in DirectX works and redid our cube exercise from last Friday, thankfully i managed to find my old coordinates for the triangles so i didn’t have to redo them again. During the evening i was brought to attention that my list did not contain every specific case of removing a node from the binary search tree so i spent the evening writing up a list which would result in a tree containing all relevant constellations of nodes with or without children. I also added this list to the program. Earlier when writing the erase function i noticed that when removing a node with children who in turn have children, only the ‘grandchildren’ between the two children matter. |