|
Tulip Plugins
|
This selection plugins implements the so called Kruskal algorithm. This algorithm enables to find a minimum spanning tree in a connected graph. More...
#include <Kruskal.h>
Public Member Functions | |
| Kruskal (const tlp::PropertyContext &context) | |
| ~Kruskal () | |
| bool | run () |
| Compute the Minimum Spanning Tree. | |
| bool | check (std::string &) |
This selection plugins implements the so called Kruskal algorithm. This algorithm enables to find a minimum spanning tree in a connected graph.
This selection plugins enables to find all nodes and edges at a fixed distance of a set of nodes.
This only works on undirected graphs, (ie. the orientation of edges is omitted).
It takes one parameter :
| Kruskal::Kruskal | ( | const tlp::PropertyContext & | context | ) |
| Kruskal::~Kruskal | ( | ) |
| bool Kruskal::check | ( | std::string & | erreurMsg | ) |
| bool Kruskal::run | ( | ) |
Compute the Minimum Spanning Tree.
1.7.4