From e4d86723227dc3694bf502dfd492e8c2b1887c2c Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 19 Oct 2022 17:27:59 +0200 Subject: Ran clang-format. --- excitation.cpp | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'excitation.cpp') diff --git a/excitation.cpp b/excitation.cpp index d09410b..8a2c409 100644 --- a/excitation.cpp +++ b/excitation.cpp @@ -28,11 +28,8 @@ int main(int argc, char* argv[]) { for (unsigned i = 0; i < G.vertices.size() / 2; i++) { unsigned j1 = pm.GetMatch(i); - std::cout - << G.vertices[i].coordinate[0] << " " - << G.vertices[i].coordinate[1] << " " - << G.vertices[j1].coordinate[0] << " " - << G.vertices[j1].coordinate[1] << std::endl; + std::cout << G.vertices[i].coordinate[0] << " " << G.vertices[i].coordinate[1] << " " + << G.vertices[j1].coordinate[0] << " " << G.vertices[j1].coordinate[1] << std::endl; } std::vector matching(G.edges.size()); @@ -41,7 +38,6 @@ int main(int argc, char* argv[]) { matching[i] = edgeMatched(pm, G.edges[i]); } - while (true) { unsigned eFlip = r.variate(0, G.edges.size() - 1); @@ -76,11 +72,9 @@ int main(int argc, char* argv[]) { for (unsigned i = 0; i < G.edges.size(); i++) { if (!matching[i] && edgeMatched(pm, G.edges[i])) { - std::cout - << G.edges[i].tail->coordinate[0] << " " - << G.edges[i].tail->coordinate[1] << " " - << G.edges[i].head->coordinate[0] << " " - << G.edges[i].head->coordinate[1] << std::endl; + std::cout << G.edges[i].tail->coordinate[0] << " " << G.edges[i].tail->coordinate[1] << " " + << G.edges[i].head->coordinate[0] << " " << G.edges[i].head->coordinate[1] + << std::endl; } } -- cgit v1.2.3-70-g09d2