Changeset 87 in tspsg-svn for trunk/src/tspmodel.h
- Timestamp:
- Jan 12, 2010, 3:11:24 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tspmodel.h
r81 r87 1 1 /*! 2 2 * \file tspmodel.h 3 * \author Copyright © 2007-20 09Lёppa <contacts[at]oleksii[dot]name>3 * \author Copyright © 2007-2010 Lёppa <contacts[at]oleksii[dot]name> 4 4 * 5 5 * $Id$ … … 33 33 /*! 34 34 * \brief This class implements table model for manipulating a task. 35 * \author Copyright © 2007-20 09Lёppa <contacts[at]oleksii[dot]name>35 * \author Copyright © 2007-2010 Lёppa <contacts[at]oleksii[dot]name> 36 36 */ 37 37 class CTSPModel: public QAbstractTableModel … … 64 64 private: 65 65 QSettings *settings; 66 QVector<QVector< double> > table;66 QVector<QVector<qreal> > table; 67 67 quint16 nCities; 68 68 bool loadError(QDataStream::Status); 69 69 bool loadTSPT(QDataStream *); 70 70 bool loadZKT(QDataStream *); 71 doublerand(int, int) const;71 qreal rand(int, int) const; 72 72 }; 73 73
Note: See TracChangeset
for help on using the changeset viewer.