OpenWalnut  1.4.0
Public Member Functions | Public Attributes
compSize Struct Reference

implements a compare operator for clusters, depending on leaf count More...

#include <WHierarchicalTree.h>

List of all members.

Public Member Functions

 compSize (WHierarchicalTree *tree)
 constructor
bool operator() (const size_t lhs, const size_t rhs) const
 compares two clusters

Public Attributes

WHierarchicalTreem_tree
 stores pointer to tree we work on

Detailed Description

implements a compare operator for clusters, depending on leaf count

Definition at line 301 of file WHierarchicalTree.h.


Constructor & Destructor Documentation

compSize::compSize ( WHierarchicalTree tree) [inline, explicit]

constructor

Parameters:
tree

Definition at line 309 of file WHierarchicalTree.h.


Member Function Documentation

bool compSize::operator() ( const size_t  lhs,
const size_t  rhs 
) const [inline]

compares two clusters

Parameters:
lhs
rhs
Returns:
bool

Definition at line 320 of file WHierarchicalTree.h.

References m_tree, and WHierarchicalTree::size().


Member Data Documentation

stores pointer to tree we work on

Definition at line 303 of file WHierarchicalTree.h.

Referenced by operator()().


The documentation for this struct was generated from the following file: