Base class of all search limits.
More...
#include <constraint_solver.h>
| operations_research::SearchLimit::SearchLimit |
( |
Solver *const | s | ) |
|
|
inlineexplicit |
◆ SearchLimit() [2/2]
| operations_research::SearchLimit::SearchLimit |
( |
const SearchLimit & | | ) |
|
|
delete |
◆ ~SearchLimit()
| operations_research::SearchLimit::~SearchLimit |
( |
| ) |
|
|
override |
◆ BeginNextDecision()
| void operations_research::SearchLimit::BeginNextDecision |
( |
DecisionBuilder * | b | ) |
|
|
overridevirtual |
◆ Check()
| bool operations_research::SearchLimit::Check |
( |
| ) |
|
|
inline |
This method is called to check the status of the limit. A return value of true indicates that we have indeed crossed the limit. In that case, this method will not be called again and the remaining search will be discarded.
Definition at line 4753 of file constraint_solver.h.
◆ CheckWithOffset()
| virtual bool operations_research::SearchLimit::CheckWithOffset |
( |
absl::Duration | offset | ) |
|
|
pure virtual |
◆ Copy()
| virtual void operations_research::SearchLimit::Copy |
( |
const SearchLimit * | limit | ) |
|
|
pure virtual |
◆ crossed()
| bool operations_research::SearchLimit::crossed |
( |
| ) |
const |
|
inline |
◆ DebugString()
| std::string operations_research::SearchLimit::DebugString |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ EnterSearch()
| void operations_research::SearchLimit::EnterSearch |
( |
| ) |
|
|
overridevirtual |
◆ Init()
| virtual void operations_research::SearchLimit::Init |
( |
| ) |
|
|
pure virtual |
◆ Install()
| void operations_research::SearchLimit::Install |
( |
| ) |
|
|
overridevirtual |
Registers itself on the solver such that it gets notified of the search and propagation events. Override to incrementally install listeners for specific events.
Reimplemented from operations_research::SearchMonitor.
Definition at line 4547 of file search.cc.
◆ MakeClone()
| virtual SearchLimit * operations_research::SearchLimit::MakeClone |
( |
| ) |
const |
|
pure virtual |
◆ operator=()
◆ PeriodicCheck()
| void operations_research::SearchLimit::PeriodicCheck |
( |
| ) |
|
|
overridevirtual |
◆ RefuteDecision()
| void operations_research::SearchLimit::RefuteDecision |
( |
Decision * | d | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: