C++ Reference: util
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 `util` namespace in C++ provides a collection of utility classes for optimization and SAT (satisfiability) problems."],["These classes offer functionalities such as knapsack solving, moving averages, subset sum calculations, model randomization, time limiting, and percentile computation."],["Each class within the `util` namespace is designed to address a specific aspect of optimization or SAT problem-solving."],["Developers can leverage these utilities to enhance the efficiency and effectiveness of their optimization algorithms."]]],["The provided C++ `util` reference documents seven classes. These classes provide functionalities for optimization and statistical analysis. Key actions include solving knapsack problems with `BasicKnapsackSolver`, calculating moving averages via `ExponentialMovingAverage`, computing averages incrementally with `IncrementalAverage`, and determining maximum subset sums using `MaxBoundedSubsetSum`. Other functionalities include randomly generating models (`ModelRandomGenerator`), managing shared time limits (`ModelSharedTimeLimit`), and calculating percentiles (`Percentile`).\n"]]