improvements
This commit is contained in:
parent
aa89d20626
commit
db2784eaba
@ -10,7 +10,7 @@ fn output() {
|
|||||||
let distanz_matrix: Vec<Vec<usize>> = graph::calculate_distanz_matrix(&adjazenz_matrix);
|
let distanz_matrix: Vec<Vec<usize>> = graph::calculate_distanz_matrix(&adjazenz_matrix);
|
||||||
let weg_matrix: Vec<Vec<usize>> = graph::calculate_weg_matrix(&adjazenz_matrix);
|
let weg_matrix: Vec<Vec<usize>> = graph::calculate_weg_matrix(&adjazenz_matrix);
|
||||||
|
|
||||||
println!("adjazenz matrix:");
|
println!("adjazen matrix:");
|
||||||
graph::matrix::show(&adjazenz_matrix);
|
graph::matrix::show(&adjazenz_matrix);
|
||||||
println!("\ndistanz matrix:");
|
println!("\ndistanz matrix:");
|
||||||
graph::matrix::show(&distanz_matrix);
|
graph::matrix::show(&distanz_matrix);
|
||||||
@ -41,4 +41,4 @@ fn output() {
|
|||||||
|
|
||||||
let articulations = graph::find_articulations(&adjazenz_matrix, &components);
|
let articulations = graph::find_articulations(&adjazenz_matrix, &components);
|
||||||
println!("articulations: {:?}", articulations);
|
println!("articulations: {:?}", articulations);
|
||||||
}
|
}
|
Reference in New Issue
Block a user