C++ Reference: class SimpleDynamicPartition
Note: This documentation is automatically generated.
A subset of the API of DynamicPartition without backtrack support. The
Refine() here is about twice as fast, but we have limited query support until
a batch ComputeElementsByPart() is called.
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."],[[["`SimpleDynamicPartition` is a subset of the `DynamicPartition` class in OR-Tools, designed for faster refinement without backtracking support."],["`Refine` method is approximately twice as fast as in `DynamicPartition`, but query support is limited until `ComputeElementsByPart` is called."],["It provides methods like `NumElements`, `NumParts`, `PartOf`, and `SizeOfPart` to manage and query the elements and partitions."],["This class is particularly useful when backtracking is not necessary and faster refinement is desired."]]],[]]