#include <queen.h>
Inheritance diagram for SwNqueen:
Public Member Functions | |
SwNqueen (int nvar) | |
int | config_evaluation (Configuration *Configuration) |
void | fullincr_update_conflicts (FullincrCSPConfiguration *configuration, Move *move) |
virtual void | update_conflicts1 (Configuration *configuration, Move *move) |
void | move_execution (Configuration *configuration, Move *move) |
Move * | create_move () |
void | next_move (Configuration *configuration, Move *move, NeighborhoodSearch *nbhs) |
void | random_configuration (Configuration *configuration) |
int | move_evaluation (Configuration *configuration, Move *move) |
void | adjust_parameters (Configuration *configuration, int &maxneighbors, int &minneighbors) |
int | random_conflict_variable (Configuration *configuration) |
void | compute_var_conflict (Configuration *configuration) |
int | compute_var_conflict_size (Configuration *configuration) |
Public Attributes | |
int | var_conflict_size |
|
adjustment of the neighborhood parameters (when the size of the actual neighborhood is greater than maxneighbors) Reimplemented from CSProblem. Reimplemented in SwNiNqueen. |
|
compute the variables in conflict : rebuilding the vector of conflict variables of the configuration Reimplemented from CSProblem. |
|
evaluation of a configuration Reimplemented from Nqueen. Reimplemented in SwNiNqueen. |
|
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 Nqueen. |
|
evaluation of a configuration if the move is done Reimplemented from CSProblem. Reimplemented in SwNiNqueen. |
|
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. |
|
a variable taking part to a conflict in the configuration Reimplemented from CSProblem. |