• Welcome to the Speedsolving.com, home of the web's largest puzzle community!
    You are currently viewing our forum as a guest which gives you limited access to join discussions and access our other features.

    Registration is fast, simple and absolutely free so please, join our community of 40,000+ people from around the world today!

    If you are already a member, simply login to hide this message and begin participating in the community!

Cube Explorer 5.00 released - with slice moves

CubeExplorer

Member
Joined
Oct 8, 2021
Messages
41
Location
Top of the Hill
Thank you, Lucas for your suggestion.

Alg does not work on this old windows xp machine wihout java, im operating here. So I can not say much. I will try it later on another machine.
 
  • Like
Reactions: qwr

qwr

Member
Joined
Jul 24, 2019
Messages
2,727
YouTube
Visit Channel
Ah, interesting. I stand corrected.

CE does seem to support bracketing (so e.g. "(R y)1260" works as you'd expect), but the apostrophe is being parsed as equivalent to 3. Probably because for normal moves inverting and power-3 are the same thing, an assumption that breaks down for arbitrary sequences.
oh yeah that makes a lot more sense.
 

Lucas Garron

Member
Joined
Jul 6, 2007
Messages
3,618
Location
California
WCA
2006GARR01
YouTube
Visit Channel
Ah, interesting. I stand corrected.

CE does seem to support bracketing (so e.g. "(R y)1260" works as you'd expect), but the apostrophe is being parsed as equivalent to 3. Probably because for normal moves inverting and power-3 are the same thing, an assumption that breaks down for arbitrary sequences.
What an interesting find! Glad @CubeExplorer posted about the confusion. :-D

Cube Explorer handles such algs in these two files, but I can't easily find the bug:


This line (and a similar one on line 949) looks like an obvious culprit, except that it's guarded by a check that only applies it to moves.
It might be worth telling Kociemba: https://github.com/hkociemba/CubeExplorer/issues


Thank you, Lucas for your suggestion.

Alg does not work on this old windows xp machine wihout java, im operating here. So I can not say much. I will try it later on another machine.
Hmm, neither alg.cubing.net nor Twizzle have ever used Java. But Twizzle especially (which I linked to) relies on newer browser features, so unfortunately breaking in Windows XP is pretty expected. :-/
Let me know if you're find issues on something new!
 

xyzzy

Member
Joined
Dec 24, 2015
Messages
2,477
https://github.com/hkociemba/CubeExplorer/blob/ee7772e2da38d6538dedd3b158b6277ae3eb144e/RubikMain.pas

Should be this. Replaces apostrophe and hyphen with the digit '3', then later parses it as an integer. So e.g. (R U' F B2 D)2'1' gets preprocessed into (R U3 F B2 D)2313.
 

CubeExplorer

Member
Joined
Oct 8, 2021
Messages
41
Location
Top of the Hill
... neither alg.cubing.net nor Twizzle have ever used Java. But Twizzle especially (which I linked to) relies on newer browser features, so unfortunately breaking in Windows XP is pretty expected. :-/
Thank you again, Lucas. Its interesting background info to me.

Anyway my original confusion concerning the inversion of a maneuver ist cleared now. The using of sage did help a lot.

Looking for a visual representation of the algebraic output of sage I put this into Cube Explorer Program and I found a surprising result again.
Code:
print('(F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2 ==',(F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2)   
#   (F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2 == (4,7,26)(5,10,18)
print(((F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2) == (F*R*U*Ri*Ui*Fi *U^2* F*R*U*Ri*Ui*Fi *U^2))   
#   True

CE wrong:
(FRUR'U'F')U2(FRUR'U'F')U2
CE OK:
 FRUR'U'F' U2 FRUR'U'F' U2
Maybe the brackets have a different meaning in CE, but I could not find Info to this point.

I post it here, because I will notify Herbert Kociemba with a link to this thread.
 

qwr

Member
Joined
Jul 24, 2019
Messages
2,727
YouTube
Visit Channel
Thank you again, Lucas. Its interesting background info to me.

Anyway my original confusion concerning the inversion of a maneuver ist cleared now. The using of sage did help a lot.

Looking for a visual representation of the algebraic output of sage I put this into Cube Explorer Program and I found a surprising result again.
Code:
print('(F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2 ==',(F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2)  
#   (F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2 == (4,7,26)(5,10,18)
print(((F*R*U*Ri*Ui*Fi)*U^2*(F*R*U*Ri*Ui*Fi)*U^2) == (F*R*U*Ri*Ui*Fi *U^2* F*R*U*Ri*Ui*Fi *U^2))  
#   True

CE wrong:
(FRUR'U'F')U2(FRUR'U'F')U2
CE OK:
 FRUR'U'F' U2 FRUR'U'F' U2
Maybe the brackets have a different meaning in CE, but I could not find Info to this point.

I post it here, because I will notify Herbert Kociemba with a link to this thread.
Did you try putting spaces in between moves? I think it's customary to put a space in between every move.
 

CubeExplorer

Member
Joined
Oct 8, 2021
Messages
41
Location
Top of the Hill
Did you try putting spaces in between moves? I think it's customary to put a space in between every move.
Thanks for the hint. Could not find anything like this in the help file.

The Program normally works correctly without spaces BUT after the closing Brackets there is a space needed.
Code:
(FRUR'U'F') U2(FRUR'U'F') U2
FRUR'U'F'U2FRUR'U'F'U2
Both lines work well.

Anyway the issue with the apostrophe remains unsolved.
 
Last edited:
Joined
Nov 29, 2008
Messages
191
My program does not support bracketing at all. The only brackets it is intended not get confused with are the eventually existing brackets at the end of a maneuver which include the maneuver length.
 
Top