Public Member Functions | Private Attributes | List of all members
TotalWorkload Class Reference

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

#include <AlpsHelperFunctions.h>

Inheritance diagram for TotalWorkload:
Inheritance graph
[legend]
Collaboration diagram for TotalWorkload:
Collaboration graph
[legend]

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.

double TotalWorkload::result ( ) const
inline

Definition at line 57 of file AlpsHelperFunctions.h.

Member Data Documentation

double TotalWorkload::totalLoad_
private

Definition at line 41 of file AlpsHelperFunctions.h.

double TotalWorkload::incVal_
private

Definition at line 42 of file AlpsHelperFunctions.h.

double TotalWorkload::rho_
private

Definition at line 43 of file AlpsHelperFunctions.h.


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