![]() |
OR-Tools
8.2
|
Definition at line 374 of file cp_model_lns.h.
Public Member Functions | |
VariableGraphNeighborhoodGenerator (NeighborhoodGeneratorHelper const *helper, const std::string &name) | |
Neighborhood | Generate (const CpSolverResponse &initial_solution, double difficulty, absl::BitGenRef random) final |
virtual bool | ReadyToGenerate () const |
virtual bool | IsRelaxationGenerator () const |
double | GetUCBScore (int64 total_num_calls) const |
void | AddSolveData (SolveData data) |
void | Synchronize () |
std::string | name () const |
int64 | num_calls () const |
int64 | num_fully_solved_calls () const |
double | difficulty () const |
double | deterministic_limit () const |
double | deterministic_time () const |
Protected Member Functions | |
virtual void | AdditionalProcessingOnSynchronize (const SolveData &solve_data) |
Protected Attributes | |
const std::string | name_ |
const NeighborhoodGeneratorHelper & | helper_ |
absl::Mutex | mutex_ |
|
inlineexplicit |
Definition at line 376 of file cp_model_lns.h.
|
inlineprotectedvirtualinherited |
Definition at line 325 of file cp_model_lns.h.
|
inlineinherited |
Definition at line 279 of file cp_model_lns.h.
|
inlineinherited |
Definition at line 310 of file cp_model_lns.h.
|
inlineinherited |
Definition at line 316 of file cp_model_lns.h.
|
inlineinherited |
Definition at line 304 of file cp_model_lns.h.
|
finalvirtual |
Implements NeighborhoodGenerator.
Definition at line 454 of file cp_model_lns.cc.
|
inherited |
Definition at line 305 of file cp_model_lns.cc.
|
inlinevirtualinherited |
Reimplemented in ConsecutiveConstraintsRelaxationNeighborhoodGenerator, and WeightedRandomRelaxationNeighborhoodGenerator.
Definition at line 218 of file cp_model_lns.h.
|
inlineinherited |
Definition at line 289 of file cp_model_lns.h.
|
inlineinherited |
Definition at line 292 of file cp_model_lns.h.
|
inlineinherited |
Definition at line 298 of file cp_model_lns.h.
|
virtualinherited |
Reimplemented in RelaxationInducedNeighborhoodGenerator, ConsecutiveConstraintsRelaxationNeighborhoodGenerator, and WeightedRandomRelaxationNeighborhoodGenerator.
Definition at line 301 of file cp_model_lns.cc.
|
inherited |
Definition at line 312 of file cp_model_lns.cc.
|
protectedinherited |
Definition at line 328 of file cp_model_lns.h.
|
mutableprotectedinherited |
Definition at line 329 of file cp_model_lns.h.
|
protectedinherited |
Definition at line 327 of file cp_model_lns.h.