-
Notifications
You must be signed in to change notification settings - Fork 0
Graphs
Joe McCain III edited this page Mar 22, 2023
·
3 revisions
Algae implements a complete framework for working with and creating custom graph-related data-structures. These efforts are generally split between a directed and undirected instance of a graph, using a trait to describe common behaviors.
A graph is a non-linear data-structure created from a collection of nodes paired together to form edges that store an optional edge value.
- Brent's Cycle Detection algorithm
- Floyd Cycle Detection Algorithm
- Bellman-Ford
- Dijkstra's Shortest path algorithm
A breadth-first search starts at a particular vertex and explores all of its neighbors at the present depth before moving on to the vertices in the next level.
In depth-first search, the given vertex is explored as far as possible along each branch before retracing back. To do so, a stack data-structure is used to support backtracking.
- Kahn's algorithm
- Depth-First Search based algorithm
- Blossom algorithm
- Hopcroft-Karp algorithm
- Hungarian algorithm
- Dinic's algorithm
- Edmonds algorithm
- Ford-Flukerson algorithm
- Kruskal's Algorithm
- Prim's Algorithm
- Kosaraju's algorithm
- Tarjan's algorithm