diff options
| author | Andrew Guschin <guschin.drew@gmail.com> | 2023-04-10 16:31:57 +0400 |
|---|---|---|
| committer | Andrew Guschin <guschin.drew@gmail.com> | 2023-04-10 16:31:57 +0400 |
| commit | 30b7dc646f262ec6d97ac701859d0cf9008816c9 (patch) | |
| tree | 6550cf940989b7d49f9f7f231b3fcb9cf00cf9c5 /graph-checker/src/main.rs | |
| parent | 134dd321468448c67e8d24cbbcee3030bcfb3e39 (diff) | |
Added is_free_of, is_2_connected and thorem 3.1
Diffstat (limited to 'graph-checker/src/main.rs')
| -rw-r--r-- | graph-checker/src/main.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/graph-checker/src/main.rs b/graph-checker/src/main.rs index 54af780..b3d8602 100644 --- a/graph-checker/src/main.rs +++ b/graph-checker/src/main.rs @@ -8,6 +8,7 @@ mod theorems; use crate::theorems::basic::{ bondy_chvatal_hamiltonian_cycle, dirac_theorem, ore_theorem, posa_theorem, }; +use crate::theorems::forbidden; use crate::theorems::toughness::{theorem15, theorem25}; struct Counters { @@ -69,6 +70,11 @@ fn main() { let min_degree = g.min_degree() as f64; + // TODO: add counter + if forbidden::theorem3_1(&g) { + println!("g6:t3_1:{}", line); + } + if theorem15(&g, toughness, min_degree) { counters.t15_hamiltonian += 1; println!("g6:bigalke-jung:{}", line); |