Skip to content

Commit d95bedc

Browse files
committed
renaming
1 parent 1b953c7 commit d95bedc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
//! u--, v--;
88
//! adj[u] += {v, i};
99
//! }
10-
//! vector<pii> path = euler_walk(adj, m, s);
10+
//! vector<pii> path = euler_path(adj, m, s);
1111
//! @endcode
1212
//! @time O(n + m)
1313
//! @space O(n + m)
14-
vector<pii> euler_walk(auto& adj, int m, int s) {
14+
vector<pii> euler_path(auto& adj, int m, int s) {
1515
vi vis(m);
1616
vector<pii> path;
1717
auto dfs = [&](auto&& self, int u, int eu) -> void {

tests/library_checker_aizu_tests/graphs/euler_walk_directed.test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#define PROBLEM \
22
"https://judge.yosupo.jp/problem/eulerian_trail_directed"
33
#include "../template.hpp"
4-
#include "../../../library/graphs/euler_walk.hpp"
4+
#include "../../../library/graphs/euler_path.hpp"
55
int main() {
66
cin.tie(0)->sync_with_stdio(0);
77
int t;
@@ -31,7 +31,7 @@ int main() {
3131
auto it = ranges::find(deg, 1);
3232
if (it != end(deg)) s = it - begin(deg);
3333
else if (s == -1) s = 0;
34-
vector<pii> res = euler_walk(adj, m, s);
34+
vector<pii> res = euler_path(adj, m, s);
3535
if (ssize(res) != m + 1) {
3636
cout << "No" << '\n';
3737
continue;

tests/library_checker_aizu_tests/graphs/euler_walk_undirected.test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#define PROBLEM \
22
"https://judge.yosupo.jp/problem/eulerian_trail_undirected"
33
#include "../template.hpp"
4-
#include "../../../library/graphs/euler_walk.hpp"
4+
#include "../../../library/graphs/euler_path.hpp"
55
int main() {
66
cin.tie(0)->sync_with_stdio(0);
77
int t;
@@ -28,7 +28,7 @@ int main() {
2828
auto it = ranges::find(deg, 1);
2929
if (it != end(deg)) s = it - begin(deg);
3030
else if (s == -1) s = 0;
31-
vector<pii> res = euler_walk(adj, m, s);
31+
vector<pii> res = euler_path(adj, m, s);
3232
if (ssize(res) != m + 1) {
3333
cout << "No" << '\n';
3434
continue;

0 commit comments

Comments
 (0)