crown
1.0.0
|
#include <CrownScaling.hpp>
Public Member Functions | |
CrownScaling (const CrownConfig *=NULL, const CrownAllocation *alloc=NULL, const CrownMapping *mapping=NULL, bool showOutput=false, bool showError=false) | |
CrownScaling (const Algebra ¶m, const CrownConfig *=NULL, const CrownAllocation *alloc=NULL, const CrownMapping *mapping=NULL, bool showOutput=false, bool showError=false) | |
CrownScaling (const Taskgraph &tg, const Platform &pt, const Algebra ¶m, const CrownConfig *=NULL, const CrownAllocation *alloc=NULL, const CrownMapping *mapping=NULL, bool showOutput=false, bool showError=false) | |
CrownScaling (const CrownScaling &src) | |
virtual | ~CrownScaling () |
virtual Algebra | scale (const Algebra &, std::map< const string, double > &stats) const =0 |
virtual Schedule | schedule (const Taskgraph &tg, const Platform &pt, std::map< const string, double > &) const |
virtual Schedule | schedule (const Taskgraph &tg, const Platform &pt, const Algebra ¶m, std::map< const string, double > &) const |
Algebra | solve (const Algebra &tg, const Algebra &pt, const pelib::Algebra ¶m, std::map< const std::basic_string< char >, double > &statistics) const |
virtual float | complexity (const Algebra &problem) const =0 |
virtual float | complexity (const Taskgraph &, const Platform &, const Algebra &, const CrownConfig *=NULL) const =0 |
virtual std::string | getShortDescription () const =0 |
virtual CrownScaling * | clone () const =0 |
Protected Attributes | |
const CrownAllocation * | alloc |
const CrownMapping * | mapping |
Definition at line 36 of file CrownScaling.hpp.
CrownScaling::CrownScaling | ( | const CrownConfig * | config = NULL , |
const CrownAllocation * | alloc = NULL , |
||
const CrownMapping * | mapping = NULL , |
||
bool | showOutput = false , |
||
bool | showError = false |
||
) |
Definition at line 62 of file CrownScaling.cpp.
CrownScaling::CrownScaling | ( | const Algebra & | param, |
const CrownConfig * | config = NULL , |
||
const CrownAllocation * | alloc = NULL , |
||
const CrownMapping * | mapping = NULL , |
||
bool | showOutput = false , |
||
bool | showError = false |
||
) |
Definition at line 67 of file CrownScaling.cpp.
CrownScaling::CrownScaling | ( | const Taskgraph & | tg, |
const Platform & | pt, | ||
const Algebra & | param, | ||
const CrownConfig * | config = NULL , |
||
const CrownAllocation * | alloc = NULL , |
||
const CrownMapping * | mapping = NULL , |
||
bool | showOutput = false , |
||
bool | showError = false |
||
) |
Definition at line 72 of file CrownScaling.cpp.
CrownScaling::CrownScaling | ( | const CrownScaling & | src | ) |
Definition at line 77 of file CrownScaling.cpp.
CrownScaling::~CrownScaling | ( | ) | [virtual] |
Definition at line 131 of file CrownScaling.cpp.
virtual CrownScaling* pelib::crown::CrownScaling::clone | ( | ) | const [pure virtual] |
Implements pelib::crown::CrownScheduler.
Implemented in pelib::crown::CrownScalingHeight, and pelib::crown::CrownScalingILP.
virtual float pelib::crown::CrownScaling::complexity | ( | const Algebra & | problem | ) | const [pure virtual] |
Reimplemented from pelib::crown::CrownScheduler.
Implemented in pelib::crown::CrownScalingHeight, and pelib::crown::CrownScalingILP.
virtual float pelib::crown::CrownScaling::complexity | ( | const Taskgraph & | , |
const Platform & | , | ||
const Algebra & | , | ||
const CrownConfig * | = NULL |
||
) | const [pure virtual] |
Implemented in pelib::crown::CrownScalingHeight, and pelib::crown::CrownScalingILP.
virtual std::string pelib::crown::CrownScaling::getShortDescription | ( | ) | const [pure virtual] |
Reimplemented from pelib::crown::CrownScheduler.
Implemented in pelib::crown::CrownScalingHeight, and pelib::crown::CrownScalingILP.
virtual Algebra pelib::crown::CrownScaling::scale | ( | const Algebra & | , |
std::map< const string, double > & | stats | ||
) | const [pure virtual] |
Implemented in pelib::crown::CrownScalingHeight, and pelib::crown::CrownScalingILP.
Schedule CrownScaling::schedule | ( | const Taskgraph & | tg, |
const Platform & | pt, | ||
std::map< const string, double > & | statistics | ||
) | const [virtual] |
Implements pelib::crown::CrownScheduler.
Definition at line 83 of file CrownScaling.cpp.
Schedule CrownScaling::schedule | ( | const Taskgraph & | tg, |
const Platform & | pt, | ||
const Algebra & | param, | ||
std::map< const string, double > & | statistics | ||
) | const [virtual] |
Implements pelib::crown::CrownScheduler.
Definition at line 89 of file CrownScaling.cpp.
Algebra CrownScaling::solve | ( | const Algebra & | tg, |
const Algebra & | pt, | ||
const pelib::Algebra & | param, | ||
std::map< const std::basic_string< char >, double > & | statistics | ||
) | const [virtual] |
Implements pelib::crown::CrownScheduler.
Definition at line 109 of file CrownScaling.cpp.
const CrownAllocation* pelib::crown::CrownScaling::alloc [protected] |
Definition at line 53 of file CrownScaling.hpp.
const CrownMapping* pelib::crown::CrownScaling::mapping [protected] |
Definition at line 54 of file CrownScaling.hpp.