Auto Commit
This commit is contained in:
1 parent
02e5132a3d
commit
0504195ba2
1 file changed
+5
-1
@@ -24,7 +24,11 @@ std::vector<double> MakePermutationMatrix::MakePermutation(std::vector<City> sou
|
||||
|
||||
//rotate my perm.
|
||||
std::rotate(myPerm.begin(), myPerm.begin()+offset*rank,myPerm.end());
|
||||
|
||||
std::cout << "source: ";
|
||||
for(int i = 0; i < source.size(); i++){
|
||||
std::cout << source[i].GetName() << " ";
|
||||
}
|
||||
std::cout << std::endl;
|
||||
do {
|
||||
double cost;
|
||||
//Add up the cost of the current permutation.
|
||||
|
||||
Reference in new issue
Block a user