ARB
|
#include <SyncRoot.hxx>
Public Member Functions | |
Multiroot (const TreeContainer &trees) | |
Multiroot (const Multiroot &other) | |
int | size () const |
int | distanceSum (const RootSynchronizer &rsync) const |
int | distanceToCenterSum (const RootSynchronizer &rsync) const |
int | singleTreeDistanceSum (const RootSynchronizer &rsync, int idx) |
ConstSizeAwareTreePtr | get_node (int idx) const |
void | replace_node (int idx, ConstSizeAwareTreePtr newNode) |
Static Public Attributes | |
static const int | UNKNOWN_DISTANCE = -1 |
Definition at line 39 of file SyncRoot.hxx.
|
inline |
Definition at line 59 of file SyncRoot.hxx.
References arb_assert, TreeContainer::get_tree(), symmetric_matrix< T >::set(), and size().
|
inline |
Definition at line 71 of file SyncRoot.hxx.
References symmetric_matrix< T >::get(), symmetric_matrix< T >::set(), and size().
|
inline |
Definition at line 82 of file SyncRoot.hxx.
References symmetric_matrix< T >::size().
Referenced by Multiroot().
int Multiroot::distanceSum | ( | const RootSynchronizer & | rsync | ) | const |
Definition at line 484 of file SyncRoot.cxx.
References arb_assert, and RootSynchronizer::deconstructionPhase().
int Multiroot::distanceToCenterSum | ( | const RootSynchronizer & | rsync | ) | const |
Definition at line 496 of file SyncRoot.cxx.
References PART::distance_to_tree_center(), and RootSynchronizer::get_edge_PART().
int Multiroot::singleTreeDistanceSum | ( | const RootSynchronizer & | rsync, |
int | idx | ||
) |
Definition at line 506 of file SyncRoot.cxx.
References arb_assert.
|
inline |
Definition at line 87 of file SyncRoot.hxx.
References NULp.
void Multiroot::replace_node | ( | int | idx, |
ConstSizeAwareTreePtr | newNode | ||
) |
Definition at line 517 of file SyncRoot.cxx.
References arb_assert.
|
static |
Definition at line 57 of file SyncRoot.hxx.