From 6a46a175f764de2ff4bd0b389ebee2c2abf93f4a Mon Sep 17 00:00:00 2001 From: bbod Date: Mon, 30 Mar 2020 15:40:46 -0600 Subject: [PATCH] Auto Commit --- HW10/MakePermutationMatrix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HW10/MakePermutationMatrix.cpp b/HW10/MakePermutationMatrix.cpp index 12880d1..879159b 100644 --- a/HW10/MakePermutationMatrix.cpp +++ b/HW10/MakePermutationMatrix.cpp @@ -37,7 +37,7 @@ std::vector MakePermutationMatrix::MakePermutation(std::vector sou std::cout << std::endl; do { double cost = 0; - std::cout << "myPerm: "; + std::cout <<"Rank: " << rank << " myPerm: "; for(int i = 0; i < myPerm.size(); i++){ std::cout << myPerm[i].GetName() << " "; } @@ -48,7 +48,7 @@ std::vector MakePermutationMatrix::MakePermutation(std::vector sou cost += costMatrix[myPerm[i].GetName()][myPerm[i-1].GetName()]; } - std::cout << "cost: " << cost <