Generated on Tue Dec 16 13:34:50 2008 for ell-3.0.0 by doxygen 1.5.1

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]

construction

Definition at line 436 of file LT_BarrierTree.hh.


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

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: