Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class SchedulingTimeWindowNeighborhoodGenerator
Note: This documentation is automatically generated.
Similar to SchedulingNeighborhoodGenerator except the set of intervals that
are relaxed are from a specific random time interval.
Method |
Generate | Return type: Neighborhood Arguments: const CpSolverResponse& initial_solution,
double difficulty, absl::BitGenRef random |
SchedulingTimeWindowNeighborhoodGenerator | Return type: explicit Arguments:
NeighborhoodGeneratorHelper const* helper, const std::string& name |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[[["\u003cp\u003eSchedulingTimeWindowNeighborhoodGenerator is similar to SchedulingNeighborhoodGenerator, but it focuses on relaxing intervals within a specific, randomly chosen time window.\u003c/p\u003e\n"],["\u003cp\u003eIt uses a \u003ccode\u003eNeighborhoodGeneratorHelper\u003c/code\u003e and a name for initialization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGenerate\u003c/code\u003e method produces a \u003ccode\u003eNeighborhood\u003c/code\u003e based on an initial solution, difficulty level, and a random number generator.\u003c/p\u003e\n"]]],["The `SchedulingTimeWindowNeighborhoodGenerator` class, similar to `SchedulingNeighborhoodGenerator`, relaxes a set of intervals. However, it focuses on intervals from a specific random time window. Key actions include generating a neighborhood using the `Generate` method, which takes an initial solution, difficulty level, and a random bit generator as input. The class itself is instantiated via the `SchedulingTimeWindowNeighborhoodGenerator` method, which takes a `NeighborhoodGeneratorHelper` and a name.\n"],null,["# SchedulingTimeWindowNeighborhoodGenerator\n\nC++ Reference: class SchedulingTimeWindowNeighborhoodGenerator\n==============================================================\n\n\nNote: This documentation is automatically generated.\nSimilar to SchedulingNeighborhoodGenerator except the set of intervals that are relaxed are from a specific random time interval.\n\n| Method ||\n|-----------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [`Generate`](https://github.com/google/or-tools/blob/v9.4/ortools/sat/cp_model_lns.h#L580) | Return type: `Neighborhood ` Arguments: `const CpSolverResponse& initial_solution, double difficulty, absl::BitGenRef random` \u003cbr /\u003e |\n| [`SchedulingTimeWindowNeighborhoodGenerator`](https://github.com/google/or-tools/blob/v9.4/ortools/sat/cp_model_lns.h#L576) | Return type: `explicit ` Arguments: ` NeighborhoodGeneratorHelper const* helper, const std::string& name` \u003cbr /\u003e |"]]