|
crown
1.0.0
|
#include <CrownCompositeAnnealing.hpp>
Public Member Functions | |
| CrownCompositeAnnealing (float init_temperature=default_init_temperature, float cooling_factor=default_cooling_factor, float final_temperature=default_final_temperature, float max_transformations=default_max_transformations, float max_new_states=default_max_new_states, float distance=default_distance, const CrownScheduler *coreScheduler=NULL, const CrownMapping *map=NULL, const CrownScaling *scale=NULL, bool showOutput=false, bool showError=false) | |
| CrownCompositeAnnealing (const Algebra ¶m, float init_temperature=default_init_temperature, float cooling_factor=default_cooling_factor, float final_temperature=default_final_temperature, float max_transformations=default_max_transformations, float max_new_states=default_max_new_states, float distance=default_distance, const CrownScheduler *coreScheduler=NULL, const CrownMapping *map=NULL, const CrownScaling *scale=NULL, bool showOutput=false, bool showError=false) | |
| CrownCompositeAnnealing (const Taskgraph &tg, const Platform &pt, const Algebra ¶m, float init_temperature=default_init_temperature, float cooling_factor=default_cooling_factor, float final_temperature=default_final_temperature, float max_transformations=default_max_transformations, float max_new_states=default_max_new_states, float distance=default_distance, const CrownScheduler *coreScheduler=NULL, const CrownMapping *map=NULL, const CrownScaling *scale=NULL, bool showOutput=false, bool showError=false) | |
| CrownCompositeAnnealing (const CrownCompositeAnnealing &) | |
| Schedule | schedule (const Taskgraph &tg, const Platform &pt, std::map< const string, double > &) const |
| 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 |
| virtual float | complexity (const Taskgraph &, const Platform &, const Algebra &) const |
| std::string | getShortDescription () const |
| virtual CrownCompositeAnnealing * | clone () const |
Static Public Member Functions | |
| static float | energy (const Algebra &rec) |
Static Public Attributes | |
| static const float | default_init_temperature = 8 |
| static const float | default_cooling_factor = 0.6 |
| static const float | default_final_temperature = 0.9 |
| static const float | default_max_transformations = 2 |
| static const float | default_max_new_states = 2 |
| static const float | default_distance = 0.5 |
Protected Member Functions | |
| Algebra | neighbor (const Algebra &solution, float tasks=1, float cores=1) const |
Protected Attributes | |
| float | init_temperature |
| float | cooling_factor |
| float | final_temperature |
| float | max_transformations |
| float | max_new_states |
| float | distance |
| const CrownMapping * | mapping |
| const CrownScaling * | scaling |
Definition at line 31 of file CrownCompositeAnnealing.hpp.
| CrownCompositeAnnealing::CrownCompositeAnnealing | ( | float | init_temperature = default_init_temperature, |
| float | cooling_factor = default_cooling_factor, |
||
| float | final_temperature = default_final_temperature, |
||
| float | max_transformations = default_max_transformations, |
||
| float | max_new_states = default_max_new_states, |
||
| float | distance = default_distance, |
||
| const CrownScheduler * | coreScheduler = NULL, |
||
| const CrownMapping * | map = NULL, |
||
| const CrownScaling * | scale = NULL, |
||
| bool | showOutput = false, |
||
| bool | showError = false |
||
| ) |
Definition at line 434 of file CrownCompositeAnnealing.cpp.
| CrownCompositeAnnealing::CrownCompositeAnnealing | ( | const Algebra & | param, |
| float | init_temperature = default_init_temperature, |
||
| float | cooling_factor = default_cooling_factor, |
||
| float | final_temperature = default_final_temperature, |
||
| float | max_transformations = default_max_transformations, |
||
| float | max_new_states = default_max_new_states, |
||
| float | distance = default_distance, |
||
| const CrownScheduler * | coreScheduler = NULL, |
||
| const CrownMapping * | map = NULL, |
||
| const CrownScaling * | scale = NULL, |
||
| bool | showOutput = false, |
||
| bool | showError = false |
||
| ) |
Definition at line 445 of file CrownCompositeAnnealing.cpp.
| CrownCompositeAnnealing::CrownCompositeAnnealing | ( | const Taskgraph & | tg, |
| const Platform & | pt, | ||
| const Algebra & | param, | ||
| float | init_temperature = default_init_temperature, |
||
| float | cooling_factor = default_cooling_factor, |
||
| float | final_temperature = default_final_temperature, |
||
| float | max_transformations = default_max_transformations, |
||
| float | max_new_states = default_max_new_states, |
||
| float | distance = default_distance, |
||
| const CrownScheduler * | coreScheduler = NULL, |
||
| const CrownMapping * | map = NULL, |
||
| const CrownScaling * | scale = NULL, |
||
| bool | showOutput = false, |
||
| bool | showError = false |
||
| ) |
Definition at line 456 of file CrownCompositeAnnealing.cpp.
Definition at line 467 of file CrownCompositeAnnealing.cpp.
| CrownCompositeAnnealing * CrownCompositeAnnealing::clone | ( | ) | const [virtual] |
Implements pelib::crown::CrownScheduler.
Definition at line 493 of file CrownCompositeAnnealing.cpp.
| float CrownCompositeAnnealing::complexity | ( | const Algebra & | problem | ) | const [virtual] |
Reimplemented from pelib::crown::CrownScheduler.
Definition at line 479 of file CrownCompositeAnnealing.cpp.
| float CrownCompositeAnnealing::complexity | ( | const Taskgraph & | , |
| const Platform & | , | ||
| const Algebra & | |||
| ) | const [virtual] |
Reimplemented from pelib::crown::CrownScheduler.
Definition at line 486 of file CrownCompositeAnnealing.cpp.
| float CrownCompositeAnnealing::energy | ( | const Algebra & | rec | ) | [static] |
Definition at line 185 of file CrownCompositeAnnealing.cpp.
| std::string CrownCompositeAnnealing::getShortDescription | ( | ) | const [virtual] |
Reimplemented from pelib::crown::CrownComposite.
Definition at line 555 of file CrownCompositeAnnealing.cpp.
| Algebra CrownCompositeAnnealing::neighbor | ( | const Algebra & | solution, |
| float | tasks = 1, |
||
| float | cores = 1 |
||
| ) | const [protected] |
Definition at line 55 of file CrownCompositeAnnealing.cpp.
| Schedule CrownCompositeAnnealing::schedule | ( | const Taskgraph & | tg, |
| const Platform & | pt, | ||
| std::map< const string, double > & | stats | ||
| ) | const [virtual] |
Implements pelib::crown::CrownScheduler.
Definition at line 500 of file CrownCompositeAnnealing.cpp.
| Schedule CrownCompositeAnnealing::schedule | ( | const Taskgraph & | tg, |
| const Platform & | pt, | ||
| const Algebra & | param, | ||
| std::map< const string, double > & | stats | ||
| ) | const [virtual] |
Implements pelib::crown::CrownScheduler.
Definition at line 549 of file CrownCompositeAnnealing.cpp.
| Algebra CrownCompositeAnnealing::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 281 of file CrownCompositeAnnealing.cpp.
float pelib::crown::CrownCompositeAnnealing::cooling_factor [protected] |
Definition at line 58 of file CrownCompositeAnnealing.hpp.
const float CrownCompositeAnnealing::default_cooling_factor = 0.6 [static] |
Definition at line 48 of file CrownCompositeAnnealing.hpp.
const float CrownCompositeAnnealing::default_distance = 0.5 [static] |
Definition at line 52 of file CrownCompositeAnnealing.hpp.
const float CrownCompositeAnnealing::default_final_temperature = 0.9 [static] |
Definition at line 49 of file CrownCompositeAnnealing.hpp.
const float CrownCompositeAnnealing::default_init_temperature = 8 [static] |
Definition at line 47 of file CrownCompositeAnnealing.hpp.
const float CrownCompositeAnnealing::default_max_new_states = 2 [static] |
Definition at line 51 of file CrownCompositeAnnealing.hpp.
const float CrownCompositeAnnealing::default_max_transformations = 2 [static] |
Definition at line 50 of file CrownCompositeAnnealing.hpp.
float pelib::crown::CrownCompositeAnnealing::distance [protected] |
Definition at line 58 of file CrownCompositeAnnealing.hpp.
float pelib::crown::CrownCompositeAnnealing::final_temperature [protected] |
Definition at line 58 of file CrownCompositeAnnealing.hpp.
float pelib::crown::CrownCompositeAnnealing::init_temperature [protected] |
Definition at line 58 of file CrownCompositeAnnealing.hpp.
const CrownMapping* pelib::crown::CrownCompositeAnnealing::mapping [protected] |
Definition at line 59 of file CrownCompositeAnnealing.hpp.
float pelib::crown::CrownCompositeAnnealing::max_new_states [protected] |
Definition at line 58 of file CrownCompositeAnnealing.hpp.
float pelib::crown::CrownCompositeAnnealing::max_transformations [protected] |
Definition at line 58 of file CrownCompositeAnnealing.hpp.
const CrownScaling* pelib::crown::CrownCompositeAnnealing::scaling [protected] |
Definition at line 60 of file CrownCompositeAnnealing.hpp.