Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set | ||
|
||
// doxy/ or-tools/ src/ constraint_solver/ |
#include <constraint_solveri.h>
Public Member Functions | |
IntVarLocalSearchFilter (const IntVar *const *vars, int size) | |
IntVarLocalSearchFilter. | |
~IntVarLocalSearchFilter () | |
virtual void | Synchronize (const Assignment *assignment) |
This method should not be overridden. | |
Protected Member Functions | |
void | AddVars (const IntVar *const *vars, int size) |
Add variables to "track" to the filter. | |
bool | FindIndex (const IntVar *const var, int64 *index) const |
int | Size () const |
IntVar * | Var (int index) const |
int64 | Value (int index) const |
Definition at line 1177 of file constraint_solveri.h.
operations_research::IntVarLocalSearchFilter::IntVarLocalSearchFilter | ( | const IntVar *const * | vars, | |
int | size | |||
) |
operations_research::IntVarLocalSearchFilter::~IntVarLocalSearchFilter | ( | ) |
Definition at line 2348 of file local_search.cc.
void operations_research::IntVarLocalSearchFilter::Synchronize | ( | const Assignment * | assignment | ) | [virtual] |
This method should not be overridden.
Override OnSynchronize() instead which is called before exiting this method.
Implements operations_research::LocalSearchFilter.
Definition at line 2350 of file local_search.cc.
void operations_research::IntVarLocalSearchFilter::AddVars | ( | const IntVar *const * | vars, | |
int | size | |||
) | [protected] |
bool operations_research::IntVarLocalSearchFilter::FindIndex | ( | const IntVar *const | var, | |
int64 * | index | |||
) | const [inline, protected] |
Definition at line 1188 of file constraint_solveri.h.
int operations_research::IntVarLocalSearchFilter::Size | ( | ) | const [inline, protected] |
Definition at line 1192 of file constraint_solveri.h.
IntVar* operations_research::IntVarLocalSearchFilter::Var | ( | int | index | ) | const [inline, protected] |
Definition at line 1193 of file constraint_solveri.h.
int64 operations_research::IntVarLocalSearchFilter::Value | ( | int | index | ) | const [inline, protected] |
Definition at line 1194 of file constraint_solveri.h.