Skip to content

Add PancakeGraph#403

Merged
james-d-mitchell merged 3 commits into
digraphs:mainfrom
james-d-mitchell:pancake
Apr 8, 2025
Merged

Add PancakeGraph#403
james-d-mitchell merged 3 commits into
digraphs:mainfrom
james-d-mitchell:pancake

Conversation

@james-d-mitchell

Copy link
Copy Markdown
Member

No description provided.

@codecov

This comment has been minimized.

Comment thread doc/examples.xml
@olexandr-konovalov

Copy link
Copy Markdown
Contributor

@james-d-mitchell merge conflicts now should be resolved...

Comment thread doc/examples.xml
Comment thread gap/grape.gi Outdated
Comment thread tst/standard/grape.tst Outdated

@wilfwilson wilfwilson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice graph! I have a few comments/suggestions/complaints.

I would much prefer it if this PR consisted of two separate commits: one for the changes to CayleyDigraph, and one for the pancake stuff.

Comment thread tst/standard/grape.tst
Comment thread doc/examples.xml Outdated
Comment thread doc/examples.xml Outdated
Comment thread gap/examples.gd
Comment thread gap/examples.gi Outdated
Comment thread tst/standard/examples.tst
@marinaanagno

Copy link
Copy Markdown
Contributor

Just a reminder, there is a pull request on this branch about the burnt pancake graph (which has to do with signed permutations). I haven't finished documented it yet, but I guess I should do this and @james-d-mitchell should approve before merging this into master, if we still want burnt pancake as a family of graphs in digraphs :)

@james-d-mitchell james-d-mitchell force-pushed the pancake branch 2 times, most recently from 2666a8f to fdb8832 Compare May 26, 2021 10:18
@wilfwilson wilfwilson changed the title examples: add pancakes Add PancakeGraph May 26, 2021
@wilfwilson wilfwilson dismissed their stale review May 26, 2021 10:39

sorted

@LRacine LRacine left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really enjoyed looking through your code, it was clean and concise. Your documentation was also thorough and readable. There were just a couple of capitalisation errors and I was wondering where I could see the burnt pancake documentation.

Comment thread doc/examples.xml Outdated
Comment thread doc/examples.xml Outdated
Comment thread doc/examples.xml
@james-d-mitchell james-d-mitchell added the gap-days-brussels-2025 Label for things we might work on in Brussels label Apr 7, 2025
@digraphs digraphs deleted a comment from github-actions Bot Apr 7, 2025
Comment thread gap/grape.gi
Comment thread gap/grape.gi
Comment on lines +146 to +159
InstallMethod(CayleyDigraph, "for a group and list of elements",
[IsGroup, IsHomogeneousList],
{G, gens} -> CayleyDigraphCons(IsImmutableDigraph, G, gens));

InstallMethod(CayleyDigraph, "for a filter and group with generators",
[IsFunction, IsGroup, IsHomogeneousList], CayleyDigraphCons);

InstallMethod(CayleyDigraph, "for a group with generators",
[IsGroup and HasGeneratorsOfGroup],
G -> CayleyDigraph(G, GeneratorsOfGroup(G)));
G -> CayleyDigraphCons(IsImmutableDigraph, G, GeneratorsOfGroup(G)));

InstallMethod(CayleyDigraph, "for a filter and group with generators",
[IsFunction, IsGroup and HasGeneratorsOfGroup],
{filt, G} -> CayleyDigraphCons(filt, G, GeneratorsOfGroup(G)));

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add docs for these new overloads?

@reiniscirpons

Copy link
Copy Markdown
Collaborator

A wonderful graph to have in our library, thanks James. Looks good and tests pass on my end, just one documentation improvement and should be good to merge.

Comment thread doc/examples.xml Outdated
@james-d-mitchell james-d-mitchell self-assigned this Apr 8, 2025
@james-d-mitchell

Copy link
Copy Markdown
Member Author

A wonderful graph to have in our library, thanks James. Looks good and tests pass on my end, just one documentation improvement and should be good to merge.

Done, I'll merge when/if the CI passes.

@james-d-mitchell james-d-mitchell merged commit 998fc52 into digraphs:main Apr 8, 2025
@james-d-mitchell james-d-mitchell deleted the pancake branch April 8, 2025 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gap-days-brussels-2025 Label for things we might work on in Brussels new-feature A label for new features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants