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

ColSwMove Class Reference

#include <latinsquare.h>

Inheritance diagram for ColSwMove:

Move List of all members.

Public Member Functions

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

Public Attributes

int line
int variable1
int variable2

Detailed Description

Move : swap of 2 values in a line


Member Function Documentation

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

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

Reimplemented from Move.

void ColSwMove::copymove Move move  )  [virtual]
 

copy of move move1 into this

Reimplemented from Move.

int ColSwMove::eqmove Move move  )  [virtual]
 

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

Reimplemented from Move.


Member Data Documentation

int ColSwMove::line
 

modified line

int ColSwMove::variable1
 

1st swapped variable

int ColSwMove::variable2
 

2d swapped variable


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