Skip to content

Commit

Permalink
[CP-SAT] more work on no_overlap_2d; revisit all includes
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron committed Dec 4, 2024
1 parent ea680ce commit d8c3e49
Show file tree
Hide file tree
Showing 177 changed files with 964 additions and 573 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public AutomatonConstraint(CpModelProto.Builder builder) {
/**
* Adds a transitions to the automaton.
*
* @param tail the tail of the transition
* @param head the head of the transition
* @param label the label of the transition
* @return this constraint
Expand Down
2 changes: 1 addition & 1 deletion ortools/sat/2d_orthogonal_packing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "absl/types/span.h"
#include "ortools/base/logging.h"
#include "ortools/sat/2d_packing_brute_force.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"
#include "ortools/sat/util.h"
#include "ortools/util/bitset.h"

Expand Down
4 changes: 2 additions & 2 deletions ortools/sat/2d_orthogonal_packing.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#ifndef OR_TOOLS_SAT_2D_ORTHOGONAL_PACKING_H_
#define OR_TOOLS_SAT_2D_ORTHOGONAL_PACKING_H_

#include <algorithm>
#include <cstdint>
#include <limits>
#include <utility>
Expand All @@ -23,8 +22,9 @@
#include "absl/log/check.h"
#include "absl/random/bit_gen_ref.h"
#include "absl/types/span.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"
#include "ortools/sat/synchronization.h"
#include "ortools/util/bitset.h"

namespace operations_research {
namespace sat {
Expand Down
2 changes: 1 addition & 1 deletion ortools/sat/2d_orthogonal_packing_testing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "absl/random/distributions.h"
#include "absl/types/span.h"
#include "ortools/sat/diffn_util.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"

namespace operations_research {
namespace sat {
Expand Down
2 changes: 1 addition & 1 deletion ortools/sat/2d_orthogonal_packing_testing.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "absl/random/bit_gen_ref.h"
#include "absl/types/span.h"
#include "ortools/sat/diffn_util.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"

namespace operations_research {
namespace sat {
Expand Down
2 changes: 1 addition & 1 deletion ortools/sat/2d_packing_brute_force.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "absl/types/span.h"
#include "ortools/base/logging.h"
#include "ortools/sat/diffn_util.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"
#include "ortools/util/bitset.h"

namespace operations_research {
Expand Down
2 changes: 1 addition & 1 deletion ortools/sat/2d_packing_brute_force.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "absl/types/span.h"
#include "ortools/sat/diffn_util.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"

namespace operations_research {
namespace sat {
Expand Down
2 changes: 1 addition & 1 deletion ortools/sat/2d_packing_brute_force_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "ortools/sat/cp_model.h"
#include "ortools/sat/cp_model_solver.h"
#include "ortools/sat/diffn_util.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"

namespace operations_research {
namespace sat {
Expand Down
2 changes: 1 addition & 1 deletion ortools/sat/2d_rectangle_presolve.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "ortools/graph/max_flow.h"
#include "ortools/graph/strongly_connected_components.h"
#include "ortools/sat/diffn_util.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"

namespace operations_research {
namespace sat {
Expand Down
2 changes: 1 addition & 1 deletion ortools/sat/2d_rectangle_presolve.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "absl/container/inlined_vector.h"
#include "absl/types/span.h"
#include "ortools/sat/diffn_util.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"

namespace operations_research {
namespace sat {
Expand Down
2 changes: 1 addition & 1 deletion ortools/sat/2d_rectangle_presolve_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "ortools/base/logging.h"
#include "ortools/sat/2d_orthogonal_packing_testing.h"
#include "ortools/sat/diffn_util.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"

namespace operations_research {
namespace sat {
Expand Down
1 change: 1 addition & 0 deletions ortools/sat/2d_try_edge_propagator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "ortools/base/stl_util.h"
#include "ortools/sat/diffn_util.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"
#include "ortools/sat/intervals.h"
#include "ortools/sat/model.h"
#include "ortools/sat/synchronization.h"
Expand Down
1 change: 1 addition & 0 deletions ortools/sat/2d_try_edge_propagator.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include "ortools/sat/diffn_util.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"
#include "ortools/sat/intervals.h"
#include "ortools/sat/model.h"
#include "ortools/sat/synchronization.h"
Expand Down
2 changes: 1 addition & 1 deletion ortools/sat/2d_try_edge_propagator_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "ortools/base/gmock.h"
#include "ortools/sat/2d_orthogonal_packing_testing.h"
#include "ortools/sat/diffn_util.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"
#include "ortools/sat/intervals.h"
#include "ortools/sat/model.h"

Expand Down
Loading

0 comments on commit d8c3e49

Please sign in to comment.