![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Monte-Carlo inspired heuristic to find a rectangles with an energy conflict:
Definition at line 666 of file diffn_util.h.
#include <diffn_util.h>
Public Attributes | |
std::vector< Rectangle > | conflicts |
std::vector< Rectangle > | candidates |
std::vector<Rectangle> operations_research::sat::FindRectanglesResult::candidates |
Rectangles without a conflict but having used_energy/available_energy > candidate_energy_usage_factor. Those are good candidates for finding conflicts using more sophisticated heuristics. Those rectangles are ordered so the n-th rectangle is always fully inside the n-1-th one.
Definition at line 674 of file diffn_util.h.
std::vector<Rectangle> operations_research::sat::FindRectanglesResult::conflicts |
Known conflicts: the minimal energy used inside the rectangle is larger than the area of the rectangle.
Definition at line 669 of file diffn_util.h.