Changeset 85ad815b0b in tspsg
- Timestamp:
- Oct 21, 2009, 2:48:49 PM (15 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- e0fcac5f2c
- Parents:
- caef58b531
- Location:
- src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
src/globals.h
rcaef58b531 r85ad815b0b 76 76 #endif // Q_OS_LINUX 77 77 78 //! TSPSG Task file signature - letters \ pTSPT78 //! TSPSG Task file signature - letters \c TSPT 79 79 #define TSPT quint32(0x54535054) 80 80 //! TSPSG Task file version … … 84 84 //! TSPSG Task file metadata size in bytes (incl. version) 85 85 #define TSPT_META_SIZE 2 86 //! ZKomModRd Task file signature - letters \ pZK86 //! ZKomModRd Task file signature - letters \c ZK 87 87 #define ZKT quint16(0x5A4B) 88 88 //! ZKomModRd Task file version 89 89 #define ZKT_VERSION quint8(1) 90 90 91 // Some libraries already have INFINITY defined. 92 // We need to undefine it for INFINITY to have always the same value. 91 /*! 92 * \def INFINITY 93 * \brief This value means infinity :-) 94 * 95 * Some libraries already have \c INFINITY defined. 96 * We need to redefine it for the \c INFINITY to always have the same value. 97 */ 93 98 #ifdef INFINITY 94 99 #undef INFINITY 95 100 #endif 96 //! This value means infinity :-)97 101 #define INFINITY 1.7E+308 98 102 //! This string represents infinite value in the table -
src/mainwindow.h
rcaef58b531 r85ad815b0b 27 27 #ifndef MAINWINDOW_H 28 28 #define MAINWINDOW_H 29 30 /*! 31 * \file mainwindow.h 32 * \brief Defines MainWindow class. 33 */ 29 34 30 35 #include "globals.h" -
src/os.h
rcaef58b531 r85ad815b0b 25 25 #define OS_H 26 26 27 /*! 28 * \file os.h 29 * \brief This file contains TSPSG target CPU architecture and OS detection. 30 * 31 * Arch detection works only for <b>GNU C</b>, <b>Visual Studio</b>, <b>Intel C/C++</b> and <b>MinGW32</b> compilers. 32 * 33 * OS detection should work for any compiler. 34 */ 35 27 36 // Some target arch detection. 28 37 /*! 29 38 * \def ARCH 30 39 * \brief The target CPU architecture TSPSG was built for. 31 * \warning NOTE: Only for GNU C, Visual Studio, Intel C/C++ and MinGW32compilers.40 * \warning NOTE: Only for <b>GNU C</b>, <b>Visual Studio</b>, <b>Intel C/C++</b> and <b>MinGW32</b> compilers. 32 41 */ 33 42 #if defined(__amd64__) || defined(_M_X64) … … 47 56 #endif // ARCH 48 57 49 // Target OS detection. Done by Qt, so should work withany compiler.58 // Target OS detection. Done by Qt, so should work for any compiler. 50 59 /*! 51 60 * \def OS -
src/resource.h
rcaef58b531 r85ad815b0b 24 24 #include "version.h" 25 25 26 /*! 27 * \file resource.h 28 * \brief This file contains windows resource IDs. 29 */ 30 31 //! Version information resource ID 26 32 #define VS_VERSION_INFO 1 33 //! Main application icon resource ID 27 34 #define IDI_APPICON 101 -
src/settingsdialog.cpp
rcaef58b531 r85ad815b0b 226 226 /*! 227 227 * \brief Indicates whether or not the font color has been changed. 228 * \return \c true if font color changed, otherwise \c false. 228 229 */ 229 230 bool SettingsDialog::colorChanged() const … … 234 235 /*! 235 236 * \brief Indicates whether or not the font properties have been changed. 237 * \return \c true if font properties changed, otherwise \c false. 236 238 */ 237 239 bool SettingsDialog::fontChanged() const -
src/settingsdialog.h
rcaef58b531 r85ad815b0b 27 27 #ifndef SETTINGSDIALOG_H 28 28 #define SETTINGSDIALOG_H 29 30 /*! 31 * \file settingsdialog.h 32 * \brief Defines SettingsDialog class. 33 */ 29 34 30 35 #include "globals.h" -
src/tspmodel.h
rcaef58b531 r85ad815b0b 27 27 #ifndef TSPMODEL_H 28 28 #define TSPMODEL_H 29 30 /*! 31 * \file tspmodel.h 32 * \brief Defines CTSPModel class. 33 */ 29 34 30 35 #include "globals.h" -
src/tspsolver.cpp
rcaef58b531 r85ad815b0b 131 131 * \param task The matrix of city-to-city travel costs. 132 132 * \param parent The parent widget for displaying messages and dialogs. 133 * \return Pointer to the root of the solution tree. 133 134 * 134 135 * \todo TODO: Comment the algorithm. … … 236 237 /*! 237 238 * \brief Returns the sorted optimal path, starting from City 1. 239 * \return A string, containing sorted optimal path. 238 240 */ 239 241 QString CTSPSolver::getSortedPath() const … … 255 257 /*! 256 258 * \brief Returns CTSPSolver's version ID. 257 * 258 * Current version ID is <b>\$Id$</b>. 259 * \return A string: <b>\$Id$</b>. 259 260 */ 260 261 QString CTSPSolver::getVersionId() … … 265 266 /*! 266 267 * \brief Returns whether or not the solution is definitely optimal. 268 * \return \c true if solution is definitely optimal, otherwise \c false. 267 269 * 268 270 * The solution may need some further interations to determine whether it is optimal. 269 * In such cases this function returns \ pfalse.271 * In such cases this function returns \c false. 270 272 */ 271 273 bool CTSPSolver::isOptimal() const -
src/tspsolver.h
rcaef58b531 r85ad815b0b 29 29 #ifndef TSPSOLVER_H 30 30 #define TSPSOLVER_H 31 32 /*! 33 * \file tspsolver.h 34 * \brief Defines #tMatrix typedef, sStep struct and CTSPSolver class. 35 */ 31 36 32 37 #include "globals.h" -
src/version.h
rcaef58b531 r85ad815b0b 1 1 /*! \mainpage 2 2 * 3 * \image html tspsg.png 3 4 * <b>TSPSG: TSP Solver and Generator</b> 4 * 5 * \author Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name> 5 6 * 6 7 * $Id$ … … 46 47 * 47 48 * Build number meanings: 48 * - 1 -- 3: alpha1 to 349 * - 4 -- 7: beta1 to 450 * - 8 -- 10: rc1 to 351 * - 11 -- ...: release 1 to ...49 * - 1 -- 3: <b>alpha</b> 1 to 3 50 * - 4 -- 7: <b>beta</b> 1 to 4 51 * - 8 -- 10: <b>rc</b> 1 to 3 52 * - 11 -- x: <b>release</b> 1 to x-10 52 53 */ 53 54 #define BUILD_NUMBER 65535 … … 69 70 #endif // BUILD_NUMBER == 65535 70 71 72 //! \internal \brief A helper for QUOTE(x). 73 #define QUOTE_X(x) #x 71 74 //! Used for "conversion" of \a x to quoted string 72 #define QUOTE_X(x) #x73 75 #define QUOTE(x) QUOTE_X(x) 74 76 75 77 /*! 76 78 * \def BUILD_VERSION 77 * \brief Full version of TSPSG in the form: \ a major.\a minor.\a release [\astatus].79 * \brief Full version of TSPSG in the form: \c major.\c minor.\c release[ \c status]. 78 80 */ 79 81 #ifndef BUILD_STATUS
Note: See TracChangeset
for help on using the changeset viewer.