Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-14 | Fix order of adding edges | JSDurand | |
* incremental.rs: A call to `add_edge` was placed at the wrong place. | |||
2023-03-14 | Implement the correct solution | JSDurand | |
Now the correct solution, as suggested by the professor, is implemented as the function `smi`. :D | |||
2023-03-11 | optimize the implementation | JSDurand | |
Now the double for loop is eliminated and the time complexity is indeed O(n log(n)). Also added (micro)-benchmarks to roughly confirm the time complexity is as predicted. | |||
2023-03-09 | Minor modifications | JSDurand | |
2023-03-09 | complete algorithm implementation | JSDurand | |
The sorting function is complete, and accepts any type that has a partial order. |