diff options
| author | Andrew Guschin <guschin@altlinux.org> | 2024-03-31 18:36:27 +0500 |
|---|---|---|
| committer | Andrew Guschin <guschin@altlinux.org> | 2024-03-31 18:36:27 +0500 |
| commit | f7aa97e10a2fbddb76e1893b7deb193ad56e7192 (patch) | |
| tree | dab29cd1166edee5c096bdfc45d1c6ab509107f8 /graph-checker/src/theorems/basic.rs | |
| parent | b294692a8251eb9c4ea8f3e78651d88fc6efd792 (diff) | |
latest version
Diffstat (limited to 'graph-checker/src/theorems/basic.rs')
| -rw-r--r-- | graph-checker/src/theorems/basic.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/graph-checker/src/theorems/basic.rs b/graph-checker/src/theorems/basic.rs index 41d5221..94c1f16 100644 --- a/graph-checker/src/theorems/basic.rs +++ b/graph-checker/src/theorems/basic.rs @@ -81,7 +81,6 @@ pub fn bondy_chvatal_hamiltonian_cycle(graph: &Graph) -> Vec<usize> { loop { let next = cycle[current]; let val = closure.matrix[current][next]; - // println!("{current} -> {next} = {val}"); if val > m { m = val; end = current; @@ -95,7 +94,6 @@ pub fn bondy_chvatal_hamiltonian_cycle(graph: &Graph) -> Vec<usize> { if m == 1 { break; } - // println!("New start: {new_start}, end: {end}, m = {m}"); start = new_start; let mut s = start; @@ -110,7 +108,6 @@ pub fn bondy_chvatal_hamiltonian_cycle(graph: &Graph) -> Vec<usize> { } current = next; } - // println!("s = {s}"); let mut new_cycle = Vec::new(); new_cycle.push(start); |