- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# TotalWorkload Class Reference

A functor class used in calulating total workload in a node pool. More...

`#include <AlpsHelperFunctions.h>`

List of all members.

## Public Member Functions
| TotalWorkload (const double incVal, const double rho)
void | operator() (AlpsTreeNode *&node)
double | result () const
## Private Attributes
double | totalLoad_
double | incVal_
double | rho_

## Detailed Description

A functor class used in calulating total workload in a node pool.

Definition at line 38 of file AlpsHelperFunctions.h.

## Constructor & Destructor Documentation

TotalWorkload::TotalWorkload | ( | const double | incVal,
|  | const double | rho |
| ) |  |  | `[inline]`

Definition at line 46 of file AlpsHelperFunctions.h.

## Member Function Documentation

void TotalWorkload::operator() | ( | AlpsTreeNode *& | node | ) | `[inline]`

Definition at line 53 of file AlpsHelperFunctions.h.

References AlpsTreeNode::getQuality(), incVal_, rho_, and totalLoad_.

double TotalWorkload::result | ( |  | ) | const`[inline]`

Definition at line 57 of file AlpsHelperFunctions.h.

References totalLoad_.

## Member Data Documentation

double TotalWorkload::totalLoad_`[private]`

Definition at line 41 of file AlpsHelperFunctions.h.

Referenced by operator()(), and result().

double TotalWorkload::incVal_`[private]`

Definition at line 42 of file AlpsHelperFunctions.h.

Referenced by operator()().

double TotalWorkload::rho_`[private]`

Definition at line 43 of file AlpsHelperFunctions.h.

Referenced by operator()().

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

- /home/coin/SVN-release/Alps-1.3.0/Alps/src/AlpsHelperFunctions.h