C++ Reference: class IntVarLocalSearchFilter

Note: This documentation is automatically generated.

Method
AddVars

Return type: void

Arguments: const std::vector<IntVar*>& vars

Add variables to "track" to the filter.

FindIndex

Return type: bool

Arguments: IntVar* const var, int64_t* index

IntVarLocalSearchFilter

Return type: explicit

Arguments: const std::vector<IntVar*>& vars

~IntVarLocalSearchFilter

IsVarSynced

Return type: bool

Arguments: int index

Size

Return type: int

Synchronize

Return type: void

Arguments: const Assignment* assignment, const Assignment* delta

This method should not be overridden. Override OnSynchronize() instead which is called before exiting this method.

Value

Return type: int64_t

Arguments: int index

Var

Return type: IntVar*

Arguments: int index