Skip to content

Commit

Permalink
Add 'largest_required_point'
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJefferson committed Jul 9, 2021
1 parent 60fb46f commit 9179dde
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gap/constraints/canonicalconstraints.g
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ GB_Con.InCosetSimple := function(n, group, perm)

r := rec(
name := "InGroupSimple",
largest_required_point := Maximum(LargestMovedPoint(group), LargestMovedPoint(perm)),
largest_moved_point := Maximum(LargestMovedPoint(group), LargestMovedPoint(perm)),
image := {p} -> RightCoset(group, p),
result := {} -> RightCoset(group, perm),
check := {p} -> p in RightCoset(group, perm),
Expand Down
4 changes: 3 additions & 1 deletion gap/constraints/normaliser.g
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GB_Con.NormaliserSimple := function(n, group)

getOrbits := function(pointlist)
local G,orbs,graph,cols, orb;

Info(InfoGB, 1, "Normaliser for pointlist", pointlist);
G := Stabilizer(group, pointlist, OnTuples);

orbs := Orbits(G, [1..n]);
Expand All @@ -30,6 +30,7 @@ GB_Con.NormaliserSimple := function(n, group)

r := rec(
name := "NormaliserSimple",
largest_required_point := LargestMovedPoint(group),
image := {p} -> group^p,
result := {} -> group,
check := {p} -> group=group^p,
Expand Down Expand Up @@ -90,6 +91,7 @@ GB_Con.NormaliserSimple2 := function(n, group)

r := rec(
name := "NormaliserSimpleLeon",
largest_required_point := LargestMovedPoint(group),
image := {p} -> group^p,
result := {} -> group,
check := {p} -> group=group^p,
Expand Down
2 changes: 2 additions & 0 deletions gap/constraints/simpleconstraints.g
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ fillOrbits := function(pointlist)

r := rec(
name := "InGroup-GB",
largest_required_point := Maximum(LargestMovedPoint(group), LargestMovedPoint(perm)),
largest_moved_point := Maximum(LargestMovedPoint(group), LargestMovedPoint(perm)),
image := {p} -> RightCoset(group, p),
result := {} -> RightCoset(group, perm),
check := {p} -> p in RightCoset(group, perm),
Expand Down

0 comments on commit 9179dde

Please sign in to comment.