Files
cs5500_parallel_prog/HW10/MakePermutationMatrix.h
2020-03-29 16:32:07 -06:00

21 lines
506 B
C++

//
// Created by Brady Bodily on 3/28/20.
//
#ifndef HW10_MAKEPERMUTATIONMATRIX_H
#define HW10_MAKEPERMUTATIONMATRIX_H
#include "City.h"
#include <vector>
class MakePermutationMatrix
{
public:
static std::vector<std::vector<City>> 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);
};
#endif // HW10_MAKEPERMUTATIONMATRIX_H