Skip to content

Commit c756d82

Browse files
committed
Organize files of bipartite features
1 parent 3720d1e commit c756d82

File tree

6 files changed

+19
-16
lines changed

6 files changed

+19
-16
lines changed

lib/main/graph/BUILD

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,6 @@ cc_binary(
99
deps = DEPS,
1010
)
1111

12-
cc_binary(
13-
name = "bipartite-check",
14-
srcs = ["main-bipartite-check.cpp"],
15-
copts = COPTS,
16-
deps = DEPS,
17-
)
18-
19-
cc_binary(
20-
name = "bipartite-maximum-matching",
21-
srcs = ["main-bipartite-maximum-matching.cpp"],
22-
copts = COPTS,
23-
deps = DEPS,
24-
)
25-
2612
cc_binary(
2713
name = "bridges",
2814
srcs = ["main-bridges.cpp"],

lib/main/graph/bipartite/BUILD

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
load("@rules_cc//cc:defs.bzl", "cc_binary")
2+
load("//:variables.bzl", "COPTS")
3+
load("//main:variables.bzl", "DEPS")
4+
5+
cc_binary(
6+
name = "bipartite-check",
7+
srcs = ["main-bipartite-check.cpp"],
8+
copts = COPTS,
9+
deps = DEPS,
10+
)
11+
12+
cc_binary(
13+
name = "bipartite-maximum-matching",
14+
srcs = ["main-bipartite-maximum-matching.cpp"],
15+
copts = COPTS,
16+
deps = DEPS,
17+
)

lib/main/graph/main-bipartite-check.cpp renamed to lib/main/graph/bipartite/main-bipartite-check.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <iostream>
22
#include "template/template-main.hpp"
3-
#include "cpalgo/graph/bipartite-check.hpp"
3+
#include "cpalgo/graph/bipartite/bipartite_check.hpp"
44

55
using namespace std;
66

lib/main/graph/main-bipartite-maximum-matching.cpp renamed to lib/main/graph/bipartite/main-bipartite-maximum-matching.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <iostream>
22
#include "template/template-main.hpp"
3-
#include "cpalgo/graph/bipartite-maximum-matching.hpp"
3+
#include "cpalgo/graph/bipartite/bipartite_maximum_matching.hpp"
44

55
using namespace std;
66

0 commit comments

Comments
 (0)