sampsaoinonen / TiRa-RouteOptimizer

RouteOptimizer is a navigational tool that uses and compares A* and Fringe Search pathfinding algorithms to find the most efficient route in Helsinki capital region street network.
0 stars 0 forks source link

peer review #1

Open reettap opened 2 weeks ago

reettap commented 2 weeks ago

The project was downloaded on October 2nd at ~11PM. The project runs and all the tests pass.

The code is well structured and mostly clear and well commented. I would have wished the code implementing the algorithms to be a bit more commented — I am still not sure if I understand how the fringe search algorithm is supposed to work. From what is reported by the interface, the fringe search takes about 8 times longer than A*. I am under the impression that it should be faster, but can’t see anything wrong about the code in the immediate.

Also from what I could gather, the A* is supposed to be slower because it is costly to keep the list sorted. I don’t see which part of the code represents the list being kept in order. It might be included, but the code is quite heavy to read, could use more comments and more descriptive naming.

One thing that could be interesting to see, although probably out of scope for this project, is some kind of illustration on the map of the nodes visited by each search algorithm.

Tests look tidy and extensive. Is the purpose of this project to demonstrate the differences of the chosen algorithms, and could such comparison be included in the tests?

Great work overall! I can also see that you’ve put a lot of work into the the UI :)

sampsaoinonen commented 2 weeks ago

Thanks for the feedback!