Performance improvements and fix warnings

This commit is contained in:
hal8174 2024-01-02 23:22:20 +01:00
parent 68d0f64058
commit b5dcbccf02
6 changed files with 202 additions and 55 deletions

View file

@ -1,8 +1,6 @@
pub mod adjacency_list;
pub mod shortest_path;
use clap::builder::NonEmptyStringValueParser;
pub trait WheightedGraph: Sized {
type Node;
fn num_edges(&self, node: &Self::Node) -> usize;