49#include <lal/graphs/free_tree.hpp>
50#include <lal/graphs/rooted_tree.hpp>
79 const std::string& filename,
80 const bool norm =
true,
81 const bool check_norm =
true
99 const std::
string& filename,
100 const
bool norm = true,
101 const
bool check_norm = true
120 std::enable_if_t< std::is_base_of_v<graphs::tree, tree_t>,
bool > = true
124 const std::
string& filename,
125 const
bool norm = true,
126 const
bool check_norm = true
130 if constexpr (std::is_same_v<graphs::free_tree, tree_t>) {
133 else if constexpr (std::is_same_v<graphs::rooted_tree, tree_t>) {
std::optional< graphs::rooted_tree > read_head_vector_rooted_tree(const std::string &filename, const bool norm=true, const bool check_norm=true) noexcept
Reads a rooted tree in head vector format.
std::optional< graphs::free_tree > read_head_vector_free_tree(const std::string &filename, const bool norm=true, const bool check_norm=true) noexcept
Reads a free tree in head vector format.
std::optional< tree_t > read_head_vector(const std::string &filename, const bool norm=true, const bool check_norm=true) noexcept
Reads a rooted tree in head vector format.
Definition head_vector.hpp:123
Main namespace of the library.
Definition basic_types.hpp:48