Package: cayleyR 0.2.1
cayleyR: Cayley Graph Analysis for Permutation Puzzles
Implements algorithms for analyzing Cayley graphs of permutation groups, with a focus on the TopSpin puzzle and similar permutation-based combinatorial puzzles. Provides methods for cycle detection, state space exploration, bidirectional BFS pathfinding, and finding optimal operation sequences in permutation groups generated by shift and reverse operations. Includes C++ implementations of core operations via 'Rcpp' for performance. Optional GPU acceleration via 'ggmlR' Vulkan backend for batch distance calculations and parallel state transformations.
Authors:
cayleyR_0.2.1.tar.gz
cayleyR_0.2.1.tar.gz(r-4.7-arm64)cayleyR_0.2.1.tar.gz(r-4.7-x86_64)cayleyR_0.2.1.tar.gz(r-4.6-arm64)cayleyR_0.2.1.tar.gz(r-4.6-x86_64)
cayleyR_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
cayleyR/json (API)
NEWS
| # Install 'cayleyR' in R: |
| install.packages('cayleyR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/zabis13/cayleyr/issues
Last updated from:2daaa2ec89. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 126 | ||
| linux-devel-x86_64 | OK | 124 | ||
| source / vignettes | OK | 164 | ||
| linux-release-arm64 | OK | 139 | ||
| linux-release-x86_64 | OK | 156 | ||
| wasm-release | OK | 124 |
Exports:analyze_top_combinationsapply_operationsapply_operations_batch_gpubidirectional_bfsbreakpoint_distancecalculate_angular_distance_zcalculate_differencescalculate_midpoint_zcayley_gpu_availablecayley_gpu_freecayley_gpu_initcayley_gpu_statuscheck_duplicatesconvert_digitsconvert_LRX_to_celestialfind_best_random_combinationsfind_closest_to_coordsfind_combination_in_statesfind_path_bfsfind_path_iterativegenerate_stategenerate_unique_states_dfget_reachable_statesget_reachable_states_lightinvert_pathmanhattan_distancemanhattan_distance_matrix_gpureconstruct_bfs_pathreverse_prefixreverse_prefix_simplesave_bridge_statesselect_uniqueshift_leftshift_left_simpleshift_rightshift_right_simpleshort_path_bfsshort_positionsparse_bfsvalidate_and_simplify_path
Dependencies:Rcpp
