pelib  2.0.0
pelib::DeadlineFormula Class Reference

#include <DeadlineFormula.hpp>

Inheritance diagram for pelib::DeadlineFormula:
[legend]

List of all members.

Public Member Functions

 DeadlineFormula (string formula)
virtual double calculate (const Taskgraph &tg, const Platform &arch) const

Detailed Description

Computes a deadline from a mathematical expression in a string

Definition at line 30 of file DeadlineFormula.hpp.


Constructor & Destructor Documentation

Constructor

Parameters:
formulaString mathematical formula to be intepreted to compute a deadline

Definition at line 42 of file DeadlineFormula.cpp.


Member Function Documentation

double DeadlineFormula::calculate ( const Taskgraph tg,
const Platform arch 
) const [virtual]

Interpret and computes a deadline given instances of a Taskgraph and of a Platform

Parameters:
tgTaskgraph containing the tasks to run withing the deadline to compure
archPlatform that runs the tasks

Implements pelib::DeadlineCalculator.

Definition at line 45 of file DeadlineFormula.cpp.


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