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."],[[["\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\u003eThis class is currently planned to be moved to the core CP solver library upon maturity.\u003c/p\u003e\n"],["\u003cp\u003eThe builder provides methods for debugging, instantiation, decision making, and retrieving decision statistics.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eIntVarFilteredDecisionBuilder\u003c/code\u003e relies on an underlying heuristic for decision generation and tracks decision and rejection counts.\u003c/p\u003e\n"]]],["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"],null,[]]