summaryrefslogtreecommitdiff
path: root/forest/src/default.rs
blob: d3970e934be46fe6a6afc46c66ce7e9ed1afdc59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! This file provides a default implementation for the
//! [`Forest`][crate::Forest] trait.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use graph::{error::Error as GraphError, ALGraph, Graph};

#[allow(unused_imports)]
use std::collections::{hash_set::Iter, HashMap, HashSet};

// TODO: Use PLGraph instead.

// #[derive(Debug, Clone)]
// pub struct DefaultForest<NodeLabel: GraphLabel, EdgeLabel: GraphLabel> {
//     graph: ALGraph,
//     vertex_labels: HashMap<usize, NodeLabel>,
//     edge_labels: HashMap<(usize, usize), EdgeLabel>,
//     plugins: HashSet<usize>,
//     plugouts: HashSet<usize>,
// }