Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
2d_orthogonal_packing_testing.cc File Reference
#include "ortools/sat/2d_orthogonal_packing_testing.h"
#include <algorithm>
#include <utility>
#include <vector>
#include "absl/log/check.h"
#include "absl/random/bit_gen_ref.h"
#include "absl/random/distributions.h"
#include "absl/types/span.h"
#include "ortools/sat/diffn_util.h"
#include "ortools/sat/integer.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::sat
 

Functions

std::vector< Rectangle > operations_research::sat::GenerateNonConflictingRectangles (int num_rectangles, absl::BitGenRef random)
 
std::vector< RectangleInRangeoperations_research::sat::MakeItemsFromRectangles (absl::Span< const Rectangle > rectangles, double slack_factor, absl::BitGenRef random)
 
std::vector< ItemForPairwiseRestrictionoperations_research::sat::GenerateItemsRectanglesWithNoPairwiseConflict (const std::vector< Rectangle > &rectangles, double slack_factor, absl::BitGenRef random)
 
std::vector< ItemForPairwiseRestrictionoperations_research::sat::GenerateItemsRectanglesWithNoPairwisePropagation (int num_rectangles, double slack_factor, absl::BitGenRef random)