Main Page | Class Hierarchy | Class List | File List | Class Members

SwapMove Class Reference

#include <move.h>

Inheritance diagram for SwapMove:

Move CarseqMove ExchangeMove List of all members.

Public Member Functions

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

Public Attributes

int variable1
int variable2

Detailed Description

Exchange the values of two variables


Member Function Documentation

Move * SwapMove::computetabumove Configuration configuration  )  [virtual]
 

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

Reimplemented from Move.

Reimplemented in ExchangeMove.

void SwapMove::copymove Move move  )  [virtual]
 

copy of move move1 into this

Reimplemented from Move.

Reimplemented in ExchangeMove.

int SwapMove::eqmove Move move1  )  [virtual]
 

le test d'égalité de la liste taboue : ne pas faire un mouvement tabou

Reimplemented from Move.

Reimplemented in ExchangeMove.


The documentation for this class was generated from the following files:
Generated on Wed Sep 15 17:58:39 2004 for INCOP by doxygen 1.3.5