Crates.io | abstractgraph |
lib.rs | abstractgraph |
version | 0.1.4 |
source | src |
created_at | 2019-02-20 14:10:32.396558 |
updated_at | 2019-05-12 15:11:25.154263 |
description | Abstract Graph Algorithms |
homepage | |
repository | https://gitlab.com/dgibson/abstractgraph.git |
max_upload_size | |
id | 115971 |
size | 38,439 |
It's quite common for graph structures to be defined implicitly by other data structures. However, most graph algorithm libraries require a specific input representation of the graph, meaning you need to awkwardly convert your internal data structures into that representation first.
abstractgraph
lets you run graph algorithms directly on your own
data structures, by having them implement traits to expose the graph structure.
Currently implemented algorithms:
abstractgraph
began as a port of the aga
and agar
modules from ccan.
Add the following to your Cargo.toml
:
[dependencies]
abstractgraph = "0.1"
This library is licensed under the LGPL, version 2.1 or later.