#include <incop.h>
Inheritance diagram for FullincrCSPConfiguration:
Public Member Functions | |
FullincrCSPConfiguration (int nbvar, int domainsize) | |
void | copy_element (Configuration *config2) |
void | init_conflicts () |
void | incr_conflicts (int var, int val, int index, int incr) |
void | set_conflicts (int var, int val, int index, int nbconf) |
int | get_conflicts (int var, int val, int index) |
int | get_conflicts_problem (OpProblem *problem, int var, int val) |
void | update_conflicts (OpProblem *problem, Move *move) |
Public Attributes | |
int | tabconflictsize |
int ** | tabconflicts |
|
copy a configuration config2 into this Reimplemented from Configuration. Reimplemented in CliqueConfiguration. |
|
get the number of conflicts (var,val) stored in the conflict datastructure using the value index in the domain Reimplemented from Configuration. |
|
get the number of conflicts of (var,val), computed if not stored Reimplemented from Configuration. |
|
store the conflict of (var,val) incremented by incr Reimplemented from Configuration. |
|
initialization to 0 of the conflict datastructure Reimplemented from Configuration. |
|
store the number of conflicts nbconf of (var,val) in the conflict datastructure Reimplemented from Configuration. |
|
update the conflict datastructure after a move is done Reimplemented from Configuration. |