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.
Definition at line 3137 of file constraint_solveri.h.
#include <constraint_solveri.h>
◆ FilterEventType
| operations_research::LocalSearchFilterManager::LocalSearchFilterManager |
( |
std::vector< FilterEvent > | filter_events | ) |
|
|
explicit |
◆ LocalSearchFilterManager() [2/2]
| operations_research::LocalSearchFilterManager::LocalSearchFilterManager |
( |
std::vector< LocalSearchFilter * > | filters | ) |
|
|
explicit |
◆ Accept()
| bool operations_research::LocalSearchFilterManager::Accept |
( |
LocalSearchMonitor * | monitor, |
|
|
const Assignment * | delta, |
|
|
const Assignment * | deltadelta, |
|
|
int64_t | objective_min, |
|
|
int64_t | objective_max ) |
Returns true iff all filters return true, and the sum of their accepted objectives is between objective_min and objective_max. The monitor has its Begin/EndFiltering events triggered.
Definition at line 3827 of file local_search.cc.
◆ DebugString()
| std::string operations_research::LocalSearchFilterManager::DebugString |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetAcceptedObjectiveValue()
| int64_t operations_research::LocalSearchFilterManager::GetAcceptedObjectiveValue |
( |
| ) |
const |
|
inline |
◆ GetSynchronizedObjectiveValue()
| int64_t operations_research::LocalSearchFilterManager::GetSynchronizedObjectiveValue |
( |
| ) |
const |
|
inline |
◆ Revert()
| void operations_research::LocalSearchFilterManager::Revert |
( |
| ) |
|
◆ Synchronize()
| void operations_research::LocalSearchFilterManager::Synchronize |
( |
const Assignment * | assignment, |
|
|
const Assignment * | delta ) |
The documentation for this class was generated from the following files: