Changeset 5936:bd86b75bcd21


Ignore:
Timestamp:
08/24/07 17:09:48 (6 years ago)
Author:
Robert Bradshaw <robertwb@…>
Branch:
default
Message:

Interface to Michael Reid's optimal Rubik's cube solver

Location:
sage
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • sage/groups/perm_gps/cubegroup.py

    r5898 r5936  
    731731 
    732732        """ 
     733        mv = mv.strip().replace(" ","*").replace("**", "*").replace("'", "^(-1)") 
    733734        m = mv.split("*") 
    734735        M = [x.split("^") for x in m] 
     
    9991000def cubie_faces(): 
    10001001    """ 
     1002    This provides a map from the 6 faces of the 27 cubies to the 48 facets of the larger cube.  
     1003     
    10011004    -1,-1,-1 is left, top, front 
    10021005    """ 
     
    10571060        return self._group.repr2d(self._state) 
    10581061         
    1059          
     1062    def facets(self): 
     1063        return self._group.facets(self._state) 
     1064                 
    10601065    def plot(self): 
    10611066        return plot_cube(self._state) 
Note: See TracChangeset for help on using the changeset viewer.