[[["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\u003eCallMethod3\u003c/code\u003e is a class within the OR-Tools constraint solver that facilitates calling a three-parameter method on an object.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to execute the target method (\u003ccode\u003eRun\u003c/code\u003e), generate debug information (\u003ccode\u003eDebugString\u003c/code\u003e), and manage its lifecycle (\u003ccode\u003eCallMethod3\u003c/code\u003e, \u003ccode\u003e~CallMethod3\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eUsers specify the object, method, parameters, and a descriptive name during construction.\u003c/p\u003e\n"],["\u003cp\u003eThe class is primarily used for invoking methods on constraint objects within the solver framework.\u003c/p\u003e\n"]]],["The `CallMethod3` class in C++ allows invoking a method on an object. It takes a pointer to an object (`T* const ct`), a pointer to a method (`void (T::*method)(P, Q, R)`), a name (`const std::string& name`), and three parameters (`P param1, Q param2, R param3`). Key actions include running the specified method via the `Run` method, which requires a `Solver*` object. The class also provides a `DebugString` method to get a string representation and a destructor `~CallMethod3`.\n"],null,["# CallMethod3\n\nC++ Reference: class CallMethod3\n================================\n\n\nNote: This documentation is automatically generated.\n\n| Method ||\n|--------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|\n| [`CallMethod3`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/constraint_solveri.h#L609) | \u003cbr /\u003e Arguments: `T* const ct, void (T::*method)(P, Q, R), const std::string& name, P param1, Q param2, R param3` \u003cbr /\u003e |\n| [`~CallMethod3`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/constraint_solveri.h#L618) | \u003cbr /\u003e |\n| [`DebugString`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/constraint_solveri.h#L624) | Return type: `std::string ` \u003cbr /\u003e |\n| [`Run`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/constraint_solveri.h#L620) | Return type: `void ` Arguments: `Solver* const s` \u003cbr /\u003e |"]]