9point6 / animating-search-algorithms

http://www.csc.liv.ac.uk/~cs8js/4yp
5 stars 0 forks source link

BiDi doesn't work when switching after one run #16

Closed 9point6 closed 12 years ago

9point6 commented 12 years ago

Run BiDI with DFS, for example then reset and run with BFS and the algorithm will not run correctly

jrhiston commented 12 years ago

The issue seems to come from the assignment of alg1 and alg2. The combo box for algorithm selection still doesn't work correctly. For example, you have to change the algorithms for them to register. Also after one run if you change the algorithms so they are different in the combo box, they won't be assigned differently.

When performing AStar, heuristic_choice isn't set for it.

BiDi works on every combination of algorithms, so the problem stems from the combo box :/

9point6 commented 12 years ago

Ah bollocks, okay, I'll get around to fixing that asap