stylewarning / cl-permutation Goto Github PK
View Code? Open in Web Editor NEWPermutations and permutation groups in Common Lisp.
License: BSD 3-Clause "New" or "Revised" License
Permutations and permutation groups in Common Lisp.
License: BSD 3-Clause "New" or "Revised" License
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">
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.
sometimes you'll want to generate a group with redundant generators; but each one adds a cost. we could eliminate that
Making a solver for the MU group generates 10 God tables lol
Words are represented as integers or lists of integers. Lots of special case code is there because of this. We ought to just have one representation used everywhere.
Allow the base to be changed or permuted.
There are faster randomized methods for generating the group.
Right now, consing happens all over the place. Maybe we can be a little more conservative?
Writing (123)(45)
as well as <(12)(34), (56)>
would be nice shorthands.
we cons deg(G)^2 words when we could just cons deg(G)
During porting cl-quil
for allegro, I found *print-circle*
has been modified to t
here:
Line 35 in 631b175
Is this top-level side effect mandatory? Will assign customized printers for djs
and djs-rep
be a potentially better idea?
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.