20 Commits

Author SHA1 Message Date
f142b2127d Make code C89-compliant 2023-03-03 00:23:38 +00:00
98a99ac340 Run 8 solving threads in parallel 2022-11-25 00:13:19 +00:00
516c9f5f55 Write program to evaluate results 2022-11-25 00:04:05 +00:00
072c3db45b Save results to file instead of checking puzzles while solving 2022-11-24 18:18:49 +00:00
4a2cfb392f Cast NSUD to double when calculating solved percentage 2022-11-24 00:01:42 +00:00
2ca91dec99 Run puzzles from file in main() 2022-11-23 23:44:39 +00:00
5622e2ec9f Remove printing from runbench() 2022-11-23 18:14:20 +00:00
3fa089e4af Pass benchmark results out via pointer 2022-11-23 18:07:54 +00:00
37e7c6481a Make fill proportion a parameter to gen() 2022-11-23 17:56:12 +00:00
71db045c9f Seperate logic in main() into genpuzzles() and runbench() 2022-11-23 17:45:17 +00:00
a1c71f8f06 Reduce number of puzzles in benchmark 2022-11-23 17:14:47 +00:00
6ce468bb0d Remove additional newline from seed printout 2022-11-23 17:14:01 +00:00
d74b5410b6 Add number of passes to benchmark output 2022-11-23 15:46:21 +00:00
07c1fc7a0f Only report success rate and average time in benchmark summary 2022-11-23 15:23:11 +00:00
14eb8533e6 Add timing to benchmarks 2022-11-23 15:19:06 +00:00
ef7f0f0f73 Alter main() to run benchmark instead of single puzzle 2022-11-23 14:54:42 +00:00
4feaedf1a3 Create basic, rule-based solver 2022-11-21 19:24:34 +00:00
5ae7a18227 Get seed from /dev/urandom instead of using time(2) 2022-11-21 19:22:16 +00:00
512580ab27 Implement basic generation and printing
I expect this will probably generate some impossible puzzles, but I'll
deal with that later.
2022-11-21 14:07:53 +00:00
abc98edac9 Create project skeleton 2022-11-21 13:00:20 +00:00