Changeset 93 in tspsg-svn for trunk/src/tspsolver.cpp
- Timestamp:
- Feb 23, 2010, 11:17:48 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 8 8 *.vcproj 9 9 Makefile* 10 build 10 11 debug 11 12 release
-
- Property svn:ignore
-
trunk/src/tspsolver.cpp
r90 r93 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.