QGIS API Documentation  2.15.0-Master (02a0ebe)
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

typedef struct _nokContext NokContext
typedef struct _Triple Triple

Function Documentation

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.

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.

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

Definition at line 122 of file problem.cpp.

bool chainCallback ( LabelPosition lp,
void *  context 
)

Definition at line 1127 of file problem.cpp.

bool checkCallback ( LabelPosition lp,
void *  ctx 
)

Definition at line 2067 of file problem.cpp.

bool decreaseCost ( void *  tl,
void *  tr 
)

Definition at line 717 of file problem.cpp.

void delete_chain ( Chain chain)
inline

Definition at line 48 of file problem.cpp.

bool falpCallback1 ( LabelPosition lp,
void *  ctx 
)

Definition at line 261 of file problem.cpp.

bool falpCallback2 ( LabelPosition lp,
void *  ctx 
)

Definition at line 223 of file problem.cpp.

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

Definition at line 237 of file problem.cpp.

bool nokCallback ( LabelPosition lp,
void *  context 
)

Definition at line 2124 of file problem.cpp.

bool subPartCallback ( LabelPosition lp,
void *  ctx 
)

Definition at line 553 of file problem.cpp.

bool updateCandidatesCost ( LabelPosition lp,
void *  context 
)

Definition at line 772 of file problem.cpp.