| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Avoid duplicate lookups for tasks | Sebastiano Tronto | 2026-01-09 | 1 | -6/+7 |
| | | |||||
| * | Probably fix performance for short solutions, big tables | Sebastiano Tronto | 2026-01-09 | 1 | -1/+23 |
| | | |||||
| * | Improve visited nodes count | Sebastiano Tronto | 2026-01-09 | 1 | -4/+4 |
| | | |||||
| * | Small cleanup | Sebastiano Tronto | 2026-01-08 | 1 | -5/+3 |
| | | |||||
| * | Add back simple check, almost irrelevant | Sebastiano Tronto | 2026-01-08 | 1 | -0/+4 |
| | | |||||
| * | Skip pipeline if target == 0 | Sebastiano Tronto | 2026-01-08 | 1 | -14/+26 |
| | | |||||
| * | unswitch | Sebastiano Tronto | 2026-01-08 | 1 | -40/+62 |
| | | |||||
| * | Prefetch | Sebastiano Tronto | 2025-12-28 | 1 | -2/+5 |
| | | |||||
| * | cleanup | Sebastiano Tronto | 2025-12-28 | 1 | -21/+15 |
| | | |||||
| * | H48 prune pipeline | Sebastiano Tronto | 2025-12-28 | 1 | -348/+170 |
| | | |||||
| * | Use pval from cocsepdata, but there is no improvement | Sebastiano Tronto | 2025-12-24 | 1 | -11/+17 |
| | | |||||
| * | First small improvements | Sebastiano Tronto | 2025-12-24 | 1 | -10/+235 |
| | | |||||
| * | Minor improvement | Sebastiano Tronto | 2025-12-19 | 1 | -2/+7 |
| | | | | | | | | | | Add a trivial check to H48 solver. The benchmarks show, surprisingly, a more noticeable improvement for larger solvers (h10, h11). I was expecting it to be more noticeable for smaller solvers. It is likely that this change is irrelevant to performance and all changes in the benchmark results are just random chance. | ||||
| * | Improve pruning value fetching and re-do benchmarks | Sebastiano Tronto | 2025-12-17 | 1 | -20/+16 |
| | | |||||
| * | Move some checks around, small improvement | Sebastiano Tronto | 2025-12-17 | 1 | -11/+9 |
| | | |||||
| * | Cleanup, update documentation, fix examples | Sebastiano Tronto | 2025-12-14 | 1 | -12/+8 |
| | | |||||
| * | Bye bye h0k4 | Sebastiano Tronto | 2025-12-14 | 1 | -48/+13 |
| | | |||||
| * | Intertwined table seems to work | Sebastiano Tronto | 2025-12-14 | 1 | -3/+27 |
| | | |||||
| * | Fix duplicate solutions, overflow in maxsols and improve symmetry reduction ↵ | Sebastiano Tronto | 2025-11-24 | 1 | -37/+41 |
| | | | | | | | | | | | | | for H48. This commit fixes two bugs: - A bug that caused duplicates solutions for symmetric scrambles. - An overflow in the maxsols parameter for the H48 solver, which caused it to find much fewer solutions than existed. Moreover, the H48 solvers has been improved by reducing by symmetry not only from the starting position, but also up to the first 4 moves. | ||||
| * | Wrapped pthread use in custom API | Sebastiano Tronto | 2025-08-11 | 1 | -13/+13 |
| | | |||||
| * | All coordinates unsigned | Sebastiano Tronto | 2025-07-29 | 1 | -5/+5 |
| | | |||||
| * | Trick fix | Sebastiano Tronto | 2025-06-18 | 1 | -6/+21 |
| | | |||||
| * | Change min depth for H48 tasks heuristic sort | Sebastiano Tronto | 2025-06-18 | 1 | -1/+1 |
| | | |||||
| * | Big speedup for H48 solver (heuristic sort of tasks) | Sebastiano Tronto | 2025-06-18 | 1 | -19/+46 |
| | | |||||
| * | More improvements to web solver | Sebastiano Tronto | 2025-05-30 | 1 | -8/+8 |
| | | |||||
| * | Removed VLA notation from function parameters. | Sebastiano Tronto | 2025-05-27 | 1 | -6/+6 |
| | | | | | | I found out that this gives undefined behavior when then size is 0. Better not to have it at all, it is confusing for other developers anyway. | ||||
| * | Avoid pausing for logging only if poll_status() is null (h48 solver). | Sebastiano Tronto | 2025-05-26 | 1 | -10/+7 |
| | | | | | | | | | | | | | This is a small amendment to c6a77f30f64be73a5e55e06336975f2ecfbb2324, which changed the way we log solutions while the h48 solver is running. With the method recently introduced, the main thread checks for solutions to log every 0.5 seconds, resulting in a possible slowdown of at most 0.5s per solve. The solutions are also logged when all worker threads are completed. With this new method, when the poll_status() callback function is NULL, which likely means nissy is not run interactively, we rely only on the final log on completion of the worker threads. This means less frequent logging, but at no performance cost. | ||||
| * | Cleanup | Sebastiano Tronto | 2025-05-25 | 1 | -1/+2 |
| | | |||||
| * | Quick fix for bug | Sebastiano Tronto | 2025-05-25 | 1 | -9/+8 |
| | | |||||
| * | Do all loggin in main thread | Sebastiano Tronto | 2025-05-23 | 1 | -57/+79 |
| | | | | | | | | | | | | | | | | | | Before this committ, the solver (via the generic solution-appender routines in src/solve/solutions.h) and the H48 data generator did some logging in the worker threads, without using any locks. This was not nice, but in practice it did not cause any problem, because the log messages were rare. However, this turned out to be a problem when building to WASM, because web workers do not have access to the main JS memory, and therefore they cannot call functions from the main JS. This includes not only the callback functions for logging, but also those for polling the status of the solver (run / pause / stop). This commit fixes this at the cost or being somewhat inelegant: the solutions are not logged as they are found, but only every 500ms. | ||||
| * | Refactor solver dispatch and checkdata | Sebastiano Tronto | 2025-05-18 | 1 | -0/+34 |
| | | |||||
| * | Added stop / pause / resume solve to API | Sebastiano Tronto | 2025-04-29 | 1 | -5/+64 |
| | | |||||
| * | NISS | Sebastiano Tronto | 2025-04-25 | 1 | -16/+15 |
| | | |||||
| * | Adjusted solvers, fixed bug | Sebastiano Tronto | 2025-04-23 | 1 | -7/+8 |
| | | |||||
| * | Update tests for oriented_cube_t | Sebastiano Tronto | 2025-04-22 | 1 | -2/+2 |
| | | |||||
| * | Always use unsigned char * for data buffers | Sebastiano Tronto | 2025-04-21 | 1 | -9/+9 |
| | | | | | | Before this commit I was inconsistently using one of void *, char * and uint8_t *. | ||||
| * | Improved logging, especially for solve | Sebastiano Tronto | 2025-04-19 | 1 | -10/+11 |
| | | |||||
| * | Small rework of optimal vs maxsols | Sebastiano Tronto | 2025-04-17 | 1 | -10/+12 |
| | | | | | | | | | | | | | | | I wanted to make the "optimal" and "maxsolutions" options mutually exclusive, but in the end I decided there is value in keeping both (e.g. for specifying a limit to the number of solutions when asking for "all" optimal"). Now optimal cannot be negative anymore, for the same reason of maxsolutions. The interface user (shell, UI) will have to take care of handling this in a way that makes sense for the user. Usually this means setting the maximum number of solutions to UINT_MAX (or a similar very high number) when the user wants "all optimal". | ||||
| * | Log solutions as they are found | Sebastiano Tronto | 2025-04-15 | 1 | -3/+3 |
| | | |||||
| * | simplified allowedmoves logic | Sebastiano Tronto | 2025-04-01 | 1 | -5/+16 |
| | | |||||
| * | More safety with pointers using VLA function parameters | Sebastiano Tronto | 2025-03-25 | 1 | -9/+9 |
| | | |||||
| * | Big cleanup for appendsolution() | Sebastiano Tronto | 2025-03-24 | 1 | -163/+74 |
| | | | | | | | | | | | With this PR the appendsolution routine is extracted from the h48 solver and the new coordinate solver and made generic. This has many advantages: - less repetition (even if the two versions are different enough that *for now* it was not a big deal) - smaller h48/solve.h file, which is already a big beast - easier to test the appendsolution() routine separately | ||||
| * | Some safety with move arrays, small refactor appendchar | Sebastiano Tronto | 2025-03-22 | 1 | -29/+19 |
| | | |||||
| * | Working (?) version of coordinate solver | Sebastiano Tronto | 2025-03-09 | 1 | -4/+3 |
| | | |||||
| * | More progress on coordinate solver | Sebastiano Tronto | 2025-03-07 | 1 | -1/+1 |
| | | |||||
| * | Fixed alignment bug | Sebastiano Tronto | 2024-12-16 | 1 | -0/+1 |
| | | |||||
| * | Fix rare bug, but one more bug to go | Sebastiano Tronto | 2024-12-15 | 1 | -4/+4 |
| | | |||||
| * | Actually fix the bug | Sebastiano Tronto | 2024-12-15 | 1 | -3/+5 |
| | | |||||
| * | Solve bug related to duplicate solutions | Sebastiano Tronto | 2024-12-15 | 1 | -40/+54 |
| | | |||||
| * | Implemented 'optimal' option | Sebastiano Tronto | 2024-12-15 | 1 | -7/+19 |
| | | |||||
