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

#include <incop.h>

Inheritance diagram for Move:
Inheritance graph
[legend]

Public Member Functions

virtual int eqmove (Move *move1)
 
virtual void copymove (Move *move)
 
virtual Movecomputetabumove (Configuration *config)
 

Detailed Description

root class Move

Member Function Documentation

◆ computetabumove()

virtual Move * Move::computetabumove ( Configuration config)
virtual

the move to be put in the tabu list (to be implemented in the subclasses)

Reimplemented in CSPMove.

Referenced by TabuSearch::executebeforemove().

◆ copymove()

void Move::copymove ( Move move)
virtual

copy of move move1 into this

Referenced by LSAlgorithm::configurationmove().

◆ eqmove()

int Move::eqmove ( Move move1)
virtual

the test of equality of a move (used for searching a move in the tabu list)