Auto Commit
This commit is contained in:
@@ -24,7 +24,11 @@ std::vector<double> MakePermutationMatrix::MakePermutation(std::vector<City> sou
|
|||||||
|
|
||||||
//rotate my perm.
|
//rotate my perm.
|
||||||
std::rotate(myPerm.begin(), myPerm.begin()+offset*rank,myPerm.end());
|
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 {
|
do {
|
||||||
double cost;
|
double cost;
|
||||||
//Add up the cost of the current permutation.
|
//Add up the cost of the current permutation.
|
||||||
|
|||||||
Reference in New Issue
Block a user