QGIS API Documentation
3.2.0-Bonn (bc43194)
|
Representation of a labeling problem. More...
#include <problem.h>
Public Member Functions | |
Problem () | |
Problem (const Problem &other)=delete | |
Problem cannot be copied. More... | |
~Problem () | |
void | addCandidatePosition (LabelPosition *position) |
Adds a candidate label position to the problem. More... | |
void | chain_search () |
Test with very-large scale neighborhood. More... | |
double | compute_feature_cost (SubPart *part, int feat_id, int label_id, int *nbOverlap) |
double | compute_subsolution_cost (SubPart *part, int *s, int *nbOverlap) |
LabelPosition * | getFeatureCandidate (int fi, int ci) |
int | getFeatureCandidateCount (int i) |
int | getNumFeatures () |
QList< LabelPosition * > | getSolution (bool returnInactive) |
PalStat * | getStats () |
void | init_sol_empty () |
Basic initial solution : every feature to -1. More... | |
void | init_sol_falp () |
void | initialization () |
Problem & | operator= (const Problem &other)=delete |
Problem cannot be copied. More... | |
void | popmusic () |
popmusic framework More... | |
double | popmusic_chain (SubPart *part) |
POPMUSIC, chain. More... | |
double | popmusic_tabu (SubPart *part) |
double | popmusic_tabu_chain (SubPart *part) |
POPMUSIC, Tabu search with chain'. More... | |
void | reduce () |
SubPart * | subPart (int r, int featseed, int *isIn) |
Static Public Member Functions | |
static bool | compareLabelArea (pal::LabelPosition *l1, pal::LabelPosition *l2) |
Friends | |
class | Pal |
Representation of a labeling problem.
Problem::Problem | ( | ) |
Definition at line 58 of file problem.cpp.
Problem::~Problem | ( | ) |
Definition at line 70 of file problem.cpp.
|
inline |
void Problem::chain_search | ( | ) |
Test with very-large scale neighborhood.
Definition at line 2127 of file problem.cpp.
|
static |
Definition at line 2226 of file problem.cpp.
double Problem::compute_feature_cost | ( | SubPart * | part, |
int | feat_id, | ||
int | label_id, | ||
int * | nbOverlap | ||
) |
Definition at line 636 of file problem.cpp.
double Problem::compute_subsolution_cost | ( | SubPart * | part, |
int * | s, | ||
int * | nbOverlap | ||
) |
Definition at line 673 of file problem.cpp.
|
inline |
|
inline |
QList< LabelPosition * > Problem::getSolution | ( | bool | returnInactive | ) |
Definition at line 2231 of file problem.cpp.
PalStat * Problem::getStats | ( | ) |
Definition at line 2264 of file problem.cpp.
void Problem::init_sol_empty | ( | ) |
Basic initial solution : every feature to -1.
Definition at line 179 of file problem.cpp.
void Problem::init_sol_falp | ( | ) |
Definition at line 266 of file problem.cpp.
void pal::Problem::initialization | ( | ) |
void Problem::popmusic | ( | ) |
popmusic framework
Definition at line 379 of file problem.cpp.
double Problem::popmusic_chain | ( | SubPart * | part | ) |
POPMUSIC, chain.
Definition at line 1722 of file problem.cpp.
double Problem::popmusic_tabu | ( | SubPart * | part | ) |
Definition at line 782 of file problem.cpp.
double Problem::popmusic_tabu_chain | ( | SubPart * | part | ) |
POPMUSIC, Tabu search with chain'.
Definition at line 1869 of file problem.cpp.
void Problem::reduce | ( | ) |
Definition at line 113 of file problem.cpp.
SubPart * Problem::subPart | ( | int | r, |
int | featseed, | ||
int * | isIn | ||
) |
Definition at line 555 of file problem.cpp.