Repository navigation
feat(algo): bump icebug to 13.6 and add single-seed GDS_STEINER_K_CORE - #148
Merged
Merged
Conversation
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).
…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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bump
ICEBUG_VERSION13.5 -> 13.6 (prebuilt shipsnetworkit/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 (
makeSeedCommunityFuncingds_generic_algo.h, next tomakeNodeScoreFunc/makePartitionFunc/makeEmbeddingFunc): newGDSExtraKind::SEED_SETreuses 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 theSTEINER_K_COREalias (no otherGDS_*function has one).Verified: new
steiner_k_coree2e passes (star-graph expectations ground-truthed against icebug itself);gds_registry/page_rank/ppr/louvain/leiden/k_coresuites still pass (12/12). Requires Arrow 26 at build and runtime (prebuilt linkslibarrow.so.2600).