QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | Friends | List of all members
pal::Problem Class Reference

Represent a problem. More...

#include <problem.h>

Public Member Functions

 Problem ()
 
 ~Problem ()
 
void chain_search ()
 Test with very-large scale neighborhood. More...
 
double compute_feature_cost (SubPart *part, int feat_id, int label_id, int *nbOverlap)
 From SubPart.cpp. More...
 
double compute_subsolution_cost (SubPart *part, int *s, int *nbOverlap)
 
LabelPositiongetFeatureCandidate (int fi, int ci)
 
int getFeatureCandidateCount (int i)
 
int getNumFeatures ()
 
std::list< LabelPosition * > * getSolution (bool returnInactive)
 
PalStatgetStats ()
 
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 post_optimization ()
 
void reduce ()
 
SubPartsubPart (int r, int featseed, int *isIn)
 

Static Public Member Functions

static bool compareLabelArea (pal::LabelPosition *l1, pal::LabelPosition *l2)
 

Friends

class Pal
 

Detailed Description

Represent a problem.

Definition at line 96 of file problem.h.

Constructor & Destructor Documentation

pal::Problem::Problem ( )

Definition at line 76 of file problem.cpp.

pal::Problem::~Problem ( )

Definition at line 88 of file problem.cpp.

Member Function Documentation

void pal::Problem::chain_search ( )

Test with very-large scale neighborhood.

Definition at line 2638 of file problem.cpp.

bool pal::Problem::compareLabelArea ( pal::LabelPosition l1,
pal::LabelPosition l2 
)
static

Definition at line 2947 of file problem.cpp.

double pal::Problem::compute_feature_cost ( SubPart part,
int  feat_id,
int  label_id,
int *  nbOverlap 
)

From SubPart.cpp.

Definition at line 756 of file problem.cpp.

double pal::Problem::compute_subsolution_cost ( SubPart part,
int *  s,
int *  nbOverlap 
)

Definition at line 793 of file problem.cpp.

LabelPosition* pal::Problem::getFeatureCandidate ( int  fi,
int  ci 
)
inline

Definition at line 186 of file problem.h.

int pal::Problem::getFeatureCandidateCount ( int  i)
inline

Definition at line 184 of file problem.h.

int pal::Problem::getNumFeatures ( )
inline

Definition at line 182 of file problem.h.

std::list< LabelPosition * > * pal::Problem::getSolution ( bool  returnInactive)

Definition at line 2952 of file problem.cpp.

PalStat * pal::Problem::getStats ( )

Definition at line 2986 of file problem.cpp.

void pal::Problem::init_sol_empty ( )

Basic initial solution : every feature to -1.

Definition at line 233 of file problem.cpp.

void pal::Problem::init_sol_falp ( )

Definition at line 318 of file problem.cpp.

void pal::Problem::initialization ( )
void pal::Problem::popmusic ( )

popmusic framework

Definition at line 434 of file problem.cpp.

double pal::Problem::popmusic_chain ( SubPart part)

POPMUSIC, chain.

Definition at line 1972 of file problem.cpp.

double pal::Problem::popmusic_tabu ( SubPart part)

Definition at line 912 of file problem.cpp.

double pal::Problem::popmusic_tabu_chain ( SubPart part)

POPMUSIC, Tabu search with chain'.

Definition at line 2131 of file problem.cpp.

void pal::Problem::post_optimization ( )

Definition at line 3040 of file problem.cpp.

void pal::Problem::reduce ( )

Definition at line 160 of file problem.cpp.

SubPart * pal::Problem::subPart ( int  r,
int  featseed,
int *  isIn 
)

Definition at line 672 of file problem.cpp.

Friends And Related Function Documentation

friend class Pal
friend

Definition at line 99 of file problem.h.


The documentation for this class was generated from the following files: