C++ Reference: class IntVarFilteredDecisionBuilder

This documentation is automatically generated.

Generic filter-based decision builder applied to IntVars. TODO(user): Eventually move this to the core CP solver library when the code is mature enough.
Method
BuildSolution

Return type: virtual bool

Virtual method to redefine to build a solution.

IntVarFilteredDecisionBuilder

Arguments: Solver* solver, const std::vector<IntVar*>& vars, const std::vector<LocalSearchFilter*>& filters

~IntVarFilteredDecisionBuilder

Next

Return type: Decision*

Arguments: Solver* solver

number_of_decisions

Return type: int64

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

number_of_rejects

Return type: int64