![]() |
Version: 1.0 |
Go to the source code of this file.
Functions | |
bool | LoadConactTree (BinaryDrag< conact > &t, const string &filename) |
bool | WriteConactTree (const BinaryDrag< conact > &t, const string &filename) |
bool | equivalent_trees (const BinaryDrag< conact >::node *n1, const BinaryDrag< conact >::node *n2) |
void | intersect_leaves (BinaryDrag< conact >::node *n1, BinaryDrag< conact >::node *n2) |
bool | EqualTrees (const BinaryDrag< conact >::node *n1, const BinaryDrag< conact >::node *n2) |
Checks whether two (sub)trees 'n1' and 'n2' are equal or nor. More... | |
void | IntersectTrees (BinaryDrag< conact >::node *n1, BinaryDrag< conact >::node *n2) |
bool | LoadConactDrag (BinaryDrag< conact > &t, const string &filename) |
bool | WriteConactDrag (BinaryDrag< conact > &t, const string &filename) |
bool EqualTrees | ( | const BinaryDrag< conact >::node * | n1, |
const BinaryDrag< conact >::node * | n2 | ||
) |
Checks whether two (sub)trees 'n1' and 'n2' are equal or nor.
[in] | n1 | Pointer to the root of the first subtree to be checked |
[in] | n2 | Pointer to the root of the second subtree to be checked |
Definition at line 107 of file conact_tree.cpp.
bool equivalent_trees | ( | const BinaryDrag< conact >::node * | n1, |
const BinaryDrag< conact >::node * | n2 | ||
) |
Definition at line 86 of file conact_tree.cpp.
void intersect_leaves | ( | BinaryDrag< conact >::node * | n1, |
BinaryDrag< conact >::node * | n2 | ||
) |
Definition at line 96 of file conact_tree.cpp.
void IntersectTrees | ( | BinaryDrag< conact >::node * | n1, |
BinaryDrag< conact >::node * | n2 | ||
) |
Definition at line 118 of file conact_tree.cpp.
bool LoadConactDrag | ( | BinaryDrag< conact > & | t, |
const string & | filename | ||
) |
Definition at line 129 of file conact_tree.cpp.
bool LoadConactTree | ( | BinaryDrag< conact > & | t, |
const string & | filename | ||
) |
Definition at line 46 of file conact_tree.cpp.
bool WriteConactDrag | ( | BinaryDrag< conact > & | t, |
const string & | filename | ||
) |
Definition at line 139 of file conact_tree.cpp.
bool WriteConactTree | ( | const BinaryDrag< conact > & | t, |
const string & | filename | ||
) |
Definition at line 76 of file conact_tree.cpp.