Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

Support most common graph algorithms #3515

Closed
Closed

Description

@lvca
  │          Algorithm          │                Class(es)                 │ SQL │ Cypher │                                Description                                │ Complexity │
  ├─────────────────────────────┼──────────────────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
  │ Bellman-Ford                │ SQLFunctionBellmanFord / AlgoBellmanFord │ ✅  │   ✅   │ Shortest path supporting negative edge weights; detects negative cycles   │ O(V·E)     │
  ├─────────────────────────────┼──────────────────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
  │ PageRank                    │ AlgoPageRank                             │ ❌  │   ✅   │ Ranks nodes by importance based on incoming link structure (iterative)    │ O(k·(V+E)) │
  ├─────────────────────────────┼──────────────────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
  │ Betweenness Centrality      │ AlgoBetweenness                          │ ❌  │   ✅   │ Measures how often a node lies on shortest paths between other nodes      │ O(V·E)     │
  ├─────────────────────────────┼──────────────────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
  │ Weakly Connected Components │ AlgoWCC                                  │ ❌  │   ✅   │ Finds groups of nodes reachable from each other ignoring edge direction   │ O(V+E)     │
  ├─────────────────────────────┼──────────────────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
  │ Louvain Community Detection │ AlgoLouvain                              │ ❌  │   ✅   │ Detects communities by maximizing modularity through iterative merging    │ O(V·log V) │
  ├─────────────────────────────┼──────────────────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
  │ Label Propagation           │ AlgoLabelPropagation                     │ ❌  │   ✅   │ Detects communities by iteratively spreading labels to majority neighbors │ O(k·(V+E)) │
  └─────────────────────────────┴──────────────────────────────────────────┴─────┴────────┴───────────────────────────────────────────────────────────────────────────┴────────────┘

