Called by Start() after synchronizing the operator with the current
assignment. Should be overridden instead of Start() to avoid calling
VarLocalSearchOperator::Start explicitly.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["`VarLocalSearchOperator` is a C++ class in Google's OR-Tools library used for implementing local search operators that work on a set of variables."],["It provides methods to access and modify the values of these variables during the search process, such as `Value`, `SetValue`, `OldValue`, and `Var`."],["The class includes functionalities for managing the activation state of the operator (`Activate`, `Deactivate`, `Activated`) and applying/reverting changes to the assignment (`ApplyChanges`, `RevertChanges`)."],["`OnStart` is a virtual method intended for user implementation to define the operator's behavior, while methods like `Start`, `IsIncremental`, `HoldsDelta`, and `SkipUnchanged` contribute to the operator's interaction within the local search framework."]]],["The `VarLocalSearchOperator` class in C++ provides methods for managing variables in local search algorithms. Key actions include: activating/deactivating variables (`Activate`, `Deactivate`), adding variables (`AddVars`), applying/reverting changes (`ApplyChanges`, `RevertChanges`), and setting/getting values (`SetValue`, `Value`, `OldValue`). It allows checking if changes are tracked (`HoldsDelta`) and if the operator is incremental (`IsIncremental`). Additional actions are implemented for getting the size of variables (`Size`) and skipping unchanged variables (`SkipUnchanged`). It has a `OnStart` method that gets called once the operator has been started.\n"]]