Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class IntVarFilteredDecisionBuilder
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`."],["This class is currently planned to be moved to the core CP solver library upon maturity."],["The builder provides methods for debugging, instantiation, decision making, and retrieving decision statistics."],["`IntVarFilteredDecisionBuilder` relies on an underlying heuristic for decision generation and tracks decision and rejection counts."]]],["The `IntVarFilteredDecisionBuilder` class utilizes an `IntVarFilteredHeuristic` for decision-making. Key methods include `Next`, which returns a `Decision*` given a `Solver*`. The class also supports debugging via `DebugString`. The constructor, `IntVarFilteredDecisionBuilder`, takes a unique pointer to an `IntVarFilteredHeuristic`. Statistics are tracked through `number_of_decisions` and `number_of_rejects`. A destructor, `~IntVarFilteredDecisionBuilder`, is also defined. This class is intended for the core CP solver library when mature.\n"]]