Represent a problem.
More...
#include <problem.h>
|
| Problem () |
|
| ~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 () |
|
std::list< LabelPosition * > * | getSolution (bool returnInactive) |
|
PalStat * | getStats () |
|
void | init_sol_empty () |
| Basic initial solution : every feature to -1. More...
|
|
void | init_sol_falp () |
|
void | initialization () |
|
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) |
|
Represent a problem.
Definition at line 93 of file problem.h.
pal::Problem::Problem |
( |
| ) |
|
pal::Problem::~Problem |
( |
| ) |
|
void pal::Problem::addCandidatePosition |
( |
LabelPosition * |
position | ) |
|
|
inline |
Adds a candidate label position to the problem.
- Parameters
-
position | label candidate position. Ownership is transferred to Problem. |
- Note
- added in QGIS 2.12
Definition at line 109 of file problem.h.
void pal::Problem::chain_search |
( |
| ) |
|
Test with very-large scale neighborhood.
Definition at line 2456 of file problem.cpp.
double pal::Problem::compute_feature_cost |
( |
SubPart * |
part, |
|
|
int |
feat_id, |
|
|
int |
label_id, |
|
|
int * |
nbOverlap |
|
) |
| |
double pal::Problem::compute_subsolution_cost |
( |
SubPart * |
part, |
|
|
int * |
s, |
|
|
int * |
nbOverlap |
|
) |
| |
LabelPosition* pal::Problem::getFeatureCandidate |
( |
int |
fi, |
|
|
int |
ci |
|
) |
| |
|
inline |
int pal::Problem::getFeatureCandidateCount |
( |
int |
i | ) |
|
|
inline |
int pal::Problem::getNumFeatures |
( |
| ) |
|
|
inline |
std::list< LabelPosition * > * pal::Problem::getSolution |
( |
bool |
returnInactive | ) |
|
PalStat * pal::Problem::getStats |
( |
| ) |
|
void pal::Problem::init_sol_empty |
( |
| ) |
|
Basic initial solution : every feature to -1.
Definition at line 220 of file problem.cpp.
void pal::Problem::init_sol_falp |
( |
| ) |
|
void pal::Problem::initialization |
( |
| ) |
|
void pal::Problem::popmusic |
( |
| ) |
|
double pal::Problem::popmusic_chain |
( |
SubPart * |
part | ) |
|
double pal::Problem::popmusic_tabu |
( |
SubPart * |
part | ) |
|
double pal::Problem::popmusic_tabu_chain |
( |
SubPart * |
part | ) |
|
POPMUSIC, Tabu search with chain'.
Definition at line 2105 of file problem.cpp.
void pal::Problem::reduce |
( |
| ) |
|
SubPart * pal::Problem::subPart |
( |
int |
r, |
|
|
int |
featseed, |
|
|
int * |
isIn |
|
) |
| |
The documentation for this class was generated from the following files:
- /tmp/buildd/qgis-2.12.0+99unstable/src/core/pal/problem.h
- /tmp/buildd/qgis-2.12.0+99unstable/src/core/pal/problem.cpp