Crates.io | genpet |
lib.rs | genpet |
version | 0.1.1 |
source | src |
created_at | 2023-12-26 04:24:44.632366 |
updated_at | 2023-12-26 04:34:11.118553 |
description | Generate petgraph graphs with geng. |
homepage | |
repository | https://github.com/ericbrandwein/genpet |
max_upload_size | |
id | 1080625 |
size | 6,253 |
Generate petgraph graphs with geng.
use genpet::generate_graphs;
use genpet::GengOption;
let graphs = generate_graphs(3, &[]);
for graph in graphs {
println!("{}", graph.node_count());
}
let graphs = generate_graphs(4, &[GengOption::Connected, GengOption::Chordal]);
for graph in graphs {
println!("{}", graph.node_count());
}
cargo test