Source

black-hole-solitaire / black-hole-solitaire / c-solver / black_hole_solver.c

Author Commit Message Labels Comments Date
Shlomi Fish
Remove trailing space.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add the support for google_sparse_hash.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Bug fix - did not update the stats in the solver.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Fix an initialisation bug.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add the set_max_iters_limit method.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Now calculating the hash_value in fcs_hash.c - not in the calling scope.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Got rid of existing_key in fc_solve_hash_insert - it was not used.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add bh_solve_get to fcs_hash.c.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Renamed state_raw to state (and got rid of the state macro).
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Got rid of the allocator.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Now storing the struct in a hash item instead of a pointer.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert init_state to a struct instead of a pointer.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert the queue to be a queue of raw states.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Fixed the TOKYO_CAB.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Get rid of the compact allocator in the TOKYO_CAB setting.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Adapted the build system for Tokyo Cabinet.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add the tokyo_cab_hash modules, but did not test it.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
More fc_solve -> bh_solve.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Changed the fc_solve identifier prefix to bh_solve.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add statistics to the output.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add an iterations_num and num_states_in_collection.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add the test suite.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Now displaying the moves (hopefully correctly).
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add the black_hole_solver_get_next_move method.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Fixed a major bug in the Black Hole C solver.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Fixed a bug - now solving board No. 2.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Fixed more similar bit-twiddling bugs.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Fixed a few bugs in the bit twiddling.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add the standalone program.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add black_hole_solver_free.
  1. Prev
  2. 1
  3. 2
  4. Next