crown  1.0.0
src/annealing.cpp File Reference
#include <fstream>
#include <set>
#include <cstdlib>
#include <crown/allocation.h>
#include <crown/mapping.h>
#include <crown/scaling.h>
#include <crown/crown.h>
#include <pelib/AmplInput.hpp>
#include <pelib/AmplOutput.hpp>
#include <pelib/Vector.hpp>
#include <pelib/Matrix.hpp>
#include <pelib/Set.hpp>
#include <crown/CrownScheduler.hpp>
Include dependency graph for annealing.cpp:

Go to the source code of this file.

Namespaces

namespace  pelib
namespace  pelib::crown

Defines

#define debug(var)   cout << "[" << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << "] " << #var << " = \"" << var << "\"" << endl;
#define return_now_if_best(solution)

Functions

Algebra pelib::crown::neighbor_allocation (const Algebra &solution, float tasks, float cores)
Algebra pelib::crown::neighbor_allocation_full (const Algebra &solution, float distance)
Algebra pelib::crown::neighbor_allocation_tasks (const Algebra &solution, float distance)
Algebra pelib::crown::neighbor_allocation_cores (const Algebra &solution, float distance)
Algebra pelib::crown::neighbor_efficiency (const Algebra &solution, float distance)
float pelib::crown::quality_simple (const Algebra &schedule)
float pelib::crown::energy_static_dynamic_busy_idle_active (const Algebra &solution)
float pelib::crown::quality_generic (const Algebra &schedule)
float pelib::crown::quality_idle (const Algebra &schedule)
float pelib::crown::quality_off (const Algebra &schedule)
Algebra pelib::crown::annealing (const Algebra &initial, const Algebra &initial_best, float(*quality)(const Algebra &solution), Algebra(*neighbor)(const Algebra &solution, float distance), float temperature, float cooling, float final, int max_transform, int max_new_state, float distance)
float pelib::crown::annealing_complexity (float temperature, float cooling, float final, int max_transform, int max_new_state, float distance)

Define Documentation

#define debug (   var)    cout << "[" << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << "] " << #var << " = \"" << var << "\"" << endl;

Definition at line 46 of file annealing.cpp.

#define return_now_if_best (   solution)

Definition at line 527 of file annealing.cpp.