Skip to content

Commit 38b6fc3

Browse files
committed
bop: update include guards
1 parent 680a0cc commit 38b6fc3

File tree

11 files changed

+33
-33
lines changed

11 files changed

+33
-33
lines changed

ortools/bop/bop_base.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_BOP_BOP_BASE_H_
15-
#define OR_TOOLS_BOP_BOP_BASE_H_
14+
#ifndef ORTOOLS_BOP_BOP_BASE_H_
15+
#define ORTOOLS_BOP_BOP_BASE_H_
1616

1717
#include <cstdint>
1818
#include <limits>
@@ -288,4 +288,4 @@ struct LearnedInfo {
288288
};
289289
} // namespace bop
290290
} // namespace operations_research
291-
#endif // OR_TOOLS_BOP_BOP_BASE_H_
291+
#endif // ORTOOLS_BOP_BOP_BASE_H_

ortools/bop/bop_fs.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_BOP_BOP_FS_H_
15-
#define OR_TOOLS_BOP_BOP_FS_H_
14+
#ifndef ORTOOLS_BOP_BOP_FS_H_
15+
#define ORTOOLS_BOP_BOP_FS_H_
1616

1717
#include <cstdint>
1818
#include <memory>
@@ -147,4 +147,4 @@ class LinearRelaxation : public BopOptimizerBase {
147147

148148
} // namespace bop
149149
} // namespace operations_research
150-
#endif // OR_TOOLS_BOP_BOP_FS_H_
150+
#endif // ORTOOLS_BOP_BOP_FS_H_

ortools/bop/bop_lns.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_BOP_BOP_LNS_H_
15-
#define OR_TOOLS_BOP_BOP_LNS_H_
14+
#ifndef ORTOOLS_BOP_BOP_LNS_H_
15+
#define ORTOOLS_BOP_BOP_LNS_H_
1616

1717
#include <cstdint>
1818
#include <memory>
@@ -175,4 +175,4 @@ class RelationGraphBasedNeighborhood final : public NeighborhoodGenerator {
175175

176176
} // namespace bop
177177
} // namespace operations_research
178-
#endif // OR_TOOLS_BOP_BOP_LNS_H_
178+
#endif // ORTOOLS_BOP_BOP_LNS_H_

ortools/bop/bop_ls.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
// OneFlipConstraintRepairer, SatWrapper and LocalSearchAssignmentIterator.
2525
// They are implementation details and should not be used outside of bop_ls.
2626

27-
#ifndef OR_TOOLS_BOP_BOP_LS_H_
28-
#define OR_TOOLS_BOP_BOP_LS_H_
27+
#ifndef ORTOOLS_BOP_BOP_LS_H_
28+
#define ORTOOLS_BOP_BOP_LS_H_
2929

3030
#include <stddef.h>
3131

@@ -670,4 +670,4 @@ class LocalSearchAssignmentIterator {
670670

671671
} // namespace bop
672672
} // namespace operations_research
673-
#endif // OR_TOOLS_BOP_BOP_LS_H_
673+
#endif // ORTOOLS_BOP_BOP_LS_H_

ortools/bop/bop_portfolio.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_BOP_BOP_PORTFOLIO_H_
15-
#define OR_TOOLS_BOP_BOP_PORTFOLIO_H_
14+
#ifndef ORTOOLS_BOP_BOP_PORTFOLIO_H_
15+
#define ORTOOLS_BOP_BOP_PORTFOLIO_H_
1616

1717
#include <cstdint>
1818
#include <memory>
@@ -208,4 +208,4 @@ class OptimizerSelector {
208208

209209
} // namespace bop
210210
} // namespace operations_research
211-
#endif // OR_TOOLS_BOP_BOP_PORTFOLIO_H_
211+
#endif // ORTOOLS_BOP_BOP_PORTFOLIO_H_

ortools/bop/bop_solution.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_BOP_BOP_SOLUTION_H_
15-
#define OR_TOOLS_BOP_BOP_SOLUTION_H_
14+
#ifndef ORTOOLS_BOP_BOP_SOLUTION_H_
15+
#define ORTOOLS_BOP_BOP_SOLUTION_H_
1616

1717
#include <stddef.h>
1818

@@ -119,4 +119,4 @@ class BopSolution {
119119

120120
} // namespace bop
121121
} // namespace operations_research
122-
#endif // OR_TOOLS_BOP_BOP_SOLUTION_H_
122+
#endif // ORTOOLS_BOP_BOP_SOLUTION_H_

ortools/bop/bop_solver.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_BOP_BOP_SOLVER_H_
15-
#define OR_TOOLS_BOP_BOP_SOLVER_H_
14+
#ifndef ORTOOLS_BOP_BOP_SOLVER_H_
15+
#define ORTOOLS_BOP_BOP_SOLVER_H_
1616

1717
// Solver for Boolean Optimization Problems built on top of the SAT solver.
1818
// To optimize a problem the solver uses several optimization strategies like
@@ -90,4 +90,4 @@ class BopSolver {
9090
};
9191
} // namespace bop
9292
} // namespace operations_research
93-
#endif // OR_TOOLS_BOP_BOP_SOLVER_H_
93+
#endif // ORTOOLS_BOP_BOP_SOLVER_H_

ortools/bop/bop_types.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_BOP_BOP_TYPES_H_
15-
#define OR_TOOLS_BOP_BOP_TYPES_H_
14+
#ifndef ORTOOLS_BOP_BOP_TYPES_H_
15+
#define ORTOOLS_BOP_BOP_TYPES_H_
1616

1717
#include <cstdint>
1818
#include <ostream>
@@ -90,4 +90,4 @@ typedef util_intops::StrongVector<SparseIndex, BopConstraintTerm>
9090

9191
} // namespace bop
9292
} // namespace operations_research
93-
#endif // OR_TOOLS_BOP_BOP_TYPES_H_
93+
#endif // ORTOOLS_BOP_BOP_TYPES_H_

ortools/bop/bop_util.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
#ifndef OR_TOOLS_BOP_BOP_UTIL_H_
15-
#define OR_TOOLS_BOP_BOP_UTIL_H_
14+
#ifndef ORTOOLS_BOP_BOP_UTIL_H_
15+
#define ORTOOLS_BOP_BOP_UTIL_H_
1616

1717
#include <vector>
1818

@@ -86,4 +86,4 @@ class LubyAdaptiveParameterValue {
8686
};
8787
} // namespace bop
8888
} // namespace operations_research
89-
#endif // OR_TOOLS_BOP_BOP_UTIL_H_
89+
#endif // ORTOOLS_BOP_BOP_UTIL_H_

ortools/bop/complete_optimizer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
// complete SAT solver provided that we keep running it after it has found a
2525
// first solution. This is the default behavior of the kNotGuided policy.
2626

27-
#ifndef OR_TOOLS_BOP_COMPLETE_OPTIMIZER_H_
28-
#define OR_TOOLS_BOP_COMPLETE_OPTIMIZER_H_
27+
#ifndef ORTOOLS_BOP_COMPLETE_OPTIMIZER_H_
28+
#define ORTOOLS_BOP_COMPLETE_OPTIMIZER_H_
2929

3030
#include <cstdint>
3131
#include <deque>
@@ -80,4 +80,4 @@ class SatCoreBasedOptimizer : public BopOptimizerBase {
8080
} // namespace bop
8181
} // namespace operations_research
8282

83-
#endif // OR_TOOLS_BOP_COMPLETE_OPTIMIZER_H_
83+
#endif // ORTOOLS_BOP_COMPLETE_OPTIMIZER_H_

0 commit comments

Comments
 (0)