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

pub use single::SLGraph;