Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <diffn_util.h>
Public Attributes | |
std::vector< Rectangle > | conflicts |
std::vector< Rectangle > | candidates |
Monte-Carlo inspired heuristic to find a rectangles with an energy conflict:
candidate_energy_usage_factor
;Definition at line 585 of file diffn_util.h.
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 593 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 588 of file diffn_util.h.