Giter Site home page Giter Site logo

stylewarning / cl-permutation Goto Github PK

View Code? Open in Web Editor NEW
47.0 5.0 6.0 488 KB

Permutations and permutation groups in Common Lisp.

License: BSD 3-Clause "New" or "Revised" License

Common Lisp 100.00%
permutations permutation-groups permutation-algorithms lisp

cl-permutation's People

Contributors

ldbeth avatar macdavid313 avatar stylewarning avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cl-permutation's Issues

Consider simplifying the perm representation

Perms are a structure with a simple-array. Maybe we should just use simple-arrays, and avoid the extra bits and bobs. One idea I had was to use the first element of the array as a sort of sentinel value. It isn't exactly the nicest/safest solution, but it might be Good Enough.

Shortest path to a trivial cubic?

Since the action of the rubik group on the set of rubik states is free, the following proves that there are exactly43252003274489856000 different states on a 3x3 rubik's cube (well done!).

(group-order rubik-3x3)
43252003274489856000

I have heard a rumor that no matter which state you start with, there is a solution taking at most 20 steps to solve a 3x3 rubik cube. Can this program help compute this too?

consider gutting the SLPs in group generation

Keeping track of SLPs has to have been the biggest boondoggle of this project. I think they're useless, especially with the new Minkwitz code. We should remove the SLP tracking and generation from the main group theory code.

Some systems failed to build for Quicklisp dist

Building with SBCL 2.1.10 / ASDF 3.3.5 for quicklisp dist creation.

Trying to build commit id 7d441be

cl-permutation-examples fails to build because of a failure in cl-permutation.

cl-permutation-tests fails to build because of a failure in cl-permutation.

cl-permutation fails to build with the following error:

; caught WARNING:
;   * is not permitted as an argument to the FUNCTION type specifier
; 
; caught WARNING:
;   * is not permitted as an argument to the FUNCTION type specifier
...
Unhandled UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING {1001C08103}>: COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "cl-permutation" "minkwitz">

Full log here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.