Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set | ||
|
||
Public Member Functions | |
Evaluator (const std::vector< IntVar * > &vars) | |
int64 | VarEvaluator (int64 index) |
Prefer the value with the smallest domain. | |
int64 | ValueEvaluator (int64 id, int64 value) |
Penalize for each time the value appears in a different domain, as values have to be unique. |
Definition at line 201 of file costas_array.cc.
operations_research::Evaluator::Evaluator | ( | const std::vector< IntVar * > & | vars | ) | [inline, explicit] |
Definition at line 203 of file costas_array.cc.
int64 operations_research::Evaluator::VarEvaluator | ( | int64 | index | ) | [inline] |
int64 operations_research::Evaluator::ValueEvaluator | ( | int64 | id, | |
int64 | value | |||
) | [inline] |
Penalize for each time the value appears in a different domain, as values have to be unique.
Definition at line 212 of file costas_array.cc.