pal::Problem class

Representation of a labeling problem.

Constructors, destructors, conversion operators

Problem(const Problem& other) deleted
Problem cannot be copied.

Public functions

void addCandidatePosition(LabelPosition* position)
Adds a candidate label position to the problem.
void chain_search()
Test with very-large scale neighborhood.
void init_sol_empty()
Basic initial solution : every feature to -1.
auto operator=(const Problem& other) -> Problem& deleted
Problem cannot be copied.
void popmusic()
popmusic framework
auto popmusic_chain(SubPart* part) -> double
POPMUSIC, chain.
auto popmusic_tabu_chain(SubPart* part) -> double
POPMUSIC, Tabu search with chain'.

Function documentation

void pal::Problem::addCandidatePosition(LabelPosition* position)

Adds a candidate label position to the problem.

Parameters
position label candidate position. Ownership is transferred to Problem.