toulbar2
Public Member Functions | List of all members
Metaheuristic Class Reference

#include <incop.h>

Inheritance diagram for Metaheuristic:
Inheritance graph
[legend]

Public Member Functions

virtual void executebeforemove (Move *move, Configuration *configuration, OpProblem *problem)
 
virtual void reinit (OpProblem *problem)
 
virtual int acceptance (Move *move, Configuration *config)
 

Detailed Description

Root class for Metaheuritics

Member Function Documentation

◆ acceptance()

int Metaheuristic::acceptance ( Move move,
Configuration config 
)
virtual

acceptance condition of a move : returns 1 if the move is accepted

Reimplemented in TabuSearch, Metropolis, ThresholdAccepting, SimulatedAnnealing, and TabuAcceptingrate.

Referenced by LSAlgorithm::configurationmove().

◆ executebeforemove()

void Metaheuristic::executebeforemove ( Move move,
Configuration configuration,
OpProblem problem 
)
virtual

update of the metaheuristic data just before a move is performed

Reimplemented in TabuSearch, ThresholdAccepting, and SimulatedAnnealing.

Referenced by LSAlgorithm::configurationmove().

◆ reinit()

void Metaheuristic::reinit ( OpProblem problem)
virtual

initialization of the meteheuristic data at the beginning of a local search

Reimplemented in TabuSearch, and ThresholdAccepting.