C++ Reference: class IntVarFilteredHeuristic

Note: This documentation is automatically generated.

Generic filter-based heuristic applied to IntVars.
Method
BuildSolution

Return type: Assignment* const

Builds a solution. Returns the resulting assignment if a solution was found, and nullptr otherwise.

DebugString

Return type: virtual std::string

IntVarFilteredHeuristic

Arguments: Solver* solver, const std::vector<IntVar*>& vars, const std::vector<IntVar*>& secondary_vars, LocalSearchFilterManager* filter_manager

~IntVarFilteredHeuristic

Return type: virtual

number_of_decisions

Return type: int64_t

Returns statistics on search, number of decisions sent to filters, number of decisions rejected by filters.

number_of_rejects

Return type: int64_t