Changeset 9cda6e0f5d in tspsg for src/globals.h


Ignore:
Timestamp:
Apr 25, 2010, 4:36:27 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
ca3d2a30fa
Parents:
345e7b6132
git-author:
Oleksii Serdiuk <contacts@…> (04/25/10 16:36:27)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:41:31)
Message:

+ Added SStep::next that indicates what branch was selected for the next step.
+ Added "Show solution graph" option.
+ New CTSPSolver::getTotalSteps() method that returns a total number of steps in the current solution.

  • Moved SCandidate declaration into SStep declaration.
  • Moved everything in tspsolver.h and tspsolver.cpp into TSPSolver namespace.
  • Force CopyAction? on file drop or it will be deleted after dropping in Windows if MoveAction? was selected.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/globals.h

    r345e7b6132 r9cda6e0f5d  
    3232#include <QtCore>
    3333#include <QtGui>
    34 #include <limits>
    3534
    3635// Version info
     
    4039// TSPSG Defaults
    4140#include "defaults.h"
     41// TSPSolver
     42#include "tspsolver.h"
    4243#ifdef Q_OS_WIN32
    4344        // Vista/7 Eyecandy
     
    8081#define ZKT_VERSION quint8(1)
    8182
    82 /*!
    83  * \def INFINITY
    84  * \brief This value means infinity :-)
    85  *
    86  *  Some libraries already have \c INFINITY defined.
    87  *  We need to redefine it for the \c INFINITY to always have the same value.
    88  */
    89 #ifdef INFINITY
    90         #undef INFINITY
    91 #endif
    92 #define INFINITY std::numeric_limits<double>::infinity()
    9383//! This string represents infinite value in the table
    9484#define INFSTR "---"
Note: See TracChangeset for help on using the changeset viewer.