QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 ()
int getNumFeatures ()
int getFeatureCandidateCount (int i)
LabelPositiongetFeatureCandidate (int fi, int ci)
void reduce ()
void post_optimization ()
void popmusic ()
 popmusic framework
void chain_search ()
 Test with very-large scale neighborhood.
std::list< LabelPosition * > * getSolution (bool returnInactive)
PalStatgetStats ()
SubPartsubPart (int r, int featseed, int *isIn)
void initialization ()
double compute_feature_cost (SubPart *part, int feat_id, int label_id, int *nbOverlap)
 From SubPart.cpp.
double compute_subsolution_cost (SubPart *part, int *s, int *nbOverlap)
double popmusic_chain (SubPart *part)
 POPMUSIC, chain.
double popmusic_tabu (SubPart *part)
double popmusic_tabu_chain (SubPart *part)
 POPMUSIC, Tabu search with chain'.
void init_sol_empty ()
 Basic initial solution : every feature to -1.
void init_sol_falp ()

Static Public Member Functions

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

Friends

class Pal

Detailed Description

Represent a problem.

Constructor & Destructor Documentation

pal::Problem::Problem ( )
pal::Problem::~Problem ( )

Member Function Documentation

void pal::Problem::chain_search ( )

Test with very-large scale neighborhood.

bool pal::Problem::compareLabelArea ( pal::LabelPosition l1,
pal::LabelPosition l2 
)
static
double pal::Problem::compute_feature_cost ( SubPart part,
int  feat_id,
int  label_id,
int *  nbOverlap 
)

From SubPart.cpp.

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.

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

popmusic framework

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

POPMUSIC, chain.

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

POPMUSIC, Tabu search with chain'.

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

Friends And Related Function Documentation

friend class Pal
friend

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