Open fstonedahl opened 7 years ago
At this point, I believe everything is thread-safe, but for multi-threaded runs, lines in the output CSV files may come out in a non-strictly-increasing order (similar to how BehaviorSpace works now.)
Could use the evaluationCount (in BSProblem) that we're getting from the Futures in order to sort the resulting output, using a "sorting buffer" of some kind?
But probably simpler to just ask the users to sort the files afterwards (if they even care that it's sorted order).
Need output file writing and StatsKeeper (and JavaFX UI?) to all be thread safe... maybe change to using an event model that queues up update event objects?
Use MiniFireFastOrSlowRunningTime.bsearch to try to test this?