#13306: Generators for chessboard graphs: King, Queen, Knight, Bishop, Rooks
------------------------------------+---------------------------------------
       Reporter:  dcoudert          |         Owner:  jason, ncohen, rlm
           Type:  enhancement       |        Status:  needs_review      
       Priority:  major             |     Milestone:  sage-5.4          
      Component:  graph theory      |    Resolution:                    
       Keywords:  graph, generator  |   Work issues:                    
Report Upstream:  N/A               |     Reviewers:  Sebastian Luther  
        Authors:  David Coudert     |     Merged in:                    
   Dependencies:                    |      Stopgaps:                    
------------------------------------+---------------------------------------

Comment (by dcoudert):

 Replying to [comment:30 robertwb]:
 > Do we really need to import sage.graphs.generators.chessboard at
 startup?

 I don't know.

 Following Jeroen's suggestion, I have created a new directory to store
 graph generators instead of continuously increasing the size of
 sage.graphs.graph_generators.py. Later, we could split the
 graph_generators file and create smaller files, easier to read, faster to
 test, etc. in the generators directory.

 Now, the question is how to make these functions accessible from graphs
 (e.g., graphs.QueenGraph()) without importing the file at startup. Is
 there a way to import them the first time they are used? or any other
 interesting trick I'm not aware of?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13306#comment:31>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to