45#include <lal/graphs/undirected_graph.hpp>
46#include <lal/graphs/directed_graph.hpp>
47#include <lal/graphs/free_tree.hpp>
48#include <lal/graphs/rooted_tree.hpp>
76 const bool normalize =
true,
77 const bool check =
true
101 const
bool normalize = true,
102 const
bool check = true
122 const
bool normalize = true,
123 const
bool check = true
143 const
bool normalize = true,
144 const
bool check = true
170 const
bool normalize = true,
171 const
bool check = true
194 const
bool normalize = true,
195 const
bool check = true
217 const
bool normalize = true,
218 const
bool check = true
240 const
bool normalize = true,
241 const
bool check = true
Directed graph class.
Definition directed_graph.hpp:67
Free tree graph class.
Definition free_tree.hpp:60
Rooted tree graph class.
Definition rooted_tree.hpp:109
Undirected graph class.
Definition undirected_graph.hpp:66
undirected_graph from_head_vector_to_undirected_graph(const head_vector &hv, const bool normalize=true, const bool check=true) noexcept
Converts a head vector into an undirected graph.
rooted_tree from_head_vector_to_rooted_tree(const head_vector &hv, const bool normalize=true, const bool check=true) noexcept
Converts a head vector into a rooted tree.
directed_graph from_head_vector_to_directed_graph(const head_vector &hv, const bool normalize=true, const bool check=true) noexcept
Converts a head vector into a directed graph.
rooted_tree from_edge_list_to_rooted_tree(const edge_list &el, const bool normalize=true, const bool check=true) noexcept
Converts an edge list into a rooted tree.
directed_graph from_edge_list_to_directed_graph(const edge_list &el, const bool normalize=true, const bool check=true) noexcept
Converts an edge list into a directed graph.
free_tree from_edge_list_to_free_tree(const edge_list &el, const bool normalize=true, const bool check=true) noexcept
Converts an edge list into a rooted tree.
std::pair< free_tree, node > from_head_vector_to_free_tree(const head_vector &hv, const bool normalize=true, const bool check=true) noexcept
Converts a head vector into a rooted tree.
undirected_graph from_edge_list_to_undirected_graph(const edge_list &el, const bool normalize=true, const bool check=true) noexcept
Converts an edge list into an undirected graph.
Main namespace of the library.
Definition basic_types.hpp:48
std::vector< uint64_t > head_vector
See Head vector page for further details.
Definition basic_types.hpp:58
std::vector< edge > edge_list
See Edge list page for further details.
Definition basic_types.hpp:60
uint64_t node
Node type. See Node / Vertex page for further details.
Definition basic_types.hpp:51