pelib
2.0.0
|
#include <DeadlineConstant.hpp>
Public Member Functions | |
DeadlineConstant (double val) | |
virtual double | calculate (const Taskgraph &tg, const Platform &arch) const |
Holds a contant floating-point value and returns it upon deadline computing request
Definition at line 30 of file DeadlineConstant.hpp.
DeadlineConstant::DeadlineConstant | ( | double | val | ) |
Constructor: holds the floating-point value given as parameter to return it upon invocation of calculate()
Definition at line 26 of file DeadlineConstant.cpp.
double DeadlineConstant::calculate | ( | const Taskgraph & | tg, |
const Platform & | arch | ||
) | const [virtual] |
Returns the private member value, ignoring instances of Taskgraph and Platform
Implements pelib::DeadlineCalculator.
Definition at line 28 of file DeadlineConstant.cpp.