Changeset 9cf98b9bd6 in tspsg for src/tspsolver.h
- Timestamp:
- Sep 2, 2009, 2:37:39 AM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 41d264adbd
- Parents:
- 244c614c6b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tspsolver.h
r244c614c6b r9cf98b9bd6 47 47 public: 48 48 CTSPSolver(); 49 QString getSortedPath() const; 50 bool isOptimal() const; 49 51 sStep *solve(int, tMatrix, QWidget *parent = 0); 50 52 51 53 private: 54 bool mayNotBeOptimal; 52 55 int nCities; 53 56 sStep *root; … … 56 59 double align(tMatrix &); 57 60 void cleanup(); 58 bool findCandidate(tMatrix, int &, int & , double &);61 bool findCandidate(tMatrix, int &, int &); 59 62 double findMinInRow(int, tMatrix, int exc = -1); 60 63 double findMinInCol(int, tMatrix, int exr = -1);
Note: See TracChangeset
for help on using the changeset viewer.