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."],[[["`IntVarFilteredDecisionBuilder` is a generic filter-based decision builder that utilizes an `IntVarFilteredHeuristic`."],["It's currently planned to be integrated into the core CP solver library upon reaching maturity."],["This class facilitates decision-making in constraint programming by employing filtering techniques through its heuristic."],["Statistics regarding the number of decisions and rejections made can be accessed using its methods."]]],["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"]]