|
crown
1.0.0
|
#include <CrownMapping.hpp>
Public Member Functions | |
| CrownMapping (const CrownConfig *=NULL, const CrownAllocation *alloc=NULL, bool showOutput=false, bool showError=false) | |
| CrownMapping (const Algebra ¶m, const CrownConfig *=NULL, const CrownAllocation *alloc=NULL, bool showOutput=false, bool showError=false) | |
| CrownMapping (const Taskgraph &tg, const Platform &pt, const Algebra ¶m, const CrownConfig *=NULL, const CrownAllocation *alloc=NULL, bool showOutput=false, bool showError=false) | |
| CrownMapping (const CrownMapping &) | |
| virtual | ~CrownMapping () |
| virtual Algebra | map (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 CrownMapping * | clone () const =0 |
Protected Attributes | |
| const CrownAllocation * | alloc |
Definition at line 36 of file CrownMapping.hpp.
| CrownMapping::CrownMapping | ( | const CrownConfig * | config = NULL, |
| const CrownAllocation * | alloc = NULL, |
||
| bool | showOutput = false, |
||
| bool | showError = false |
||
| ) |
Definition at line 53 of file CrownMapping.cpp.
| CrownMapping::CrownMapping | ( | const Algebra & | param, |
| const CrownConfig * | config = NULL, |
||
| const CrownAllocation * | alloc = NULL, |
||
| bool | showOutput = false, |
||
| bool | showError = false |
||
| ) |
Definition at line 58 of file CrownMapping.cpp.
| CrownMapping::CrownMapping | ( | const Taskgraph & | tg, |
| const Platform & | pt, | ||
| const Algebra & | param, | ||
| const CrownConfig * | config = NULL, |
||
| const CrownAllocation * | alloc = NULL, |
||
| bool | showOutput = false, |
||
| bool | showError = false |
||
| ) |
Definition at line 63 of file CrownMapping.cpp.
| CrownMapping::CrownMapping | ( | const CrownMapping & | src | ) |
Definition at line 68 of file CrownMapping.cpp.
| CrownMapping::~CrownMapping | ( | ) | [virtual] |
Definition at line 73 of file CrownMapping.cpp.
| virtual CrownMapping* pelib::crown::CrownMapping::clone | ( | ) | const [pure virtual] |
Implements pelib::crown::CrownScheduler.
Implemented in pelib::crown::CrownMappingLTLG, pelib::crown::CrownMappingILP, and pelib::crown::CrownMappingILPBalanced.
| virtual float pelib::crown::CrownMapping::complexity | ( | const Algebra & | problem | ) | const [pure virtual] |
Reimplemented from pelib::crown::CrownScheduler.
Implemented in pelib::crown::CrownMappingLTLG, pelib::crown::CrownMappingILP, and pelib::crown::CrownMappingILPBalanced.
| virtual float pelib::crown::CrownMapping::complexity | ( | const Taskgraph & | , |
| const Platform & | , | ||
| const Algebra & | , | ||
| const CrownConfig * | = NULL |
||
| ) | const [pure virtual] |
Implemented in pelib::crown::CrownMappingLTLG, pelib::crown::CrownMappingILP, and pelib::crown::CrownMappingILPBalanced.
| virtual std::string pelib::crown::CrownMapping::getShortDescription | ( | ) | const [pure virtual] |
Reimplemented from pelib::crown::CrownScheduler.
Implemented in pelib::crown::CrownMappingLTLG, pelib::crown::CrownMappingILP, and pelib::crown::CrownMappingILPBalanced.
| virtual Algebra pelib::crown::CrownMapping::map | ( | const Algebra & | , |
| std::map< const string, double > & | stats | ||
| ) | const [pure virtual] |
Implemented in pelib::crown::CrownMappingLTLG, pelib::crown::CrownMappingILP, and pelib::crown::CrownMappingILPBalanced.
| Schedule CrownMapping::schedule | ( | const Taskgraph & | tg, |
| const Platform & | pt, | ||
| std::map< const string, double > & | statistics | ||
| ) | const [virtual] |
Implements pelib::crown::CrownScheduler.
Definition at line 79 of file CrownMapping.cpp.
| Schedule CrownMapping::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 85 of file CrownMapping.cpp.
| Algebra CrownMapping::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 105 of file CrownMapping.cpp.
const CrownAllocation* pelib::crown::CrownMapping::alloc [protected] |
Definition at line 53 of file CrownMapping.hpp.