Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A constructor for folded cube graphs #13809

Closed
nathanncohen mannequin opened this issue Dec 7, 2012 · 15 comments
Closed

A constructor for folded cube graphs #13809

nathanncohen mannequin opened this issue Dec 7, 2012 · 15 comments

Comments

@nathanncohen
Copy link
Mannequin

nathanncohen mannequin commented Dec 7, 2012

As the title says :-)

Nathann

Apply attachment: 13809.patch

Depends on #13862

Component: graph theory

Author: Nathann Cohen

Reviewer: David Coudert

Merged: sage-5.6.beta2

Issue created by migration from https://trac.sagemath.org/ticket/13809

@nathanncohen nathanncohen mannequin added this to the sage-5.6 milestone Dec 7, 2012
@nathanncohen nathanncohen mannequin added the s: needs review label Dec 7, 2012
@dcoudert
Copy link
Contributor

Reviewer: David Coudert

@dcoudert
Copy link
Contributor

comment:2

Two small remarks on this patch:

  1. "is the one roduced by this method." -> "is the one produced by this method."
  2. edges are added twice: (x, bar(x)) and later (bar(x), bar(bar(x))=x ). I don't know how to prevent this with simple tests without increasing current running time, but if you have some nice idea...

@dcoudert
Copy link
Contributor

comment:3

Also, thanks to patch #11353, the compact version of the complement function is str(~FrozenBitset(x)), but it is slightly slower for small values of n.

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Dec 23, 2012

comment:4

Updated !

Nathann

@dcoudert
Copy link
Contributor

comment:5

For me the patch is good to go (install, test, doc, etc.).

@jdemeyer
Copy link

comment:6

Just a reminder of something I already said on #13306: you cannot keep adding stuff forever to the file sage/graphs/graph_generators.py.

At some point, I will have to refuse such patches before that file gets really too big.

@dcoudert
Copy link
Contributor

comment:7

Now that we have the generators directory, we can split the graph_generators.py file into dedicated files. Nathann will make such a patch.

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Dec 24, 2012

comment:8

Replying to @jdemeyer:

Just a reminder of something I already said on #13306: you cannot keep adding stuff forever to the file sage/graphs/graph_generators.py.

At some point, I will have to refuse such patches before that file gets really too big.

I still have 1.5 hours left before leaving. I'm on it :-P

Nathann

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Dec 24, 2012

comment:9

See #13862, still working on it. BIG patch :-P

Nathann

@jdemeyer
Copy link

Merged: sage-5.6.beta2

@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link

Dependencies: #13862

@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link

jdemeyer commented Jan 3, 2013

Attachment: 13809.patch.gz

@jdemeyer
Copy link

jdemeyer commented Jan 3, 2013

comment:14

Put back a sensible commit message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants