Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class RoutingModel
Note: This documentation is automatically generated.
Method |
CostClass | Return type: explicit Arguments: int evaluator_index |
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\u003eRoutingModel\u003c/code\u003e class in C++ provides methods for vehicle routing problem solving.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes functionalities like managing costs with the \u003ccode\u003eCostClass\u003c/code\u003e method, which uses an evaluator index as input.\u003c/p\u003e\n"]]],["The `RoutingModel` class in C++ features a method called `CostClass`. This method, accessible via `CostClass(int evaluator_index)`, returns a value of type `explicit`. Its purpose is related to cost evaluations within the routing model, utilizing an `evaluator_index` as input. The documentation states that this information was auto generated.\n"],null,["# RoutingModel\n\nC++ Reference: class RoutingModel\n=================================\n\n\nNote: This documentation is automatically generated.\n\n| Method ||\n|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------|\n| [`CostClass`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing.h#L310) | Return type: `explicit ` Arguments: `int evaluator_index` \u003cbr /\u003e |"]]