Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class HeldWolfeCrowderEvaluator
Note: This documentation is automatically generated.
Method |
GetStep | Return type: double |
HeldWolfeCrowderEvaluator | Arguments: int number_of_nodes, const CostFunction& cost |
Next | Return type: bool |
OnNewWMax | Return type: void Arguments: CostType one_tree_cost |
OnOneTree | Return type: void Arguments: CostType one_tree_cost, double w,
const std::vector<int>& degrees |
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."],[],["The `HeldWolfeCrowderEvaluator` class in C++ provides methods for evaluating and managing a lower bound calculation. Key actions include: initializing the evaluator with a number of nodes and a cost function (`HeldWolfeCrowderEvaluator`), iterating through steps (`Next`), retrieving the current step value (`GetStep`), updating with a new maximum value (`OnNewWMax`), and updating when a new one-tree cost is calculated (`OnOneTree`) passing the cost, w, and degrees. Each method has specific return types and arguments.\n"],null,[]]