diff options
| author | Andrew Guschin <guschin@altlinux.org> | 2024-10-11 15:57:37 +0400 |
|---|---|---|
| committer | Andrew Guschin <guschin@altlinux.org> | 2024-10-11 15:57:37 +0400 |
| commit | 8a150ccc32b88842c70a9bffb4728cb420fe721d (patch) | |
| tree | a6638f1abf9cba7391862ee7d358aa35cd20df50 /graph-checker/src/compute.rs | |
| parent | 4a59d3d58e8a87c0b176b9ef0a6d8fa65d8e1f03 (diff) | |
feat: add better logging
Diffstat (limited to 'graph-checker/src/compute.rs')
| -rw-r--r-- | graph-checker/src/compute.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graph-checker/src/compute.rs b/graph-checker/src/compute.rs index c3ee046..67c1ae4 100644 --- a/graph-checker/src/compute.rs +++ b/graph-checker/src/compute.rs @@ -2,7 +2,7 @@ use crate::graph::Graph; pub async fn dominating_numbers( g: Graph, -) -> (String, Option<u32>, Option<u32>) { +) -> (String, usize, Option<u32>, Option<u32>) { let line = g.to_g6(); let mut independent_dominating = None; @@ -85,5 +85,5 @@ pub async fn dominating_numbers( } } - (line, independent_dominating, fg) + (line, g.size, independent_dominating, fg) } |