ARB
|
#include <ap_tree_nlen.hxx>
Public Member Functions | |
EdgeChain (AP_tree_edge *start_, EdgeSpec whichEdges, bool depthFirst, const AP_tree_nlen *skip=NULp, bool includeStart=true) | |
~EdgeChain () | |
size_t | size () const |
operator bool () const | |
AP_tree_edge * | operator* () |
const EdgeChain & | operator++ () |
void | restart () |
Definition at line 355 of file ap_tree_nlen.hxx.
EdgeChain::EdgeChain | ( | AP_tree_edge * | start_, |
EdgeSpec | whichEdges, | ||
bool | depthFirst, | ||
const AP_tree_nlen * | skip = NULp , |
||
bool | includeStart = true |
||
) |
build a chain of edges for further processing
startEgde | start edge |
whichEdges | specifies which edges get chained |
depthFirst | true -> insert leafs before inner nodes (but whole son-subtree before other-son-subtree) |
skip | previous node (will not recurse beyond) |
includeStart | include startEdge in chain? |
Definition at line 172 of file AP_tree_edge.cxx.
References ap_assert, GBK_terminate(), AP_tree_edge::is_root_edge(), NULp, AP_tree_edge::otherNode(), and AP_tree_edge::sonNode().
|
inline |
Definition at line 362 of file ap_tree_nlen.hxx.
|
inline |
Definition at line 364 of file ap_tree_nlen.hxx.
Referenced by insert_species_into_tree(), ArbParsimony::kernighan_optimize_tree(), AP_tree_edge::mixTree(), and AP_tree_edge::nni_rec().
|
inline |
Definition at line 367 of file ap_tree_nlen.hxx.
|
inline |
Definition at line 370 of file ap_tree_nlen.hxx.
|
inline |
Definition at line 373 of file ap_tree_nlen.hxx.
References ap_assert.
|
inline |
Definition at line 378 of file ap_tree_nlen.hxx.
Referenced by AP_tree_edge::mixTree(), and AP_tree_edge::nni_rec().