Changeset 5644:6b03fe2cf6a5


Ignore:
Timestamp:
08/12/07 12:50:17 (6 years ago)
Author:
William Stein <wstein@…>
Branch:
default
Children:
5651:6bf4526572b2, 5753:e207e63d5ceb
Message:

Add some warnings about cube group solve being broken for now.

File:
1 edited

Legend:

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

    r5640 r5644  
    805805 
    806806    def legal(self,state,mode="quiet"): 
    807         """ 
     807        r""" 
    808808        Returns 1 (true) if the dictionary \code{state} (in the same format as 
    809809        returned by the faces method) represents a legal position (or state) of 
     
    858858             
    859859    def solve(self,state): 
    860         """ 
     860        r""" 
    861861        Solves the cube in the \code{state}, given as a dictionary as 
    862862        in \code{legal}.  This uses GAP's \code{EpimorphismFromFreeGroup} 
    863863        and \code{PreImagesRepresentative}. 
     864 
     865        WARNING: This is currently evidently broken.  
    864866         
    865867        EXAMPLES: 
    866868            sage: rubik = CubeGroup() 
    867869            sage: R_state = rubik.faces("R") 
    868             sage: rubik.solve(R_state)  ## time-consuming 
     870            sage.: rubik.solve(R_state)  # currently broken (long time) 
    869871            'R' 
    870872 
     
    888890        words = [b,d,f,l,r,u] 
    889891        sol = leg[1].word_problem(words, False)[0] 
    890         #print sol 
    891892        sol1 = sol.replace("x1","B") 
    892893        sol2 = sol1.replace("x2","D") 
Note: See TracChangeset for help on using the changeset viewer.