#include <mst.h>
Public Member Functions | |
std::vector< graph::Vertex > | mst (graph &g) |
Private Member Functions | |
graph::Vertex | maxKey (std::vector< graph::Weight > &key, std::vector< bool > &mstSet, graph::Vertex vCount) |
graph::Vertex PrimeMST::maxKey | ( | std::vector< graph::Weight > & | key, |
std::vector< bool > & | mstSet, | ||
graph::Vertex | vCount | ||
) | [inline, private] |
std::vector<graph::Vertex> PrimeMST::mst | ( | graph & | g | ) | [inline, virtual] |
Implements MSTStrategy.