| 43 | pub use prim_mst::PrimMST; |
| 44 | |
| 45 | pub trait MST { |
| 46 | /// Returns the edges in a minimum spanning tree (or forest) |
| 47 | fn edges(&self) -> Iter<'_, Edge>; |
| 48 | /// Returns the sum of the edge weights in a minimum spanning tree (or forest) |
| 49 | fn weight(&self) -> f32; |
| 50 | } |
| 51 | |
| 52 | /// Edge weighted graph |
| 53 | pub trait IEWGraph { |
nothing calls this directly
no outgoing calls
no test coverage detected