Class LoadModel
Defined in File LoadModel.hpp
Inheritance Relationships
Derived Types
public combigrid::AnisotropyLoadModel(Class AnisotropyLoadModel)public combigrid::LearningLoadModel(Class LearningLoadModel)public combigrid::LinearLoadModel(Class LinearLoadModel)
Class Documentation
-
class LoadModel
The LoadModel is an interface to be implemented to provide the expected load of specific tasks. It is to be used for scheduling the Tasks.
Subclassed by combigrid::AnisotropyLoadModel, combigrid::LearningLoadModel, combigrid::LinearLoadModel
Public Functions
-
virtual ~LoadModel() = default
-
virtual real eval(const LevelVector &lvlVec) = 0
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.
-
virtual ~LoadModel() = default