did some work on perms

This commit is contained in:
2020-03-29 23:55:52 -06:00
parent 182e3d1e18
commit 8732edf8f4
3 changed files with 42 additions and 39 deletions

View File

@@ -11,10 +11,10 @@
class MakePermutationMatrix
{
public:
static std::vector<std::vector<City>> GetLowestCost(std::vector<City> source, int rank, int size, std::vector<std::vector<double>> costMatrix);
static std::vector<double> GetLowestCost(std::vector<City> source, int rank, int size, std::vector<std::vector<double>> costMatrix);
private:
static std::vector<std::vector<City>> MakePermutation(std::vector<City> source, int rank, int size);
static std::vector<double> MakePermutation(std::vector<City> source, int rank, int size, std::vector<std::vector<double>> costMatrix);
};
#endif // HW10_MAKEPERMUTATIONMATRIX_H