> < ^ Date: Wed, 18 Oct 1995 15:21:00 +0100 (MET)
> ^ From: Andreas Prinz <prinz@informatik.hu-berlin.de >
^ Subject: IsConjugate

Hi there,

I found a somewhat strange behaviour of IsConjugate
is the following case:

game:= Group(
( 1, 3, 8, 6)( 2, 5, 7, 4)( 9,33,25,17)(10,34,26,18)(11,35,27,19),
( 9,11,16,14)(10,13,15,12)( 1,17,41,40)( 4,20,44,37)( 6,22,46,35),
(17,19,24,22)(18,21,23,20)( 6,25,43,16)( 7,28,42,13)( 8,30,41,11),
(25,27,32,30)(26,29,31,28)( 3,38,43,19)( 5,36,45,21)( 8,33,48,24),
(33,35,40,38)(34,37,39,36)( 3, 9,46,32)( 2,12,47,29)( 1,14,48,27),
(41,43,48,46)(42,45,47,44)(14,22,30,38)(15,23,31,39)(16,24,32,40)
);

p1:=(3,19,43,33,8,24,27,25,30)(5,21,45,47,44,42,36)
    (14,22,32,40,16,48,46,41,38)(15,23,29,26,28,31,39);
p2:=(6,16,19,17,22,8,11,41,25)(7,13,42,45,47,44,28)
    (14,24,32,40,43,48,46,30,38)(15,21,18,20,23,31,39);

IsConjugate(game,p2,p1);
IsConjugate(game,p1,p2);

Both of the calls yield >>true<<, but the first one is
very very very much faster (in fact, I only once waited
for the second to terminate - it was almost 30 mins on
a sun sparc as compared to less than 10 secs for the first
case).

Is this a bug or a feature?

For my work it would suffice to order the two elements such
that the faster version is used. Is there a way to do so?
(If there is, it should be included into IsConjugate!)

Another thing is the output using the Print routine.
On my system I get for long lines extra characters \\ and \n.
Is there a way to avoid this?

I just tried to program something like a counter in place,
i.e. without scrolling put always the new numbers onto the
old terminal position. Is there a solution to this already
available?
(Currently, I solved the problem by doing some dirty tricks
with terminal special characters (e.g. <esc>[4h ...)

Regards,
Andreas


> < [top]