Changeset 43c29c04ba in tspsg for src/tspsolver.h
- Timestamp:
- Jul 4, 2010, 3:03:13 AM (14 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 7aaa0b0ec7
- Parents:
- d2820c3a1f
- git-author:
- Oleksii Serdiuk <contacts@…> (07/04/10 03:03:13)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tspsolver.h
rd2820c3a1f r43c29c04ba 113 113 CTSPSolver(QObject *parent = NULL); 114 114 void cleanup(bool processEvents = false); 115 QString getSortedPath(const QString &city, const QString &separator = " -> ") const;115 QString getSortedPath(const QString &city, const QString &separator = QString(" -> ")) const; 116 116 int getTotalSteps() const; 117 117 bool isOptimal() const; 118 void setCleanupOnCancel(bool enable = true); 118 119 SStep *solve(int numCities, const TMatrix &task); 119 120 bool wasCanceled() const; … … 131 132 132 133 private: 133 bool mayNotBeOptimal, canceled ;134 bool mayNotBeOptimal, canceled, cc; 134 135 int nCities, total; 135 136 SStep *root;
Note: See TracChangeset
for help on using the changeset viewer.