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

[FEA] All paths between two vertex sets #1542

Closed
Tracked by #3337
afender opened this issue Apr 19, 2021 · 2 comments
Closed
Tracked by #3337

[FEA] All paths between two vertex sets #1542

afender opened this issue Apr 19, 2021 · 2 comments
Assignees
Labels
improvement Improvement / enhancement to an existing function

Comments

@afender
Copy link
Member

afender commented Apr 19, 2021

Develop an algorithm that returns all paths between two sets of vertices. This can start as all paths between a pair of vertices and then be expanded

@afender afender added the ? - Needs Triage Need team to review and classify label Apr 19, 2021
@BradReesWork BradReesWork added improvement Improvement / enhancement to an existing function and removed ? - Needs Triage Need team to review and classify labels Apr 22, 2021
@BradReesWork BradReesWork added this to the 0.21 milestone Apr 22, 2021
@BradReesWork BradReesWork changed the title [FEA] All paths between two vertices [FEA] All paths between two vertex sets May 1, 2021
@BradReesWork BradReesWork added the P0 label May 1, 2021
@ChuckHastings
Copy link
Collaborator

To clarify... I assume you mean:

  • Paths without cycles
  • Perhaps an optional minimum and maximum path length

Naively in serial (to be sure we understand the objective):

  1. For each source vertex, create a path of length 0 containing the vertex, add to the active path list
  2. While the active path list is not empty, take the first element from active path list and do the following
    a. Take the vertex for the end of the path
    b. For each edge incident on that vertex check to see if the vertex is already on the path, if so skip this edge
    c. If the edge was not in the path, add the neighbor vertex to the end of the path. If the neighbor vertex is in the destination set, add the path to the published answers. Otherwise append the path to the active path list

@BradReesWork BradReesWork modified the milestones: 21.08, 21.10 Jul 20, 2021
@rapidsai rapidsai deleted a comment from github-actions bot Sep 23, 2021
@BradReesWork BradReesWork modified the milestones: 21.10, 22.06 Sep 23, 2021
@BradReesWork BradReesWork removed this from the 22.06 milestone Mar 29, 2022
@rapidsai rapidsai deleted a comment from github-actions bot Mar 29, 2022
@rapidsai rapidsai deleted a comment from github-actions bot Mar 29, 2022
@BradReesWork BradReesWork added the ? - Needs Triage Need team to review and classify label Mar 29, 2022
@BradReesWork BradReesWork removed ? - Needs Triage Need team to review and classify inactive-30d labels Sep 29, 2022
@rapidsai rapidsai deleted a comment from github-actions bot Sep 29, 2022
@rapidsai rapidsai deleted a comment from github-actions bot Sep 29, 2022
@BradReesWork
Copy link
Member

replaced by issue in graph_dl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function
Projects
None yet
Development

No branches or pull requests

4 participants