[[["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\u003eThe \u003ccode\u003eTypeRegulationsChecker\u003c/code\u003e class is used within the Google OR-Tools constraint solver, specifically for routing functionalities.\u003c/p\u003e\n"],["\u003cp\u003eIt primarily offers two key methods: \u003ccode\u003eCheckVehicle\u003c/code\u003e for validating vehicle compliance and a constructor \u003ccode\u003eTypeRegulationsChecker\u003c/code\u003e for initializing the checker with a routing model.\u003c/p\u003e\n"],["\u003cp\u003eA destructor \u003ccode\u003e~TypeRegulationsChecker\u003c/code\u003e is also provided for proper object cleanup.\u003c/p\u003e\n"]]],["The `TypeRegulationsChecker` class in C++ provides functionality for checking vehicle regulations. It includes a constructor `TypeRegulationsChecker` that takes a `RoutingModel` as an argument, and a virtual destructor `~TypeRegulationsChecker`. The class also offers a `CheckVehicle` method. This method receives an integer representing a vehicle and a lambda function (`next_accessor`) to determine the next element. The method then returns a boolean value indicating the result of the vehicle check.\n"],null,["# TypeRegulationsChecker\n\nC++ Reference: class TypeRegulationsChecker\n===========================================\n\n\nNote: This documentation is automatically generated.\n\n| Method ||\n|---------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|\n| [`CheckVehicle`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing.h#L2395) | Return type: `bool ` Arguments: `int vehicle, const std::function\u003cint64_t(int64_t)\u003e& next_accessor` \u003cbr /\u003e |\n| [`TypeRegulationsChecker`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing.h#L2392) | Return type: `explicit ` Arguments: `const RoutingModel& model` \u003cbr /\u003e |\n| [`~TypeRegulationsChecker`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing.h#L2393) | Return type: `virtual ` \u003cbr /\u003e |"]]