forked from google/or-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
137 lines (126 loc) · 3.21 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
package(default_visibility = ["//visibility:public"])
cc_library(
name = "hungarian",
srcs = ["hungarian.cc"],
hdrs = ["hungarian.h"],
deps = [
"//ortools/base",
"//ortools/base:hash",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/strings:str_format",
],
)
cc_test(
name = "hungarian_test",
size = "medium",
srcs = ["hungarian_test.cc"],
copts = ["-Iexternal/gtest/include"],
deps = [
":hungarian",
"//ortools/base",
"//ortools/base:map_util",
"//ortools/base:random",
"@com_google_absl//absl/strings",
"@gtest//:main",
],
)
cc_library(
name = "knapsack_solver_base_lib",
hdrs = ["knapsack_solver.h"],
deps = [
":knapsack_solver_for_interface_lib",
"//ortools/base",
"//ortools/util:time_limit",
],
)
cc_library(
name = "knapsack_solver_lib",
hdrs = ["knapsack_solver.h"],
deps = [
":knapsack_solver_for_interface_lib",
"//ortools/base",
"//ortools/linear_solver",
"//ortools/util:time_limit",
],
)
cc_library(
name = "knapsack_solver_for_interface_lib",
srcs = ["knapsack_solver.cc"],
hdrs = ["knapsack_solver.h"],
deps = [
"//ortools/base",
"//ortools/base:stl_util",
"//ortools/linear_solver",
"//ortools/util:bitset",
"//ortools/util:time_limit",
],
)
cc_library(
name = "knapsack_solver_for_cuts",
srcs = ["knapsack_solver_for_cuts.cc"],
hdrs = ["knapsack_solver_for_cuts.h"],
visibility = ["//visibility:public"],
deps = [
"//ortools/base",
"//ortools/base:int_type",
"//ortools/base:ptr_util",
"//ortools/base:strong_vector",
"//ortools/util:time_limit",
],
)
cc_library(
name = "dense_doubly_linked_list",
hdrs = ["dense_doubly_linked_list.h"],
deps = [
"//ortools/base",
],
)
cc_library(
name = "dynamic_partition",
srcs = ["dynamic_partition.cc"],
hdrs = ["dynamic_partition.h"],
deps = [
"//ortools/base",
"//ortools/base:murmur",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format",
],
)
cc_library(
name = "sparse_permutation",
srcs = ["sparse_permutation.cc"],
hdrs = ["sparse_permutation.h"],
deps = [
"//ortools/base",
"@com_google_absl//absl/strings",
],
)
cc_library(
name = "dynamic_permutation",
srcs = ["dynamic_permutation.cc"],
hdrs = ["dynamic_permutation.h"],
deps = [
":sparse_permutation",
"//ortools/base",
"@com_google_absl//absl/strings",
],
)
cc_library(
name = "find_graph_symmetries",
srcs = ["find_graph_symmetries.cc"],
hdrs = ["find_graph_symmetries.h"],
deps = [
":dense_doubly_linked_list",
":dynamic_partition",
":dynamic_permutation",
":sparse_permutation",
"//ortools/base",
"//ortools/graph",
"//ortools/graph:iterators",
"//ortools/graph:util",
"//ortools/util:stats",
"//ortools/util:time_limit",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
],
)