#include <latinsquare.h>
Inheritance diagram for Latinsquare:
Public Member Functions | |
Latinsquare (int size) | |
int | config_evaluation (Configuration *Configuration) |
void | fullincr_update_conflicts (FullincrCSPConfiguration *configuration, Move *move) |
void | init_domaines (int nbvar, int s) |
Configuration * | create_configuration () |
void | move_execution (Configuration *configuration, Move *move) |
int | move_evaluation (Configuration *configuration, Move *move) |
Move * | create_move () |
void | next_move (Configuration *configuration, Move *move, NeighborhoodSearch *nbhs) |
void | random_configuration (Configuration *configuration) |
void | compute_var_conflict (Configuration *configuration) |
void | adjust_parameters (Configuration *configuration, int &maxneighbors, int &minneighbors) |
Public Attributes | |
int | squaresize |
|
adjustment of the neighborhood parameters (when the size of the actual neighborhood is greater than maxneighbors) Reimplemented from CSProblem. |
|
compute the variables in conflict : rebuilding the vector of conflict variables of the configuration Reimplemented from CSProblem. |
|
evaluation of a configuration Reimplemented from OpProblem. |
|
create a configuration (the exact class depends on the problem and must defined in subclasses) Reimplemented from CSProblem. |
|
creation of 1 Move object (the class of the Move depends on the problem) : this method is implemented in subclasses Reimplemented from CSProblem. |
|
update of the conflict data structure (case FullincrCSPConfiguration) Reimplemented from OpProblem. |
|
evaluation of a configuration if the move is done Reimplemented from CSProblem. |
|
move execution (modification of the current configuration) Reimplemented from CSProblem. |
|
next move to be tested (implemented in subclasses) Reimplemented from CSProblem. |
|
random assignment of the variables of a configuration Reimplemented from CSProblem. |