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

Update heterogeneous sampling to push functionality into the sampling primitives. #4735

Open
ChuckHastings opened this issue Oct 22, 2024 · 0 comments
Assignees

Comments

@ChuckHastings
Copy link
Collaborator

#4608 provides an initial implementation of heterogeneous sampling that implemented the public API by iterating over the edge types. If there are n edge types, this will result in n iterations over the vertices in the sampling frontier to perform the sampling, each using a different edge mask.

It should be more efficient to push the heterogeneous sampling down into the graph primitives. That way in one pass through the vertices we can randomly sample all required edges, regardless of type.

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

No branches or pull requests

2 participants