C++ Reference: class IntVarLocalSearchFilter

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* 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

Arguments: int index

Var

Return type: IntVar*

Arguments: int index