File: validation.hpp

package info (click to toggle)
iqtree 2.0.7%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 14,620 kB
  • sloc: cpp: 142,571; ansic: 57,789; sh: 275; python: 242; makefile: 95
file content (19 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef VALIDATION_HPP
#define VALIDATION_HPP

#include <terraces/parser.hpp>
#include <terraces/trees.hpp>

#include "bitvector.hpp"

namespace terraces {

bool is_isomorphic_unrooted(const tree& fst, const tree& snd);

bool is_isomorphic_rooted(const tree& fst, const tree& snd);

std::vector<simple_bitvector> tree_bipartitions(const tree& t);

} // namespace terraces

#endif // TREE_BIPARTITIONS_HPP