Changeset 899d1b8e15 in tspsg for src/tspmodel.cpp
- Timestamp:
- Jun 24, 2009, 6:54:10 PM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- ac4cb71650
- Parents:
- 78282ec778
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tspmodel.cpp
r78282ec778 r899d1b8e15 141 141 } 142 142 143 void CTSPModel::clear() 144 { 145 for (int r = 0; r < nCities; r++) 146 for (int c = 0; c < nCities; c++) 147 if (r != c) 148 table[r][c] = 0; 149 emit dataChanged(index(0,0),index(nCities - 1,nCities - 1)); 150 } 151 143 152 void CTSPModel::randomize() 144 153 {
Note: See TracChangeset
for help on using the changeset viewer.