[sage-devel] Re: Girth of Kneser graphs

2011-12-31 Thread Nathann Cohen
Helloo !!! Well, I just looked at this piece of code and I guess the answer is clear. It contains a "if uhttp://groups.google.com/group/sage-devel URL: http://www.sagemath.org

[sage-devel] Re: Girth of Kneser graphs

2011-12-31 Thread Rob Beezer
On Dec 31, 11:57 am, Nathann Cohen wrote: > Well, I just looked at this piece of code and I guess the answer is clear. > It contains a "if uhttp://groups.google.com/group/sage-devel URL: http://www.sagemath.org

Re: [sage-devel] Re: Girth of Kneser graphs

2011-12-31 Thread Nathann Cohen
Hell !! > Aside from totally rewriting the routine to be faster, would the > following make sense for a fix? > > (a) Have i come from the complete list of vertices rather than the > vertex iterator. > > (b) Compare the indices of i and u in the complete list. > > Yes, it would be slo

[sage-devel] Re: Girth of Kneser graphs

2011-12-31 Thread Rob Beezer
On Dec 31, 12:21 pm, Nathann Cohen wrote: > Well, yep I guess. The first loop iterates on all vertices, so for this one > a > > "for i_id, i in enumerate(self.vertex_iterator())" would be in order. And > to obtain the id corresponding to v, I guess the best is to build a > dictionnary associating

Re: [sage-devel] Re: Girth of Kneser graphs

2011-12-31 Thread Nathann Cohen
> > "for i_id, i in enumerate(self.vertex_iterator())" would be in order. And > > to obtain the id corresponding to v, I guess the best is to build a > > dictionnary associating each vertex to its index at the beginning of the > > algorithm. Oh, sorry ! Beware when you write the reverse dictionary

[sage-devel] Unofficial release sage-5.0.prealpha0

2011-12-31 Thread Jeroen Demeyer
I have made an unofficial sage-5.0.prealpha0 release. This includes various high-profile tickets which will hopefully be merged in the sage-5.0 release. The flask notebook is not included yet, as it is not quite ready to be merged yet. See below for the list of tickets. This release can be usef

[sage-devel] Re: Unofficial release sage-5.0.prealpha0

2011-12-31 Thread Jason Grout
On 12/31/11 8:53 AM, Jeroen Demeyer wrote: The flask notebook is not included yet, as it is not quite ready to be merged yet. You can test the flask notebook by following the instructions at http://trac.sagemath.org/sage_trac/ticket/11080 You'd need to apply the dependencies at http://trac.

[sage-devel] Re: Unofficial release sage-5.0.prealpha0

2011-12-31 Thread Jason Grout
On 12/31/11 8:53 AM, Jeroen Demeyer wrote: I have made an unofficial sage-5.0.prealpha0 release. Just as a reminder, the AMS/MAA Joint Math Meetings start next Wednesday, where we have a booth. I expect that a fair number of people will be downloading Sage next week. It would be cool if 4.8

[sage-devel] Re: Girth of Kneser graphs

2011-12-31 Thread Rob Beezer
On Dec 31 2011, 12:41 pm, Rob Beezer wrote: >  I'll put a link here if I get around to writing a patch. http://trac.sagemath.org/sage_trac/ticket/12243 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...