C++ Reference: class LocalSearchFilterManager

This documentation is automatically generated.

Filter manager: when a move is made, filters are executed to decide whether the solution is feasible and compute parts of the new cost. This class schedules filter execution and composes costs as a sum.
Method
Accept

Return type: bool

Arguments: const Assignment* delta, const Assignment* deltadelta, int64 objective_min, int64 objective_max

Returns true iff all filters return true, and the sum of their accepted objectives is between objective_min and objective_max.

DebugString

Return type: std::string

GetAcceptedObjectiveValue

Return type: int64

GetSynchronizedObjectiveValue

Return type: int64

IsIncremental

Return type: bool

LocalSearchFilterManager

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

Relax

Return type: void

Arguments: const Assignment* delta, const Assignment* deltadelta

Revert

Return type: void

Synchronize

Return type: void

Arguments: const Assignment* assignment, const Assignment* delta

Synchronizes all filters to assignment.