Changeset 27 in tspsg-svn for trunk/src/tspmodel.h
- Timestamp:
- Jun 23, 2009, 7:56:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tspmodel.h
r21 r27 25 25 #define TSPMODEL_H 26 26 27 // Decided, that static array with 100 of cities maximum hard limit28 // will be enough for most cases, but the code will be simplier than29 // when using dynamic lists. If you need more, just change this value30 // and recompile the program ;-)31 #define MAX_CITIES 10032 // This value means infinity :-)33 #ifndef INFINITY34 #define INFINITY 1.7E+30835 #endif36 // This is string, which represents infinite value in table37 #define INFSTR "---"38 39 27 #include <QAbstractTableModel> 40 28 #include <QSettings> 29 #include "defines.h" 41 30 42 31 class CTSPModel: public QAbstractTableModel
Note: See TracChangeset
for help on using the changeset viewer.