QGIS API Documentation  3.2.0-Bonn (bc43194)
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>
#include "qgslabelingengine.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, 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  ,
double *  candidateFactor,
int  minCandidateListSize,
double  growingFactor,
int  n 
)
inline

Definition at line 727 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 706 of file problem.cpp.

◆ borderSizeInc()

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

Definition at line 108 of file problem.cpp.

◆ chainCallback()

bool chainCallback ( LabelPosition lp,
void *  context 
)

Definition at line 1108 of file problem.cpp.

◆ checkCallback()

bool checkCallback ( LabelPosition lp,
void *  ctx 
)

Definition at line 2048 of file problem.cpp.

◆ decreaseCost()

bool decreaseCost ( void *  tl,
void *  tr 
)

Definition at line 701 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 247 of file problem.cpp.

◆ falpCallback2()

bool falpCallback2 ( LabelPosition lp,
void *  ctx 
)

Definition at line 209 of file problem.cpp.

◆ ignoreLabel()

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

Definition at line 223 of file problem.cpp.

◆ nokCallback()

bool nokCallback ( LabelPosition lp,
void *  context 
)

Definition at line 2105 of file problem.cpp.

◆ subPartCallback()

bool subPartCallback ( LabelPosition lp,
void *  ctx 
)

Definition at line 537 of file problem.cpp.

◆ updateCandidatesCost()

bool updateCandidatesCost ( LabelPosition lp,
void *  context 
)

Definition at line 753 of file problem.cpp.