pub trait MSTAlgorithms<R: Runtime> {
// Required method
fn minimum_spanning_tree(
&self,
graph: &GraphData<R>,
) -> Result<MSTResult<R>>;
}Expand description
Minimum spanning tree algorithms.
Finds the subset of edges that connects all nodes with minimum total weight. Only meaningful for undirected graphs.