Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class IntVarFilteredDecisionBuilder
Note: This documentation is automatically generated.
Generic filter-based decision builder using an IntVarFilteredHeuristic.
TODO(user): Eventually move this to the core CP solver library
when the code is mature enough.
[[["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\u003eIntVarFilteredDecisionBuilder\u003c/code\u003e is a generic filter-based decision builder that utilizes an \u003ccode\u003eIntVarFilteredHeuristic\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt's currently planned to be integrated into the core CP solver library upon reaching maturity.\u003c/p\u003e\n"],["\u003cp\u003eThis class facilitates decision-making in constraint programming by employing filtering techniques through its heuristic.\u003c/p\u003e\n"],["\u003cp\u003eStatistics regarding the number of decisions and rejections made can be accessed using its methods.\u003c/p\u003e\n"]]],["The `IntVarFilteredDecisionBuilder` class uses an `IntVarFilteredHeuristic` for decision-making. It has a constructor that takes a `IntVarFilteredHeuristic` pointer. Key methods include `Next`, which returns a `Decision*` for a given `Solver*`, and `DebugString`, which returns a string. Additionally, `number_of_decisions` and `number_of_rejects` provide statistics from the heuristic. This class is part of a filter-based approach to decision-building. There is also a destructor: `~IntVarFilteredDecisionBuilder`\n"],null,["# IntVarFilteredDecisionBuilder\n\nC++ Reference: class IntVarFilteredDecisionBuilder\n==================================================\n\n\nNote: This documentation is automatically generated.\nGeneric filter-based decision builder using an IntVarFilteredHeuristic. TODO(user): Eventually move this to the core CP solver library when the code is mature enough.\n\n| Method ||\n|----------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|\n| [`DebugString`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_search.h#L157) | Return type: `std::string ` \u003cbr /\u003e |\n| [`IntVarFilteredDecisionBuilder`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_search.h#L150) | Return type: `explicit ` Arguments: ` std::unique_ptr\u003cIntVarFilteredHeuristic\u003e heuristic` \u003cbr /\u003e |\n| [`~IntVarFilteredDecisionBuilder`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_search.h#L153) | \u003cbr /\u003e |\n| [`Next`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_search.h#L155) | Return type: `Decision* ` Arguments: `Solver* solver` \u003cbr /\u003e |\n| [`number_of_decisions`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_search.h#L160) | Return type: `int64_t ` Returns statistics from its underlying heuristic. |\n| [`number_of_rejects`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_search.h#L161) | Return type: `int64_t ` \u003cbr /\u003e |"]]