Definition at line 4860 of file constraint_solver.h.
|
| | ImprovementSearchLimit (Solver *solver, IntVar *objective_var, bool maximize, double objective_scaling_factor, double objective_offset, double improvement_rate_coefficient, int improvement_rate_solutions_distance) |
| | ImprovementSearchLimit (Solver *solver, std::vector< IntVar * > objective_vars, std::vector< bool > maximize, std::vector< double > objective_scaling_factors, std::vector< double > objective_offsets, double improvement_rate_coefficient, int improvement_rate_solutions_distance) |
| | ~ImprovementSearchLimit () override |
| void | Copy (const SearchLimit *limit) override |
| SearchLimit * | MakeClone () const override |
| | Allocates a clone of the limit.
|
| bool | CheckWithOffset (absl::Duration offset) override |
| bool | AtSolution () override |
| void | Init () override |
| | This method is called when the search limit is initialized.
|
| void | Install () override |
| | SearchLimit (Solver *const s) |
| | SearchLimit (const SearchLimit &)=delete |
| SearchLimit & | operator= (const SearchLimit &)=delete |
| | ~SearchLimit () override |
| bool | crossed () const |
| | Returns true if the limit has been crossed.
|
| bool | Check () |
| void | EnterSearch () override |
| | Internal methods.
|
| void | BeginNextDecision (DecisionBuilder *b) override |
| | Before calling DecisionBuilder::Next.
|
| void | PeriodicCheck () override |
| | Periodic call to check limits in long running methods.
|
| void | RefuteDecision (Decision *d) override |
| | Before refuting the decision.
|
| std::string | DebugString () const override |
| void | Install () override |
| | SearchMonitor (Solver *const s) |
| | SearchMonitor (const SearchMonitor &)=delete |
| SearchMonitor & | operator= (const SearchMonitor &)=delete |
| | ~SearchMonitor () override |
| virtual void | RestartSearch () |
| | Restart the search.
|
| virtual void | ExitSearch () |
| | End of the search.
|
| virtual void | EndNextDecision (DecisionBuilder *b, Decision *d) |
| | After calling DecisionBuilder::Next, along with the returned decision.
|
| virtual void | ApplyDecision (Decision *d) |
| | Before applying the decision.
|
| virtual void | AfterDecision (Decision *d, bool apply) |
| virtual void | BeginFail () |
| | Just when the failure occurs.
|
| virtual void | EndFail () |
| | After completing the backtrack.
|
| virtual void | BeginInitialPropagation () |
| | Before the initial propagation.
|
| virtual void | EndInitialPropagation () |
| | After the initial propagation.
|
| virtual bool | AcceptSolution () |
| virtual void | NoMoreSolutions () |
| | When the search tree is finished.
|
| virtual bool | AtLocalOptimum () |
| virtual bool | AcceptDelta (Assignment *delta, Assignment *deltadelta) |
| virtual void | AcceptNeighbor () |
| | After accepting a neighbor during local search.
|
| virtual void | AcceptUncheckedNeighbor () |
| | After accepting an unchecked neighbor during local search.
|
| virtual bool | IsUncheckedSolutionLimitReached () |
| virtual int | ProgressPercent () |
| virtual void | Accept (ModelVisitor *visitor) const |
| | Accepts the given model visitor.
|
| Solver * | solver () const |
| | BaseObject () |
| | BaseObject (const BaseObject &)=delete |
| BaseObject & | operator= (const BaseObject &)=delete |
| virtual | ~BaseObject ()=default |