#include <color.h>
Inheritance diagram for ImpasseColor:
Public Member Functions | |
ImpasseColor (int nvar, int nconst , int nbcolor, int degree) | |
int | config_evaluation (Configuration *configuration) |
void | fullincr_update_conflicts (FullincrCSPConfiguration *configuration, Move *move) |
void | move_execution (Configuration *configuration, Move *move) |
void | random_configuration (Configuration *configuration) |
void | compute_var_conflict (Configuration *configuration) |
void | init_domains (int nbvar, int s) |
void | init_tabdomains (int s) |
void | best_config_analysis () |
void | best_config_write () |
Public Attributes | |
int | sumdegree |
|
analysis of the best configuration Reimplemented from ColorCSProblem. |
|
writing the best solution Reimplemented from ColorCSProblem. |
|
compute the variables in conflict : rebuilding the vector of conflict variables of the configuration Reimplemented from ColorCSProblem. |
|
nombre de contraintes de difference violées - on met en place les compteurs de conflits par variable Reimplemented from ColorCSProblem. |
|
mise à jour des conflits dans l'implantation avec incrémentalité complète Reimplemented from ColorCSProblem. |
|
standard domain initialization : a unique domain number 0 for all variables Reimplemented from ColorCSProblem. |
|
standard unique domain : integers from 0 to s-1 Reimplemented from CSProblem. |
|
move execution (modification of the current configuration) Reimplemented from CSProblem. |
|
random assignment of the variables of a configuration Reimplemented from ColorCSProblem. |
|
indicates the criterion to be minimized : 0 number of variables that cannot be assigned, 1 sum of degrees of variables that cannot be assigned |