Yoooooooooooooooo !!!

> no, DFS uses a stack, i.e. LIFO (Last In First Out), not a queue (FIFO,
First
> in First Out), isn't it?

Indeed. Both would work in this case, though :-P

> and a queue. A bit of discipline never hurts :)
> Otherwise, that's all is needed. But indeed, it's not totally obvious.
> I know very smart people, much smarter
> than me, who instead computed orbits by listing all the elements of the
> group first, and applying them all...

They were just above things like runtime.

> I guess this should work, but I have negative amount of time available
> in the coming two weeks...

Well, then in the meantime I uploaded a new patch to #14291 that can be
reviewed right now :-P

It implements a orbit() method only, that deals with the many actions you
wanted to have available, as well as with the two I needed myself. It even
sorts the "Set" stuff before feeding GAP with it, which will avoid a few
raised eyebrows when GAP does not like what it is given (especially when
the user has no way to guess GAP's ordering of the elements !).

Waiting for a review ! :-)

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to