pelib  2.0.0
pelib::DeadlineCalculator Class Reference

#include <DeadlineCalculator.hpp>

Inheritance diagram for pelib::DeadlineCalculator:

List of all members.

Public Member Functions

virtual ~DeadlineCalculator ()
virtual double calculate (const Taskgraph &tg, const Platform &arch) const =0

Static Public Member Functions

static DeadlineCalculatorgetDeadlineCalculator (const std::string key)

Detailed Description

Superclass of any class that can compute a deadline for a Taskgraph given a Platform

Definition at line 30 of file DeadlineCalculator.hpp.

Constructor & Destructor Documentation

virtual pelib::DeadlineCalculator::~DeadlineCalculator ( ) [inline, virtual]


Definition at line 34 of file DeadlineCalculator.hpp.

Member Function Documentation

virtual double pelib::DeadlineCalculator::calculate ( const Taskgraph tg,
const Platform arch 
) const [pure virtual]

Computes and returns a deadline value for a taskgraph and platform

Implemented in pelib::DeadlineFormula, and pelib::DeadlineConstant.

Return an instance derived from DeadlineCalculator that can compute a deadline from a string formula

keyFormula used by a suitable derived class of DeadlineCalculator to compute a deadline

Definition at line 33 of file DeadlineCalculator.cpp.

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