summaryrefslogtreecommitdiff
path: root/graph/src/labelled/mod.rs
blob: fb7b405208e7e1b424561f402e08ae87cb14dd98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![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};