Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["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\u003e\u003ccode\u003eRevIntRepository\u003c/code\u003e is a singleton class providing access to basic reversible integer types within the OR-Tools Sat solver.\u003c/p\u003e\n"],["\u003cp\u003eIt allows these types to be retrieved or created using the \u003ccode\u003emodel->GetOrCreate<>()\u003c/code\u003e method and ensures proper registration within the model.\u003c/p\u003e\n"],["\u003cp\u003eThis class is essential for managing and accessing reversible integer variables in the optimization model.\u003c/p\u003e\n"]]],["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"],null,[]]