Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class TypeIncompatibilityChecker
Note: This documentation is automatically generated.
Checker for type incompatibilities.
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."],[[["\u003cp\u003eThe \u003ccode\u003eTypeIncompatibilityChecker\u003c/code\u003e class helps identify type incompatibilities within a routing model.\u003c/p\u003e\n"],["\u003cp\u003eIt is initialized with a \u003ccode\u003eRoutingModel\u003c/code\u003e and a boolean to specify whether to check for hard incompatibilities.\u003c/p\u003e\n"],["\u003cp\u003eA destructor, \u003ccode\u003e~TypeIncompatibilityChecker\u003c/code\u003e, is also defined for this class.\u003c/p\u003e\n"]]],["The `TypeIncompatibilityChecker` class in C++ is designed to identify type incompatibilities within a `RoutingModel`. It has a constructor, `TypeIncompatibilityChecker`, which takes a `RoutingModel` and a boolean `check_hard_incompatibilities` as arguments. It also has a destructor, `~TypeIncompatibilityChecker`, for cleanup. The class's purpose is to perform checks related to type inconsistencies within the provided routing model.\n"],null,["# TypeIncompatibilityChecker\n\nC++ Reference: class TypeIncompatibilityChecker\n===============================================\n\n\nNote: This documentation is automatically generated.\nChecker for type incompatibilities.\n\n| Method ||\n|-------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|\n| [`TypeIncompatibilityChecker`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing.h#L2452) | \u003cbr /\u003e Arguments: `const RoutingModel& model, bool check_hard_incompatibilities` \u003cbr /\u003e |\n| [`~TypeIncompatibilityChecker`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing.h#L2454) | \u003cbr /\u003e |"]]