Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set
// doxy/ or-tools/ examples/ cpp/

operations_research::Evaluator Class Reference

List of all members.

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.


Detailed Description

Definition at line 201 of file costas_array.cc.


Constructor & Destructor Documentation

operations_research::Evaluator::Evaluator ( const std::vector< IntVar * > &  vars  )  [inline, explicit]

Definition at line 203 of file costas_array.cc.


Member Function Documentation

int64 operations_research::Evaluator::VarEvaluator ( int64  index  )  [inline]

Prefer the value with the smallest domain.

Definition at line 206 of file costas_array.cc.

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.


The documentation for this class was generated from the following file: