[[["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\u003eIntVarFilteredHeuristic\u003c/code\u003e is a generic filter-based heuristic applied to \u003ccode\u003eIntVars\u003c/code\u003e in constraint programming.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes a \u003ccode\u003eLocalSearchFilterManager\u003c/code\u003e to manage filters during the search process.\u003c/p\u003e\n"],["\u003cp\u003eThe heuristic builds solutions and provides statistics on search decisions and rejections.\u003c/p\u003e\n"],["\u003cp\u003eIt can be constructed with primary and secondary integer variables for more complex filtering strategies.\u003c/p\u003e\n"]]],["`IntVarFilteredHeuristic` is a class for applying filter-based heuristics to `IntVars`. Key actions include: `BuildSolution`, which attempts to find and return a solution (`Assignment`) or `nullptr` if not found. `number_of_decisions` and `number_of_rejects` provide search statistics. `IntVarFilteredHeuristic` is the constructor, accepting a solver, `IntVars`, secondary `IntVars`, and a `LocalSearchFilterManager`, and `~IntVarFilteredHeuristic` is the destructor. The class also includes a `DebugString` method.\n"],null,["# IntVarFilteredHeuristic\n\nC++ Reference: class IntVarFilteredHeuristic\n============================================\n\n\nNote: This documentation is automatically generated.\nGeneric filter-based heuristic applied to IntVars.\n\n| Method ||\n|----------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [`BuildSolution`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_search.h#L178) | Return type: `Assignment* const ` Builds a solution. Returns the resulting assignment if a solution was found, and nullptr otherwise. |\n| [`DebugString`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_search.h#L185) | Return type: `virtual std::string ` \u003cbr /\u003e |\n| [`IntVarFilteredHeuristic`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_search.h#L170) | \u003cbr /\u003e Arguments: `Solver* solver, const std::vector\u003cIntVar*\u003e& vars, const std::vector\u003cIntVar*\u003e& secondary_vars, LocalSearchFilterManager* filter_manager` \u003cbr /\u003e |\n| [`~IntVarFilteredHeuristic`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_search.h#L174) | Return type: `virtual ` \u003cbr /\u003e |\n| [`number_of_decisions`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_search.h#L182) | Return type: `int64_t ` Returns statistics on search, number of decisions sent to filters, number of decisions rejected by filters. |\n| [`number_of_rejects`](https://github.com/google/or-tools/blob/v9.4/ortools/constraint_solver/routing_search.h#L183) | Return type: `int64_t ` \u003cbr /\u003e |"]]