Skip to content

fix(tools): Categorize two functions igraph C 1.0 adds - #3060

Merged
schochastics merged 2 commits into
mainfrom
fix/categorize-new-c-functions
Dec 4, 2026
Merged

schochastics merged 2 commits into
mainfrom
fix/categorize-new-c-functions

Conversation

@schochastics

Copy link
Copy Markdown
Contributor

Vendoring igraph/igraph main onto the 1.0 series added two impls that tools/split-aaa-auto.R refuses without a category:

  • igraph_hexagonal_lattice() (spec added in 3478c1c98) goes to generators / regular-structure-generators, next to the square and triangular lattices.
  • igraph_is_potentially_connected() (new in 5f7bb9a2c) goes to structural / degree-sequences, next to igraph_is_graphical().

Both are placed in tools/aaa-categories.yaml and in the "ahead of the vendored C core" block of tools/rebuild-cats.R.

On main's current core neither function is generated yet, so nothing in R/ changes. Rscript tools/rebuild-cats.R leaves the yaml unchanged on this branch.

The forward series already carries these two commits verbatim, so after this merges, the next port matches them by patch-id instead of replaying them.

🤖 Generated with Claude Code

schochastics and others added 2 commits December 4, 2026 09:33
Upstream 3478c1c98 adds the missing function spec for
igraph_hexagonal_lattice(), so Stimulus generates hexagonal_lattice_impl(),
which split-aaa-auto.R refuses without a category. It joins the other
lattices among the regular structure generators.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream 5f7bb9a2c adds igraph_is_potentially_connected(), which
checks whether a graphical degree sequence has a connected realization,
so Stimulus generates is_potentially_connected_impl(). It joins
igraph_is_graphical() among the degree-sequence functions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@schochastics
schochastics merged commit 44ce39f into main Dec 4, 2026
9 checks passed
@schochastics
schochastics deleted the fix/categorize-new-c-functions branch December 4, 2026 09:35
schochastics added a commit to schochastics/rigraph that referenced this pull request Dec 4, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

(cherry picked from commit 44ce39f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant