Skip to content

feat(algo): bump icebug to 13.6 and add single-seed GDS_STEINER_K_CORE - #148

Merged
adsharma merged 3 commits into
mainfrom
algo-icebug-13.6-steiner-stub
Nov 20, 2026
Merged

adsharma merged 3 commits into
mainfrom
algo-icebug-13.6-steiner-stub

Conversation

@adsharma

@adsharma adsharma commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Bump ICEBUG_VERSION 13.5 -> 13.6 (prebuilt ships networkit/scd/SteinerKCore.hpp).

Implement single-seed k-core community search on NetworKit::SteinerKCore::communities(): CALL GDS_STEINER_K_CORE('G', [seeds]) returns one row per community member as (node, community_id, coreness).

Generalized as a fourth registry builder (makeSeedCommunityFunc in gds_generic_algo.h, next to makeNodeScoreFunc/makePartitionFunc/makeEmbeddingFunc): new GDSExtraKind::SEED_SET reuses the SOURCE_LIST bind/validate/infer machinery, the runner contract is (GraphR, seeds) -> SeedCommunityResult{members, communityIds, score}, and SteinerKCore is one catalog row — no dedicated TU, matching the registry philosophy. Batched multi-set queries reuse the same shape (one row per (query, member)), so they are future rows, not new files. Drops the STEINER_K_CORE alias (no other GDS_* function has one).

Verified: new steiner_k_core e2e passes (star-graph expectations ground-truthed against icebug itself); gds_registry/page_rank/ppr/louvain/leiden/k_core suites still pass (12/12). Requires Arrow 26 at build and runtime (prebuilt links libarrow.so.2600).

Bump ICEBUG_VERSION 13.5 -> 13.6 (prebuilt ships
networkit/scd/SteinerKCore.hpp).

Add SCD-shape stubs for the new icebug 13.6 k-core community search
(NetworKit::SteinerKCore::communities, batched multi-set queries): bind
validates CALL GDS_STEINER_K_CORE('G', [seeds]) / alias STEINER_K_CORE,
tableFunc throws until the batched SCD builder lands (does not fit the
existing make*Func per-node builders). Pin with steiner_k_core.test.
Wire NetworKit::SteinerKCore::communities() behind
CALL GDS_STEINER_K_CORE('G', [seeds]) (alias STEINER_K_CORE): bridge the
projected graph to GraphR via the undirected CSR bridge, run the batched
single-query search, and stream one row per community member as
(node, community_id, coreness) with community_id 0. Seeds bind as
LIST(INT64); negative/empty lists fail at bind, out-of-range offsets fail
once the projected graph size is known. Batched multi-set queries stay
future work (need an SCD-shape builder outside make*Func).

Tested: steiner_k_core e2e passes against the 13.6 prebuilt (star graph
ground-truthed against icebug directly); gds_registry/page_rank/ppr/
louvain/leiden/k_core suites still pass (12/12).
@adsharma adsharma changed the title feat(algo): bump icebug prebuilt to 13.6 and stub GDS_STEINER_K_CORE feat(algo): bump icebug to 13.6 and add single-seed GDS_STEINER_K_CORE Nov 20, 2026
…registry builder

SteinerKCore becomes one catalog row instead of a dedicated TU: add a
fourth generic builder alongside makeNodeScoreFunc/makePartitionFunc/
makeEmbeddingFunc. New GDSExtraKind::SEED_SET reuses the SOURCE_LIST
bind/validate/infer-input-types machinery with seed wording; the runner
contract is (GraphR, seeds) -> SeedCommunityResult{members,
communityIds, score} and a shared SeedCommunityVertexCompute streams one
row per member. Batched multi-set queries reuse the same shape with one
row per (query, member), so they are future rows, not new files.

Drops the STEINER_K_CORE alias (no other GDS_* function has one) and the
steiner_k_core.{cpp,h} TU; CMake/load wiring reverts to registry-only.

Tested: steiner_k_core e2e passes; gds_registry/page_rank/ppr/louvain/
leiden/k_core suites still pass (12/12).
@adsharma
adsharma merged commit b991b31 into main Nov 20, 2026
2 checks passed
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