QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Classes | Typedefs | Functions
problem.cpp File Reference
#include "pal.h"
#include "palstat.h"
#include "layer.h"
#include "rtree.hpp"
#include "feature.h"
#include "geomfunction.h"
#include "labelposition.h"
#include "problem.h"
#include "util.h"
#include "priorityqueue.h"
#include "internalexception.h"
#include <cfloat>
#include <limits.h>
#include "qgslabelingenginev2.h"
Include dependency graph for problem.cpp:

Go to the source code of this file.

Classes

struct  _nokContext
 
struct  _Triple
 
struct  ChainContext
 
struct  FalpContext
 
struct  Ft
 
struct  SubPartContext
 
struct  UpdateContext
 

Typedefs

typedef struct _nokContext NokContext
 
typedef struct _Triple Triple
 

Functions

void actualizeCandidateList (int nbOverlap, int *candidateListSize, double candidateBaseFactor, double *candidateFactor, int minCandidateListSize, double growingFactor, int n)
 
void actualizeTabuCandidateList (int m, int iteration, int nbOverlap, int *candidateListSize, double candidateBaseFactor, double *candidateFactor, int minCandidateListSize, double reductionFactor, int minTabuTSize, double tabuFactor, int *tenure, int n)
 
bool borderSizeInc (void *l, void *r)
 
bool chainCallback (LabelPosition *lp, void *context)
 
bool checkCallback (LabelPosition *lp, void *ctx)
 
bool decreaseCost (void *tl, void *tr)
 
void delete_chain (Chain *chain)
 
bool falpCallback1 (LabelPosition *lp, void *ctx)
 
bool falpCallback2 (LabelPosition *lp, void *ctx)
 
void ignoreLabel (LabelPosition *lp, PriorityQueue *list, RTree< LabelPosition *, double, 2, double > *candidates)
 
bool nokCallback (LabelPosition *lp, void *context)
 
bool subPartCallback (LabelPosition *lp, void *ctx)
 
bool updateCandidatesCost (LabelPosition *lp, void *context)
 

Typedef Documentation

◆ NokContext

typedef struct _nokContext NokContext

◆ Triple

typedef struct _Triple Triple

Function Documentation

◆ actualizeCandidateList()

void actualizeCandidateList ( int  nbOverlap,
int *  candidateListSize,
double  candidateBaseFactor,
double *  candidateFactor,
int  minCandidateListSize,
double  growingFactor,
int  n 
)
inline

Definition at line 743 of file problem.cpp.

◆ actualizeTabuCandidateList()

void actualizeTabuCandidateList ( int  m,
int  iteration,
int  nbOverlap,
int *  candidateListSize,
double  candidateBaseFactor,
double *  candidateFactor,
int  minCandidateListSize,
double  reductionFactor,
int  minTabuTSize,
double  tabuFactor,
int *  tenure,
int  n 
)
inline

Definition at line 722 of file problem.cpp.

◆ borderSizeInc()

bool borderSizeInc ( void *  l,
void *  r 
)
inline

Definition at line 122 of file problem.cpp.

◆ chainCallback()

bool chainCallback ( LabelPosition lp,
void *  context 
)

Definition at line 1127 of file problem.cpp.

◆ checkCallback()

bool checkCallback ( LabelPosition lp,
void *  ctx 
)

Definition at line 2067 of file problem.cpp.

◆ decreaseCost()

bool decreaseCost ( void *  tl,
void *  tr 
)

Definition at line 717 of file problem.cpp.

◆ delete_chain()

void delete_chain ( Chain chain)
inline

Definition at line 48 of file problem.cpp.

◆ falpCallback1()

bool falpCallback1 ( LabelPosition lp,
void *  ctx 
)

Definition at line 261 of file problem.cpp.

◆ falpCallback2()

bool falpCallback2 ( LabelPosition lp,
void *  ctx 
)

Definition at line 223 of file problem.cpp.

◆ ignoreLabel()

void ignoreLabel ( LabelPosition lp,
PriorityQueue list,
RTree< LabelPosition *, double, 2, double > *  candidates 
)

Definition at line 237 of file problem.cpp.

◆ nokCallback()

bool nokCallback ( LabelPosition lp,
void *  context 
)

Definition at line 2124 of file problem.cpp.

◆ subPartCallback()

bool subPartCallback ( LabelPosition lp,
void *  ctx 
)

Definition at line 553 of file problem.cpp.

◆ updateCandidatesCost()

bool updateCandidatesCost ( LabelPosition lp,
void *  context 
)

Definition at line 772 of file problem.cpp.