![]() |
Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Minimal Spanning Forest algorithm. More...
#include <Minimal_oriented_spanning_forest_Boruvka.hpp>
Public Types | |
typedef boost::adjacency_list< boost::vecS, boost::vecS, boost::undirectedS, Vertex, boost::property< boost::edge_weight_t, Edge_weight > > | Minimal_oriented_spanning_forest |
Undirected forest: when an edge is twice selected, only one edge is added to the MSF. More... | |
typedef boost::adjacency_list< boost::vecS, boost::vecS, boost::directedS, Vertex, boost::property< boost::edge_weight_t, Edge_weight > > | Minimal_spanning_graph |
Directed forest: when an edge is twice selected, both edgesare added to the MSG. More... | |
Minimal Spanning Forest algorithm.
Computes a covering forest of overall minimum weight – weight = sum of edge weights. This algorithm is one step of Boruvka's algorithm to compute a MST.
The edge weighted graph. NB: the graph may not be connected.
Graph | Model of a bipartite boost graph. |
typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, Vertex, boost::property<boost::edge_weight_t, Edge_weight> > Minimal_oriented_spanning_forest |
Undirected forest: when an edge is twice selected, only one edge is added to the MSF.
typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, Vertex, boost::property<boost::edge_weight_t, Edge_weight> > Minimal_spanning_graph |
Directed forest: when an edge is twice selected, both edgesare added to the MSG.