C++ Reference: class RevIntRepository
Note: This documentation is automatically generated.
Singleton for basic reversible types. We need the wrapper so that they can be
accessed with model->GetOrCreate<>() and properly registered at creation.
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."],[[["`RevIntRepository` is a singleton class providing access to basic reversible integer types within the OR-Tools Sat solver."],["It allows these types to be retrieved or created using the `model-\u003eGetOrCreate\u003c\u003e()` method and ensures proper registration within the model."],["This class is essential for managing and accessing reversible integer variables in the optimization model."]]],["The `RevIntRepository` class in C++ is a singleton designed for reversible integer types. It's a wrapper that enables access via `model-\u003eGetOrCreate\u003c\u003e()` and ensures proper registration during object creation. The core functionality is managed through its constructor, `RevIntRepository`, which takes a `Model*` as an explicit argument. This allows for the management of integer objects within a specific model context.\n"]]