Changeset 6beb157497 in tspsg for src/tspsolver.cpp
- Timestamp:
- Feb 23, 2010, 11:17:48 PM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- b2bf8e3b6b
- Parents:
- 11086c2def
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tspsolver.cpp
r11086c2def r6beb157497 106 106 int nRow, nCol; 107 107 bool firstStep = true; 108 double check ;108 double check = INFINITY; 109 109 while (this->route.size() < nCities) { 110 110 // forbidden.clear(); … … 141 141 left->matrix = step->matrix; 142 142 left->matrix[nRow][nCol] = INFINITY; 143 143 left->price = step->price + align(left->matrix); 144 144 145 145 step->candidate.nRow = nRow;
Note: See TracChangeset
for help on using the changeset viewer.