Skip to content

Commit

Permalink
[Graph] remove obsolete graph implementaiton
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron authored and Mizux committed Feb 25, 2025
1 parent 8d90fe1 commit a695779
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 352 deletions.
7 changes: 1 addition & 6 deletions ortools/graph/generic_max_flow_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ template <typename Graph>
class GenericMaxFlowTest : public ::testing::Test {};

typedef ::testing::Types<util::FlowGraph<>, util::ReverseArcListGraph<>,
util::ReverseArcStaticGraph<>,
util::ReverseArcMixedGraph<>>
util::ReverseArcStaticGraph<>>
GraphTypes;

TYPED_TEST_SUITE(GenericMaxFlowTest, GraphTypes);
Expand Down Expand Up @@ -684,22 +683,18 @@ static void BM_FullRandomFlow(benchmark::State& state) {
BENCHMARK_TEMPLATE(BM_FullRandomAssignment, util::FlowGraph<>);
BENCHMARK_TEMPLATE(BM_FullRandomAssignment, util::ReverseArcListGraph<>);
BENCHMARK_TEMPLATE(BM_FullRandomAssignment, util::ReverseArcStaticGraph<>);
BENCHMARK_TEMPLATE(BM_FullRandomAssignment, util::ReverseArcMixedGraph<>);

BENCHMARK_TEMPLATE(BM_PartialRandomFlow, util::FlowGraph<>);
BENCHMARK_TEMPLATE(BM_PartialRandomFlow, util::ReverseArcListGraph<>);
BENCHMARK_TEMPLATE(BM_PartialRandomFlow, util::ReverseArcStaticGraph<>);
BENCHMARK_TEMPLATE(BM_PartialRandomFlow, util::ReverseArcMixedGraph<>);

BENCHMARK_TEMPLATE(BM_FullRandomFlow, util::FlowGraph<>);
BENCHMARK_TEMPLATE(BM_FullRandomFlow, util::ReverseArcListGraph<>);
BENCHMARK_TEMPLATE(BM_FullRandomFlow, util::ReverseArcStaticGraph<>);
BENCHMARK_TEMPLATE(BM_FullRandomFlow, util::ReverseArcMixedGraph<>);

BENCHMARK_TEMPLATE(BM_PartialRandomAssignment, util::FlowGraph<>);
BENCHMARK_TEMPLATE(BM_PartialRandomAssignment, util::ReverseArcListGraph<>);
BENCHMARK_TEMPLATE(BM_PartialRandomAssignment, util::ReverseArcStaticGraph<>);
BENCHMARK_TEMPLATE(BM_PartialRandomAssignment, util::ReverseArcMixedGraph<>);

#undef LP_AND_FLOW_TEST

Expand Down
Loading

0 comments on commit a695779

Please sign in to comment.