Add typed-channel PPR C++ extraction support - #724
Merged
Conversation
mkolodner-sc
force-pushed
the
mkolodner-sc/typed-channel-ppr-cpp
branch
from
July 29, 2026 16:48
b8bca9e to
41b08d4
Compare
mkolodner-sc
force-pushed
the
mkolodner-sc/typed-channel-ppr-cpp
branch
from
August 3, 2026 05:54
a91cce7 to
006f24e
Compare
yliu2-sc
approved these changes
Aug 4, 2026
mkolodner-sc
marked this pull request as ready for review
August 5, 2026 08:26
mkolodner-sc
requested review from
nshah-sc,
svij-sc,
xgao4-sc and
zfan3-sc
as code owners
August 5, 2026 08:26
mkolodner-sc
force-pushed
the
mkolodner-sc/typed-channel-ppr-cpp
branch
from
August 5, 2026 08:39
7eecb35 to
8594c84
Compare
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.
Summary
Adds the C++ support needed for typed-channel PPR sampling.
This is the lower PR in the typed PPR stack. It adds the core typed-channel frontier drain and extraction logic used by the Python sampler layer in the follow-up PR.
Motivation
For heterogeneous graphs, different edge types can represent meaningfully different relation paths. Typed-channel PPR lets us run separate PPR traversals over configured edge-type channels, then merge the results into one sequence while preserving channel-aware features.
What Changed
Adds typed-channel frontier draining across multiple
PPRForwardPushstates.Adds typed PPR extraction.
Handles residual top-up in the typed path.
Emits typed edge attributes as:
[best_score, channel_scores..., channel_presence_bits...]Tests
Added focused C++ coverage for: