Content-Length: 255244 | pFad | http://github.com/Sun-Jc/CycleDetectionOnDirectedGraph

5D GitHub - Sun-Jc/CycleDetectionOnDirectedGraph: Incremental Cycle Detection on Directed Graph
Skip to content

Sun-Jc/CycleDetectionOnDirectedGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast Incremental Cycle Detection On Directed Graph

  • cycle_detect.py:
    • cycle_detection(edges): yields networkx.DiGraph each time when encounter cycle
      • edges: [(source, target),]
      • time complexity: Õ(m√n)
  • test.py:
    • command arg: #nodes #edges

This is an implementation based on the following published paper:

@inproceedings{Bernstein:2018:ITS:3174304.3175268,

author = {Bernstein, Aaron and Chechik, Shiri},

title = {Incremental Topological Sort and Cycle Detection in [Equation] Expected Total Time},

booktitle = {Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms},

series = {SODA '18},

year = {2018},

isbn = {978-1-6119-7503-1},

location = {New Orleans, Louisiana},

pages = {21--34},

numpages = {14},

url = {http://dl.acm.org/citation.cfm?id=3174304.3175268},

acmid = {3175268},

publisher = {Society for Industrial and Applied Mathematics},

address = {Philadelphia, PA, USA}, }

About

Incremental Cycle Detection on Directed Graph

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Sun-Jc/CycleDetectionOnDirectedGraph

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy