25 #include <boost/graph/bipartite.hpp>
26 #include <boost/graph/connected_components.hpp>
27 #include <boost/graph/biconnected_components.hpp>
28 #include <boost/graph/breadth_first_search.hpp>
29 #include <boost/graph/random_spanning_tree.hpp>
30 #include <boost/property_map/shared_array_property_map.hpp>
31 #include <boost/property_map/property_map.hpp>
32 #include <boost/property_map/vector_property_map.hpp>
34 #include "ear-decomposition.hpp"
40 template <
typename RG>
41 bool decompose_graph(Graph& graph, RG& rand);
43 template <
typename RG>
44 void decompose_recursion(Graph& g, RG& rand);
47 void connected_components_to_subgraphs(Graph& g);
50 void biconnected_components_to_subgraphs(Graph& g);
53 void create_biconnected_subgraphs(Graph& g, Vertex v, std::map<int, Graph*> bicomponent_graphs, std::map<Edge, int>& component,
int j);
56 void merge_biconnected_paths(Graph& g, Vertex p, Vertex v, std::map<Edge, int>& component, std::vector<Vertex>& art_points,
int& nc);
59 template <
typename RG>
60 void ear_decomposition_to_subgraphs(Graph& g, RG& rand,
bool optimize_decomposition);
63 std::pair<int, int> get_alpha_beta(Graph& g, std::vector<Vertex> att_points,
int num);
66 void color_attachment_points(Graph& g);
69 void parts_between_articulations_to_subgraphs(Graph& g);
72 void parts_recursion(Graph& g, Graph * subgptr, Vertex v);
This file holds all global includes, definitions and variables.
This file holds all important information for the dependency graph, its definition and often used fun...
All classes and functions for the RNA design library are under the design namespace.