FrankenNetworkX

Guide/Reference

Citations and Algorithm References

3 min readFrom the README

On this page 3
Graph algorithmsGeneratorsSystems infrastructure

The algorithm implementations and design decisions trace to a specific body of literature. Treat this as a reading list more than a complete bibliography.

Graph algorithms

  • Dijkstra, E. W. (1959). A note on two problems in connexion with graphs. Numerische Mathematik 1.
  • Bellman, R. (1958). On a routing problem. Quarterly of Applied Mathematics 16.
  • Floyd, R. W. (1962). Algorithm 97: Shortest path. Comm. ACM 5(6).
  • Johnson, D. B. (1977). Efficient algorithms for shortest paths in sparse networks. JACM 24(1).
  • Hart, Nilsson, Raphael (1968). A formal basis for the heuristic determination of minimum cost paths. IEEE TSCC.
  • Brandes, U. (2001). A faster algorithm for betweenness centrality. Journal of Mathematical Sociology 25(2).
  • Tarjan, R. E. (1972). Depth-first search and linear graph algorithms. SIAM J. Computing 1(2).
  • Tarjan, R. E. (1974). A note on finding the bridges of a graph. Inf. Proc. Letters 2.
  • Kosaraju, S. R. (1978). Unpublished; canonical statement in Aho, Hopcroft, Ullman.
  • Boyer, J., & Myrvold, W. (2004). On the cutting edge: Simplified O(n) planarity by edge addition. JGAA 8(3). The basis of the native check_planarity embedding and Kuratowski-certificate path.
  • Cooper, K. D., Harvey, T. J., & Kennedy, K. (2001). A simple, fast dominance algorithm. Rice University TR. The algorithm immediate_dominators actually uses.
  • Stoer, M., & Wagner, F. (1997). A simple min-cut algorithm. JACM 44(4).
  • Edmonds, J. (1967). Optimum branchings. J. Res. Nat. Bur. Stand.
  • Edmonds, J. (1965). Paths, trees, and flowers. Canad. J. Math 17. (Blossom algorithm for maximum-weight matching.)
  • Edmonds, J., & Karp, R. M. (1972). Theoretical improvements in algorithmic efficiency for network flow problems. JACM 19(2).
  • Goldberg, A. V., & Radzik, T. (1993). A heuristic improvement of the Bellman-Ford algorithm. AML 6.
  • Hopcroft, J. E., & Karp, R. M. (1973). An n^{5/2} algorithm for maximum matchings in bipartite graphs. SIAM J. Computing 2(4).
  • Cordella, Foggia, Sansone, Vento (2004). A (sub)graph isomorphism algorithm for matching large graphs. IEEE TPAMI 26(10). (VF2.)
  • Jüttner, A., & Madarasi, P. (2018). VF2++: An improved subgraph isomorphism algorithm. Discrete Applied Mathematics 242.
  • Newman, M. E. J. (2006). Modularity and community structure in networks. PNAS 103(23). (Greedy modularity.)
  • Blondel et al. (2008). Fast unfolding of communities in large networks. J. Stat. Mech. (Louvain.)
  • Maslov, S., & Sneppen, K. (2002). Specificity and stability in topology of protein networks. Science 296(5569). (random_reference.)
  • Janssens, G., & Sörensen, K. (2005). A partition scheme used by the spanning-tree / arborescence iterators.

Generators

  • Erdős, P., & Rényi, A. (1959). On random graphs I. Publ. Math. Debrecen 6.
  • Watts, D. J., & Strogatz, S. H. (1998). Collective dynamics of "small-world" networks. Nature 393.
  • Barabási, A.-L., & Albert, R. (1999). Emergence of scaling in random networks. Science 286.
  • Kleinberg, J. (2000). The small-world phenomenon: an algorithmic perspective. (navigable_small_world_graph.)
  • Holland, P. W., Laskey, K. B., & Leinhardt, S. (1983). Stochastic blockmodels. Social Networks 5.
  • Lancichinetti, A., Fortunato, S., & Radicchi, F. (2008). Benchmark graphs for testing community detection. PRE 78. (LFR benchmark.)
  • Frucht, R. (1949). Construction underlying the named small graphs (Frucht, Tutte, Petersen) shipped as fixed generators.

Systems infrastructure

  • Birch, J. (2013). RaptorQ codes: A practical look. IETF RFC 6330 codifying the erasure code used in fnx-durability.
  • O'Hearn, P. W. (2018). Continuous reasoning: Scaling the impact of formal methods. LICS. The doctrinal background for the "fail closed under uncertainty" stance encoded in RuntimePolicy.
  • indexmap crate by bluss et al. The ordered hash-map underlying every fnx adjacency structure.
  • blake3 crate by Connor / O'Connor / Aumasson / Neves. The hash function backing the decision-path fingerprint in WitnessSink.
  • PyO3 / Maturin. The Python ↔ Rust binding and packaging stack (Konstin / messense et al.).

Most of these papers are open-access; search by author + year. The NetworkX project's algorithm docstrings (in legacy_networkx_code/ in this repo) cite the same primary sources and are a good cross-reference.

Can I contribute an algorithm? See About Contributions below. The short version: bug reports are welcome, PRs that demonstrate a fix are welcome as illustrations, but I won't merge community PRs directly.

Where do I file a bug? GitHub Issues. Please include a minimal reproducer that calls both nx.<func> and fnx.<func> (or nx.<func>(..., backend="franken_networkx")), the exact mismatch, your NetworkX version, and the FrankenNetworkX version (franken_networkx.__version__).