[[["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."],[[["\u003cp\u003e\u003ccode\u003eCallMethod2\u003c/code\u003e is a class within the OR-Tools constraint solver that facilitates calling a method on an object with two parameters.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods for construction, destruction, debugging, and execution within the solver environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRun\u003c/code\u003e method executes the specified method with the provided parameters on the target object during the solver's operation.\u003c/p\u003e\n"]]],["The `CallMethod2` class in C++ provides methods for managing and executing a specific method call. Key actions include: `CallMethod2`, which constructs an instance to call a method pointer with two parameters (`P`, `Q`), and `~CallMethod2`, the destructor. `Run` executes the stored method on a given solver instance, and `DebugString` returns a string representation for debugging purposes. The constructor takes a class instance, method pointer, name, and the parameters.\n"],null,["# CallMethod2\n\nC++ Reference: class CallMethod2\n================================\n\n\nNote: This documentation is automatically generated.\n\n| Method ||\n|--------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|\n| [`CallMethod2`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/constraint_solveri.h#L569) | \u003cbr /\u003e Arguments: `T* const ct, void (T::*method)(P, Q), const std::string& name, P param1, Q param2` \u003cbr /\u003e |\n| [`~CallMethod2`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/constraint_solveri.h#L577) | \u003cbr /\u003e |\n| [`DebugString`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/constraint_solveri.h#L583) | Return type: `std::string ` \u003cbr /\u003e |\n| [`Run`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/constraint_solveri.h#L579) | Return type: `void ` Arguments: `Solver* const s` \u003cbr /\u003e |"]]