summaryrefslogtreecommitdiff
path: root/graph-checker/src/compute.rs
diff options
context:
space:
mode:
authorAndrew Guschin <guschin@altlinux.org>2024-10-09 04:50:31 +0400
committerAndrew Guschin <guschin@altlinux.org>2024-10-09 04:50:31 +0400
commit8cc7dc96334f82c5f00317e9e4574145396fa4ad (patch)
tree5ca2bce6b26cc7f889ab7fb13027e988007ac11f /graph-checker/src/compute.rs
parent7bef94da59261074164a388fecd78f306877a499 (diff)
almost done
Diffstat (limited to 'graph-checker/src/compute.rs')
-rw-r--r--graph-checker/src/compute.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/graph-checker/src/compute.rs b/graph-checker/src/compute.rs
index 2d0ddcc..34d57a9 100644
--- a/graph-checker/src/compute.rs
+++ b/graph-checker/src/compute.rs
@@ -1,6 +1,8 @@
use crate::graph::Graph;
-pub fn dominating_numbers(g: Graph) -> (String, Option<u32>, Option<u32>) {
+pub async fn dominating_numbers(
+ g: Graph,
+) -> (String, Option<u32>, Option<u32>) {
let line = g.to_g6();
let mut independent_dominating = None;