Activity

  1. self-assigned this
    on Feb 23, 2026
  2. added theissue type on Feb 23, 2026
  3. added this to the 26.3.1 milestone on Feb 23, 2026
  4. lvca commented on Feb 23, 2026

    @lvca
    MemberAuthor
      ┌────────────────────┬─────────────────────────┬─────┬────────┬───────────────────────────────────────────────────────────────────────┬────────────┐
      │        Name        │          Class          │ SQL │ Cypher │                              Description                              │ Complexity │
      ├────────────────────┼─────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.closeness     │ AlgoClosenessCentrality │ ❌  │ ✅     │ Inverse average shortest path length from each node                   │ O(V·(V+E)) │
      ├────────────────────┼─────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.degree        │ AlgoDegreeCentrality    │ ❌  │ ✅     │ In/out/total degree per node                                          │ O(V)       │
      ├────────────────────┼─────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.triangleCount │ AlgoTriangleCount       │ ❌  │ ✅     │ Triangles per node + clustering coefficient                           │ O(V·d²)    │
      ├────────────────────┼─────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.kcore         │ AlgoKCore               │ ❌  │ ✅     │ K-core decomposition (max subgraph where all nodes have ≥k neighbors) │ O(V+E)     │
      ├────────────────────┼─────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.scc           │ AlgoSCC                 │ ❌  │ ✅     │ Strongly Connected Components via Kosaraju                            │ O(V+E)     │
      ├────────────────────┼─────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.mst           │ AlgoMST                 │ ❌  │ ✅     │ Minimum Spanning Tree via Kruskal + Union-Find                        │ O(E log E) │
      ├────────────────────┼─────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.jaccard       │ AlgoJaccardSimilarity   │ ❌  │ ✅     │ Jaccard similarity between neighbor sets of two nodes                 │ O(d)       │
      ├────────────────────┼─────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.randomWalk    │ AlgoRandomWalk          │ ❌  │ ✅     │ Random walk from a start node for N steps                             │ O(steps)   │
      └────────────────────┴─────────────────────────┴─────┴────────┴───────────────────────────────────────────────────────────────────────┴────────────┘
    
  5. added a commit that references this issue on Feb 23, 2026
  6. lvca commented on Feb 23, 2026

    @lvca
    MemberAuthor
      ┌─────────────────────────┬───────────────────────────┬─────┬────────┬───────────────────────────────────────────────────────────────────────────┬────────────┐
      │          Name           │           Class           │ SQL │ Cypher │                                Description                                │ Complexity │
      ├─────────────────────────┼───────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.hits               │ AlgoHITS                  │ ❌  │ ✅     │ Hub/Authority scores via power iteration (Hyperlink-Induced Topic Search) │ O(iter·E)  │
      ├─────────────────────────┼───────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.harmonic           │ AlgoHarmonicCentrality    │ ❌  │ ✅     │ Sum of inverse distances from each node to all reachable nodes            │ O(V·(V+E)) │
      ├─────────────────────────┼───────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.eigenvector        │ AlgoEigenvectorCentrality │ ❌  │ ✅     │ Eigenvector centrality via power iteration                                │ O(iter·E)  │
      ├─────────────────────────┼───────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.articulationPoints │ AlgoArticulationPoints    │ ❌  │ ✅     │ Vertices whose removal disconnects the graph (Tarjan iterative DFS)       │ O(V+E)     │
      ├─────────────────────────┼───────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.bridges            │ AlgoBridges               │ ❌  │ ✅     │ Edges whose removal disconnects the graph (Tarjan iterative DFS)          │ O(V+E)     │
      ├─────────────────────────┼───────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.topologicalSort    │ AlgoTopologicalSort       │ ❌  │ ✅     │ Linear ordering of DAG vertices via Kahn's algorithm                      │ O(V+E)     │
      ├─────────────────────────┼───────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.apsp               │ AlgoAPSP                  │ ❌  │ ✅     │ All-Pairs Shortest Paths via Floyd-Warshall                               │ O(V³)      │
      ├─────────────────────────┼───────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.adamicAdar         │ AlgoAdamicAdar            │ ❌  │ ✅     │ Link prediction score based on shared neighbors' log-degree               │ O(d²)      │
      └─────────────────────────┴───────────────────────────┴─────┴────────┴───────────────────────────────────────────────────────────────────────────┴────────────┘
    
  7. lvca commented on Feb 23, 2026

    @lvca
    MemberAuthor
      ┌─────────────────────────────┬────────────────────────────┬─────┬────────┬───────────────────────────────────────────────────────────────────────────┬────────────┐
      │            Name             │           Class            │ SQL │ Cypher │                                Description                                │ Complexity │
      ├─────────────────────────────┼────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.eccentricity           │ AlgoEccentricity           │ ❌  │ ✅     │ Max shortest path from each node; derives diameter, radius, center        │ O(V·(V+E)) │
      ├─────────────────────────────┼────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.bipartite              │ AlgoBipartiteCheck         │ ❌  │ ✅     │ Tests if graph is bipartite via BFS 2-coloring                            │ O(V+E)     │
      ├─────────────────────────────┼────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.graphColoring          │ AlgoGraphColoring          │ ❌  │ ✅     │ Greedy graph coloring (minimum colors so no adjacent nodes share a color) │ O(V+E)     │
      ├─────────────────────────────┼────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.commonNeighbors        │ AlgoCommonNeighbors        │ ❌  │ ✅     │ Count of shared neighbors between two nodes                               │ O(d)       │
      ├─────────────────────────────┼────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.preferentialAttachment │ AlgoPreferentialAttachment │ ❌  │ ✅     │ Link prediction score = product of degrees of two nodes                   │ O(1)       │
      ├─────────────────────────────┼────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.resourceAllocation     │ AlgoResourceAllocation     │ ❌  │ ✅     │ Link prediction via sum of 1/degree over shared neighbors                 │ O(d²)      │
      ├─────────────────────────────┼────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.cycleDetection         │ AlgoCycleDetection         │ ❌  │ ✅     │ Detects cycles; marks nodes that are part of a cycle (via Kosaraju SCC)   │ O(V+E)     │
      ├─────────────────────────────┼────────────────────────────┼─────┼────────┼───────────────────────────────────────────────────────────────────────────┼────────────┤
      │ algo.densestSubgraph        │ AlgoDensestSubgraph        │ ❌  │ ✅     │ Finds densest subgraph via Charikar greedy peeling (2-approximation)      │ O(V+E)     │
      └─────────────────────────────┴────────────────────────────┴─────┴────────┴───────────────────────────────────────────────────────────────────────────┴────────────┘
    
  8. lvca commented on Feb 23, 2026

    @lvca
    MemberAuthor
      ┌──────────────────────┬────────────────────────────────────────────────────────────────────────────┬────────────────────┬─────┬────────┐
      │         Name         │                                Description                                 │     Complexity     │ SQL │ Cypher │
      ├──────────────────────┼────────────────────────────────────────────────────────────────────────────┼────────────────────┼─────┼────────┤
      │ algo.katz            │ Katz centrality — sum of attenuated paths (α^length) via power iteration   │ O(iter·E)          │ ❌  │ ✅     │
      ├──────────────────────┼────────────────────────────────────────────────────────────────────────────┼────────────────────┼─────┼────────┤
      │ algo.voteRank        │ VoteRank — iterative voting to rank most influential spreaders             │ O(rounds·E)        │ ❌  │ ✅     │
      ├──────────────────────┼────────────────────────────────────────────────────────────────────────────┼────────────────────┼─────┼────────┤
      │ algo.maxFlow         │ Maximum flow source→sink via Edmonds-Karp (BFS Ford-Fulkerson)             │ O(V·E²)            │ ❌  │ ✅     │
      ├──────────────────────┼────────────────────────────────────────────────────────────────────────────┼────────────────────┼─────┼────────┤
      │ algo.kShortestPaths  │ K shortest paths via Yen's algorithm                                       │ O(k·V·(E+V log V)) │ ❌  │ ✅     │
      ├──────────────────────┼────────────────────────────────────────────────────────────────────────────┼────────────────────┼─────┼────────┤
      │ algo.simRank         │ SimRank — two nodes are similar if their neighbors are similar             │ O(iter·V²)         │ ❌  │ ✅     │
      ├──────────────────────┼────────────────────────────────────────────────────────────────────────────┼────────────────────┼─────┼────────┤
      │ algo.clique          │ Maximal cliques via iterative Bron-Kerbosch with Tomita pivoting + BitSet  │ O(3^(V/3))         │ ❌  │ ✅     │
      ├──────────────────────┼────────────────────────────────────────────────────────────────────────────┼────────────────────┼─────┼────────┤
      │ algo.graphSummary    │ Graph-level stats: V, E, avg/max/min degree, density, isolates, self-loops │ O(V+E)             │ ❌  │ ✅     │
      ├──────────────────────┼────────────────────────────────────────────────────────────────────────────┼────────────────────┼─────┼────────┤
      │ algo.modularityScore │ Compute modularity Q of a given community partition                        │ O(V+E)             │ ❌  │ ✅     │
      └──────────────────────┴────────────────────────────────────────────────────────────────────────────┴────────────────────┴─────┴────────┘
    
  9. lvca commented on Feb 23, 2026

    @lvca
    MemberAuthor
      ┌─────────────────────────────┬────────────────────────────────────────────────────────────────────────────────┬────────────┬─────┬────────┐
      │            Name             │                                  Description                                   │ Complexity │ SQL │ Cypher │
      ├─────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┼────────────┼─────┼────────┤
      │ algo.leiden                 │ Leiden community detection — improved Louvain with refinement phase            │ O(V log V) │ ❌  │ ✅     │
      ├─────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┼────────────┼─────┼────────┤
      │ algo.personalizedPageRank   │ PageRank teleporting to a specific source node                                 │ O(iter·E)  │ ❌  │ ✅     │
      ├─────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┼────────────┼─────┼────────┤
      │ algo.kTruss                 │ K-truss decomposition — max subgraph where every edge is in ≥ k−2 triangles    │ O(E^1.5)   │ ❌  │ ✅     │
      ├─────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┼────────────┼─────┼────────┤
      │ algo.assortativity          │ Newman's degree assortativity — how much nodes connect to similar-degree nodes │ O(E)       │ ❌  │ ✅     │
      ├─────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┼────────────┼─────┼────────┤
      │ algo.richClub               │ Rich club coefficient φ(k) — do high-degree nodes prefer each other?           │ O(V+E)     │ ❌  │ ✅     │
      ├─────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┼────────────┼─────┼────────┤
      │ algo.influenceMaximization  │ Greedy top-k seed selection via Independent Cascade Monte Carlo                │ O(k·R·E)   │ ❌  │ ✅     │
      ├─────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┼────────────┼─────┼────────┤
      │ algo.hierarchicalClustering │ Agglomerative single-linkage clustering via Union-Find + BitSet Jaccard        │ O(V²)      │ ❌  │ ✅     │
      ├─────────────────────────────┼────────────────────────────────────────────────────────────────────────────────┼────────────┼─────┼────────┤
      │ algo.conductance            │ Per-community conductance = cut / min(vol(C), vol(V\C))                        │ O(V+E)     │ ❌  │ ✅     │
      └─────────────────────────────┴────────────────────────────────────────────────────────────────────────────────┴────────────┴─────┴────────┘
    
  10. added a commit that references this issue on Feb 23, 2026
  11. 18 remaining items

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

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions