summaryrefslogtreecommitdiff
path: root/graph-checker/src/graph.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graph-checker/src/graph.rs')
-rw-r--r--graph-checker/src/graph.rs37
1 files changed, 19 insertions, 18 deletions
diff --git a/graph-checker/src/graph.rs b/graph-checker/src/graph.rs
index bb0fb03..cf3dbc0 100644
--- a/graph-checker/src/graph.rs
+++ b/graph-checker/src/graph.rs
@@ -1,4 +1,5 @@
-use std::collections::{HashMap, HashSet};
+// use std::collections::{HashMap, HashSet};
+use std::collections::HashSet;
use std::fmt;
#[derive(Clone, PartialEq, Eq)]
@@ -7,23 +8,23 @@ pub struct Graph {
pub matrix: Vec<Vec<u32>>,
}
-pub struct GraphProfile {
- g6: String,
- stats: HashMap<String, bool>,
-}
-
-impl GraphProfile {
- pub fn new(g6: &String) -> Self {
- Self {
- g6: g6.clone(),
- stats: HashMap::new(),
- }
- }
-
- pub fn insert(&mut self, key: String, value: bool) {
- self.stats.insert(key, value);
- }
-}
+// pub struct GraphProfile {
+// g6: String,
+// stats: HashMap<String, bool>,
+// }
+//
+// impl GraphProfile {
+// pub fn new(g6: &String) -> Self {
+// Self {
+// g6: g6.clone(),
+// stats: HashMap::new(),
+// }
+// }
+//
+// pub fn insert(&mut self, key: String, value: bool) {
+// self.stats.insert(key, value);
+// }
+// }
#[derive(Clone, PartialEq, Eq, Debug)]
pub struct Cutset {