Skip to content

Commit 382b12a

Browse files
authored
Remove unused DAG targets (#4993)
1 parent cf669fa commit 382b12a

27 files changed

+0
-5277
lines changed

ortools/graph/BUILD.bazel

Lines changed: 0 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -533,32 +533,6 @@ cc_test(
533533
],
534534
)
535535

536-
cc_library(
537-
name = "dag_connectivity",
538-
srcs = ["dag_connectivity.cc"],
539-
hdrs = ["dag_connectivity.h"],
540-
visibility = ["//visibility:public"],
541-
deps = [
542-
"//ortools/base",
543-
"//ortools/base:container_logging",
544-
"//ortools/graph:topologicalsorter",
545-
"//ortools/util:bitset",
546-
"@abseil-cpp//absl/types:span",
547-
],
548-
)
549-
550-
cc_test(
551-
name = "dag_connectivity_test",
552-
srcs = ["dag_connectivity_test.cc"],
553-
deps = [
554-
":dag_connectivity",
555-
"//ortools/base:gmock_main",
556-
"//ortools/util:bitset",
557-
"@abseil-cpp//absl/strings",
558-
"@abseil-cpp//absl/types:span",
559-
],
560-
)
561-
562536
cc_library(
563537
name = "perfect_matching",
564538
srcs = ["perfect_matching.cc"],
@@ -578,42 +552,6 @@ cc_library(
578552
],
579553
)
580554

581-
cc_library(
582-
name = "dag_shortest_path",
583-
srcs = ["dag_shortest_path.cc"],
584-
hdrs = ["dag_shortest_path.h"],
585-
visibility = ["//visibility:public"],
586-
deps = [
587-
"//ortools/graph",
588-
"//ortools/graph:topologicalsorter",
589-
"@abseil-cpp//absl/algorithm:container",
590-
"@abseil-cpp//absl/log",
591-
"@abseil-cpp//absl/log:check",
592-
"@abseil-cpp//absl/status",
593-
"@abseil-cpp//absl/strings:str_format",
594-
"@abseil-cpp//absl/types:span",
595-
],
596-
)
597-
598-
cc_library(
599-
name = "dag_constrained_shortest_path",
600-
srcs = ["dag_constrained_shortest_path.cc"],
601-
hdrs = ["dag_constrained_shortest_path.h"],
602-
visibility = ["//visibility:public"],
603-
deps = [
604-
":dag_shortest_path",
605-
"//ortools/base:threadpool",
606-
"//ortools/graph",
607-
"//ortools/graph:topologicalsorter",
608-
"@abseil-cpp//absl/algorithm:container",
609-
"@abseil-cpp//absl/base:log_severity",
610-
"@abseil-cpp//absl/log:check",
611-
"@abseil-cpp//absl/status:statusor",
612-
"@abseil-cpp//absl/strings:str_format",
613-
"@abseil-cpp//absl/types:span",
614-
],
615-
)
616-
617555
cc_library(
618556
name = "rooted_tree",
619557
hdrs = ["rooted_tree.h"],
@@ -659,48 +597,6 @@ cc_test(
659597
],
660598
)
661599

662-
cc_test(
663-
name = "dag_shortest_path_test",
664-
size = "small",
665-
srcs = ["dag_shortest_path_test.cc"],
666-
deps = [
667-
":dag_shortest_path",
668-
"//ortools/base:dump_vars",
669-
"//ortools/base:gmock_main",
670-
"//ortools/base:intops",
671-
"//ortools/base:strong_vector",
672-
"//ortools/graph",
673-
"//ortools/graph:io",
674-
"//ortools/util:flat_matrix",
675-
"@abseil-cpp//absl/algorithm:container",
676-
"@abseil-cpp//absl/log:check",
677-
"@abseil-cpp//absl/random",
678-
"@abseil-cpp//absl/status",
679-
"@abseil-cpp//absl/types:span",
680-
"@google_benchmark//:benchmark",
681-
],
682-
)
683-
684-
cc_test(
685-
name = "dag_constrained_shortest_path_test",
686-
srcs = ["dag_constrained_shortest_path_test.cc"],
687-
deps = [
688-
":dag_constrained_shortest_path",
689-
"//ortools/base:dump_vars",
690-
"//ortools/base:gmock_main",
691-
"//ortools/graph",
692-
"//ortools/graph:io",
693-
"//ortools/math_opt/cpp:math_opt",
694-
"//ortools/math_opt/solvers:cp_sat_solver",
695-
"@abseil-cpp//absl/algorithm:container",
696-
"@abseil-cpp//absl/log:check",
697-
"@abseil-cpp//absl/random",
698-
"@abseil-cpp//absl/strings",
699-
"@abseil-cpp//absl/types:span",
700-
"@google_benchmark//:benchmark",
701-
],
702-
)
703-
704600
# From util/graph
705601
cc_library(
706602
name = "connected_components",

ortools/graph/dag_connectivity.cc

Lines changed: 0 additions & 122 deletions
This file was deleted.

ortools/graph/dag_connectivity.h

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)