aboutsummaryrefslogtreecommitdiff
path: root/src/main/solver/solver.cpp
AgeCommit message (Collapse)AuthorLines
2019-01-27Reorganise repoTom Harley-318/+0
All solvitaire content has been shoved into a subdirectory to tidy up the root of the project. This also means solvitaire is treated similarly to other dependencies of the project, and allows other dependencies to be added easily. There's also a lot of other work done here, such as usign a thread pool library to manage the running of the voters.
2019-01-24It works with fortune's favorTom Harley-1/+1
It seems to be consistently running to completion successfully! It's been renamed to `metasol` for now, since that's a better name than `test`. Next step will probably be eliminating the namespace pollution in `metasol.cpp`.
2018-10-14Add terminated statusthecharlesblake-1/+17
2018-10-13Another attempt to fix comma bugthecharlesblake-1/+1
2018-09-20Fix comma bug with solvaibility percentage modethecharlesblake-7/+1
2018-09-16Change vbar csv to comma and add overall sol colthecharlesblake-5/+5
2018-09-02Change first comma to bar on outputthecharlesblake-2/+2
2018-09-02Remove extra comma when streamliner solvesthecharlesblake-1/+1
2018-07-26Add csv output to single deal and init sol scriptCharlie Blake-0/+63
2018-07-26Make timeout operate using single threadCharlie Blake-77/+84
2018-07-23Small bug fixes inc found. base card & whole pilesCharlie Blake-1/+0
2018-07-18Add accordion move makingCharlie Blake-1/+2
2018-07-14Add random gen and state print for accordionCharlie Blake-1/+1
2018-07-11Add sequence state printing and fix small bugsCharlie Blake-8/+1
2018-07-06Refactored game rules JSONCharlie Blake-1/+11
2018-06-20Change sol output to csv and refactor results dirCharlie Blake-10/+25
2018-06-19Reduce memory taken up by dfs datastructuresCharlie Blake-41/+37
2018-06-15Log cache clearances in solvability outputCharlie Blake-0/+4
2018-06-14Simplify solvability script and make atomicCharlie Blake-0/+8
2018-06-13Add cache capacity command line optionCharlie Blake-9/+8
2018-06-12Add lru cache with elems limitCharlie Blake-21/+39
2018-06-11Speedup build and add lru cacheCharlie Blake-3/+3
2018-06-08Refactor moves logicCharlie Blake-4/+4
2018-06-08Refactor legal moves gen and moves logicCharlie Blake-19/+22
2018-06-07Add more detailed logging info about search solsCharlie Blake-9/+14
2018-06-07Remove depth cutoff from solver classCharlie Blake-33/+22
2018-04-06Add streamliner & both, fix auto-founds bugthecharlesblake-4/+0
2018-04-06Add benchmark cmd line optionthecharlesblake-0/+6
2018-04-04Add legal move gen tests and refactorthecharlesblake-6/+5
2018-03-08Add ID search to solver for short solsthecharlesblake-26/+50
2018-03-08Fix strange segfault errorthecharlesblake-1/+15
2018-02-24Add card just moved optimisation to game logicthecharlesblake-3/+10
2018-02-23Fix double call to gen legal moves in solverthecharlesblake-2/+3
2018-02-23Change next moves from list to vectorthecharlesblake-0/+1
2018-02-15Fix solver bug for instant-solve gamesthecharlesblake-8/+12
2018-02-14Update solver logic: simpler & handles dominancesthecharlesblake-62/+107
2018-01-30Update solver: cache uses game state not pile vecthecharlesblake-5/+5
2018-01-25Refactor game_state & cache to remove static hackthecharlesblake-5/+5
2018-01-24Fix profiling problem and improve instructionsthecharlesblake-1/+8
2018-01-18Removes unnecessary assert statement bugthecharlesblake-1/+0
2018-01-18Update solver to use new cachethecharlesblake-6/+7
2018-01-10Add asserts to program and fix bugs they raisethecharlesblake-2/+6
2018-01-08Add game logic for built pile (AA) and refactorthecharlesblake-1/+1
2018-01-03Move game state printing into dedicated classthecharlesblake-1/+0
2018-01-03Refactor io dir structurethecharlesblake-1/+1
2018-01-03Major refactor, putting pile logic into game_statethecharlesblake-3/+3
Much of the logic that was in the pile class was beginning to seem out of place. A lot of the rules have fairly arbitrary interactons *between* piles, which weren't best represented in the pile classes themselves, which were getting unweildy and inefficient. Hence, much of this logic has been moved to the game state class.
2018-01-01Fix bug in solver - improper ref to vector elementthecharlesblake-9/+10
2017-12-31Make solver representation efficientthecharlesblake-54/+61
2017-12-27First sp test workingthecharlesblake-3/+1
2017-12-25Add necessary features for profilerthecharlesblake-0/+2
2017-11-15Change history to boost multi-index mapthecharlesblake-11/+9
2017-11-12Refactor solverthecharlesblake-11/+8
2017-11-12Improve game state gen + run() returns opt<sol>thecharlesblake-26/+32
2017-11-11Update loggingthecharlesblake-1/+1
2017-11-11Add src file directory structurethecharlesblake-0/+82