graphlb is a crystal library which contains all the graph datastructures and algorithms in crystal-lang.
Please find the Documentation here
Clone repository manually:
$ git clone https://github.com/mettuaditya/graphlb && cd graphlb/
or add this to your application's shard.yml
:
dependencies:
graphlb:
github: mettuaditya/graphlb
version: ~> 0.1.0
Then run shards install
-
Algorithms
- Bellman-Ford
- Dijkstras
- Breadth-First-Search
- Depth-First-Search
- Prims
- Edmonds-karp
- Floyd-warshall
- Ford-Fulkerson
- Bipartite-Matching
- Strongly Connected Components
-
Data-Structues
- Directed-Graph
- UnDirected-Graph
- Queue
- Stack
- General-Tree
- Binary-search-tree
- Radix-tree
- RB-tree
- mettuaditya Aditya Mettu - creator, maintainer