#include <LayoutOptimization.h>
Public Member Functions | |
LayoutOptProblem (Graph *graph, int subGraph, bool startFromScratch) | |
virtual GAOptimizer::IGenotype * | createRandomSolution (int i) |
virtual double | evaluteSolution (GAOptimizer::IGenotype *solution) |
int | getWidth () |
int | getHeight () |
EdgeVec & | getEdges () |
Friends | |
class | LayoutSolution |
class | LayoutOptimizer |
Definition at line 40 of file LayoutOptimization.h.
LayoutOptProblem::LayoutOptProblem | ( | Graph * | graph, | |
int | subGraph, | |||
bool | startFromScratch | |||
) |
Definition at line 95 of file LayoutOptimization.cpp.
IGenotype * LayoutOptProblem::createRandomSolution | ( | int | i | ) | [virtual] |
Implements GAOptimizer::IProblem.
Definition at line 139 of file LayoutOptimization.cpp.
double LayoutOptProblem::evaluteSolution | ( | GAOptimizer::IGenotype * | solution | ) | [virtual] |
Implements GAOptimizer::IProblem.
Definition at line 147 of file LayoutOptimization.cpp.
EdgeVec& LayoutOptProblem::getEdges | ( | ) | [inline] |
Definition at line 55 of file LayoutOptimization.h.
int LayoutOptProblem::getHeight | ( | ) | [inline] |
Definition at line 53 of file LayoutOptimization.h.
int LayoutOptProblem::getWidth | ( | ) | [inline] |
Definition at line 51 of file LayoutOptimization.h.
friend class LayoutOptimizer [friend] |
Definition at line 66 of file LayoutOptimization.h.
friend class LayoutSolution [friend] |
Definition at line 65 of file LayoutOptimization.h.