blob: 2bbc7eca2b43afea56ba6184c6e82514bf9eed84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#![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 use binary::BLGraph;
|