From 2c2418d11956c0beb02d2d407665075a08bb7547 Mon Sep 17 00:00:00 2001 From: bbod Date: Mon, 30 Mar 2020 10:46:57 -0600 Subject: [PATCH] Auto Commit --- HW10/MakePermutationMatrix.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/HW10/MakePermutationMatrix.cpp b/HW10/MakePermutationMatrix.cpp index e675ad7..be27ff3 100644 --- a/HW10/MakePermutationMatrix.cpp +++ b/HW10/MakePermutationMatrix.cpp @@ -28,7 +28,10 @@ std::vector MakePermutationMatrix::MakePermutation(std::vector sou do { double cost; //Add up the cost of the current permutation. - std::cout << "in the Do While" << std::endl; + std::cout << "myPerm.size() " << myPerm.size() << std::endl; + std::cout << "source.size() " << source.size() << std::endl; + std::cout << "offset " << offset << std::endl; + for (int i = 1; i < myPerm.size(); i++) { cost += costMatrix[myPerm[i].GetName()][myPerm[i-1].GetName()]; std::cout << myPerm[i].GetName() << " ";