Hello! I've been playing with the MC4D again recently, and was
wondering how to use the twist counting Perl script written by Jay
Birkenbilt. I do have a Perl interpreter, but I'm unsure how to
feed the script my solution log files and get a twist count. Also,
am I correct in understanding that the script will count only actual
twists, and not rotations of the entire hypercube that leave it in
the same state? Any help would be appreciated.
--Matt Young
> Hello! I've been playing with the MC4D again recently, and was
> wondering how to use the twist counting Perl script written by Jay
> Birkenbilt. I do have a Perl interpreter, but I'm unsure how to
> feed the script my solution log files and get a twist count.
> Also, am I correct in understanding that the script will count
> only actual twists, and not rotations of the entire hypercube that
> leave it in the same state? Any help would be appreciated.
On my Linux system, I just say
perl count_moves.pl logfile
where logfile is the full (or relative) path to the logfile. You may
have to specify a full path to the perl script as well. Keep in mind
that you have to run this from the command line. It just outputs the
number of twists used to solve the puzzle after subtracting out the
original twists used to scramble the puzzle.
--
Jay Berkenbilt
http://www.ql.org/q/
>> Hello! I've been playing with the MC4D again recently, and was
>> wondering how to use the twist counting Perl script written by Jay
>> Birkenbilt. I do have a Perl interpreter, but I'm unsure how to
>> feed the script my solution log files and get a twist count.
>> Also, am I correct in understanding that the script will count
>> only actual twists, and not rotations of the entire hypercube that
>> leave it in the same state? Any help would be appreciated.
>
> On my Linux system, I just say
>
> perl count_moves.pl logfile
>
> where logfile is the full (or relative) path to the logfile. You may
> have to specify a full path to the perl script as well. Keep in mind
> that you have to run this from the command line. It just outputs the
> number of twists used to solve the puzzle after subtracting out the
> original twists used to scramble the puzzle.
Thanks for the help! Much appreciated.
--Matt Young