[[["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\u003eThe \u003ccode\u003eCostValueCycleHandler\u003c/code\u003e class in C++ is used within the context of linear assignment problems, particularly for managing cost values associated with cycles in a graph.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to set and manipulate cost values, using indices and temporary storage for efficient handling of cycles during the assignment process.\u003c/p\u003e\n"],["\u003cp\u003eCore functionalities include \u003ccode\u003eSetIndexFromIndex\u003c/code\u003e, \u003ccode\u003eSetIndexFromTemp\u003c/code\u003e, and \u003ccode\u003eSetTempFromIndex\u003c/code\u003e to handle cost value updates based on different source and destination points in the graph.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the Google OR-Tools library, particularly under the \u003ccode\u003eortools/graph\u003c/code\u003e directory, used for optimization tasks like linear assignments.\u003c/p\u003e\n"]]],["The `CostValueCycleHandler` class in C++ manages cost values in a cycle. Key actions include initialization with a vector of `CostValue`, setting relationships between arc indices, and managing temporary index values. Specifically, `SetIndexFromIndex` establishes a link between a source and destination arc index. `SetIndexFromTemp` sets the destination arc index from a temporary value, and `SetTempFromIndex` sets a temporary value from a source arc index. The destructor, `~CostValueCycleHandler`, handles object cleanup.\n"],null,["# CostValueCycleHandler\n\nC++ Reference: class CostValueCycleHandler\n==========================================\n\n\nNote: This documentation is automatically generated.\n\n| Method ||\n|------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|\n| [`CostValueCycleHandler`](https://github.com/google/or-tools/blob/v9.4/ortools/graph/linear_assignment.h#L1027) | Return type: `explicit ` Arguments: `std::vector\u003cCostValue\u003e* cost` \u003cbr /\u003e |\n| [`~CostValueCycleHandler`](https://github.com/google/or-tools/blob/v9.4/ortools/graph/linear_assignment.h#L1043) | \u003cbr /\u003e |\n| [`SetIndexFromIndex`](https://github.com/google/or-tools/blob/v9.4/ortools/graph/linear_assignment.h#L1034) | Return type: `void ` Arguments: `ArcIndexType source, ArcIndexType destination` \u003cbr /\u003e |\n| [`SetIndexFromTemp`](https://github.com/google/or-tools/blob/v9.4/ortools/graph/linear_assignment.h#L1039) | Return type: `void ` Arguments: `ArcIndexType destination` \u003cbr /\u003e |\n| [`SetTempFromIndex`](https://github.com/google/or-tools/blob/v9.4/ortools/graph/linear_assignment.h#L1030) | Return type: `void ` Arguments: `ArcIndexType source` \u003cbr /\u003e |"]]