Skip to content

Add function to generate all simple paths. (migrated from Trac #713) #699

Closed

Description

@networkx-trac

Original ticket https://networkx.lanl.gov/trac/ticket/713
Reported 2012-04-06 by @hagberg, assigned to @hagberg.

All non-cyclical paths can be found using a DFS approach.
Code attached.

Activity

  1. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Attachment in Trac by @hagberg, 2012-04-06: all_paths.py

  2. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by @hagberg, 2012-04-06

    Here is a version with a few edits (replace = with "is" in None test) and more documentation.
    Also attached is a file with the start of some tests.

  3. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Attachment in Trac by @hagberg, 2012-04-06: simple_paths.py

  4. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Attachment in Trac by @hagberg, 2012-04-06: test_simple_paths.py

  5. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by Aric Hagberg <aric.hagberg, 2012-04-07

    In [e8d3e83/networkx]:
    '''
    #!CommitTicketReference repository="networkx" revision="e8d3e83f8f4e752a231c1c4fd726877990474bed"
    Add all_simple_paths() function.
    Addresses #713
    '''

  6. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by Aric Hagberg <aric.hagberg, 2012-04-07

    In [e23021f/networkx]:
    '''
    #!CommitTicketReference repository="networkx" revision="e23021f73ccd3bce1feeecd88cddd9b88af6224a"
    Add credit.
    Addresses #713
    '''

  7. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by @hagberg, 2012-04-15

  8. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by Aric Hagberg <aric.hagberg, 2012-04-28

    In [changeset:fa6d5869f9738067559f4348dcf0403becd5b05a/networkx]:
    '''
    #!CommitTicketReference repository="networkx" revision="fa6d5869f9738067559f4348dcf0403becd5b05a"
    Tune for graphs v multigraphs since G[n] is much faster if we can use it (for graphs). Add hamlitonian path test.
    Addresses #713
    '''

  9. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Attachment in Trac by trac user sergionery, 2012-05-02: simple_paths.2.py

  10. ghost assigned on Dec 29, 2012
  11. hagberg commented on Jan 13, 2013

    @hagberg
    Member

    This was already done. See #718 for issue of adding function to produce edges in all simple paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions