Class LinearLoadModel

Inheritance Relationships

Base Type

Class Documentation

class LinearLoadModel : public combigrid::LoadModel

Public Functions

LinearLoadModel() = default
~LinearLoadModel() = default
virtual real eval(const LevelVector &l)

Calculates the relative expected load of a given task compared to other tasks.

The calculated load is in no specific unit. However, the “greater than”-relation for two tasks has to be correct.

Parameters:

lvlVec – The level vector corresponding to the task.

Returns:

Relative value (in comparison of different tasks) of the expected load for the given task.