TimFinucane / Ainur

Solution for parallel task scheduling problem, inspired by the tale of the Lord of the Rings
Other
5 stars 0 forks source link

Multithreading for A* not working for many threads #106

Closed maddiebeagley closed 6 years ago

maddiebeagley commented 6 years ago

This could be due to the JUnit bug we have previously identified, but definitely worth verifying thoroughly using command line that correct answers are produced when the algorithm is executed on many (fails for 40 for some) threads.

emipeanz commented 6 years ago

Something to do with getting the global best. It updates the global best from Integer.Max to new best and continues along the correct path (ie getting global schedule = optimal solution), however, when asking at the end of the test for global best, it just gets the original massive integer value returned?

emipeanz commented 6 years ago

Closed via pull request