ell::LT_BarrierTree::cmp_saddle Class Reference
#include <LT_BarrierTree.hh>
Detailed Description
Helper function class of PS_tree_plot to sort the nodes by saddle height.
Definition at line 433 of file LT_BarrierTree.hh.
Public Member Functions | |
cmp_saddle (const std::vector< nodeT > *leaves_) | |
bool | operator() (int A, int B) |
Data Fields | |
const std::vector< nodeT > * | leaves |
Constructor & Destructor Documentation
ell::LT_BarrierTree::cmp_saddle::cmp_saddle | ( | const std::vector< nodeT > * | leaves_ | ) | [inline] |
Member Function Documentation
bool ell::LT_BarrierTree::cmp_saddle::operator() | ( | int | A, | |
int | B | |||
) |
comparison function
- Parameters:
-
A first position in leaves B second position in leaves
- Returns:
- true if saddle height of A is smaller than of B, or if equal if height of A is smaller than B
Definition at line 1876 of file LT_BarrierTree.cc.
Field Documentation
const std::vector<nodeT>* ell::LT_BarrierTree::cmp_saddle::leaves |
Access to the currently printed nodes to enable the sorting of the data structure via cmp_saddle.
Definition at line 439 of file LT_BarrierTree.hh.
The documentation for this class was generated from the following files:
- src/ell/LT_BarrierTree.hh
- src/ell/LT_BarrierTree.cc