summaryrefslogtreecommitdiff
path: root/sim.h
AgeCommit message (Collapse)Author
2019-07-21Move simulate code to a new static function.John Fultz
The code running the simulation is now disconnected from the Simulation class, with appropriate members being copied into a SimmedMoveConstants field (read-only, thread-safe) and a SimmedMoveMessage (the class for communicating per-sim data to and from external threads). The newly added static function, Simulate::simulateOnePosition(), should now be thread-safe and usable as a run function for a thread.
2019-07-21Rework the simulation messaging.John Fultz
Break out things that are effectively constant into a separate struct so we don't have to keep initializing them. Also, ensure that all of the things I forgot are abstracted so I can break out the per-move simulation into a different function.
2019-07-21Migrate more stuff into sim messages.John Fultz
2019-07-21Move sim toward a message passing model.John Fultz
In prep for allowing sims to be handed off to a thread pool.
2019-02-04After discussion with Jason/John, add myself as a copyright holder.John Fultz
Also, extend copyright to 2019.
2014-09-02Change GPL file headers to v3.John Fultz
Not a very interesting commit...only changes in comments.
2013-08-25Initial git commit.Jason Katz-Brown