49#include <lal/graphs/free_tree.hpp>
50#include <lal/graphs/rooted_tree.hpp>
78(
const std::string& filename,
bool norm =
true,
bool check_norm =
true)
94(const std::
string& filename,
bool norm = true,
bool check_norm = true)
112 std::enable_if_t< std::is_base_of_v<graphs::tree, tree_t>,
bool > = true
116(const std::
string& filename,
bool norm = true,
bool check_norm = true)
119 if constexpr (std::is_same_v<graphs::free_tree, tree_t>) {
122 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, bool norm=true, 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, bool norm=true, bool check_norm=true) noexcept
Reads a free tree in head vector format.
std::optional< tree_t > read_head_vector(const std::string &filename, bool norm=true, bool check_norm=true) noexcept
Reads a rooted tree in head vector format.
Definition: head_vector.hpp:116
Main namespace of the library.
Definition: basic_types.hpp:50