Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class CostValueCycleHandler
Note: This documentation is automatically generated.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[],["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,[]]