blob: 13fd8c1f39308e6deec460b7302725c8d3daf10a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#![warn(missing_docs)]
//! This file implements a labelled graph. See the trait
//! [`LabelGraph`][crate::LabelGraph] for details.
//!
//! Since the method
//! [`find_children_with_label`][super::LabelGraph::find_children_with_label]
//! needs to be implemented efficiently, we store the mappings between
//! labels and edges in both directions.
use std::ops::{Deref, DerefMut};
use crate::{builder::Builder, error::Error, Graph, GraphLabel, LabelExtGraph, LabelGraph};
pub mod double;
pub use double::{DLGBuilder, DLGraph};
pub mod binary;
pub use binary::{PLGBuilderMut, PLGraph};
pub mod simple;
pub use simple::{SLGBuilder, SLGraph};
|