Changeset 107 in tspsg-svn for trunk/src/globals.h


Ignore:
Timestamp:
Apr 25, 2010, 4:36:27 PM (14 years ago)
Author:
laleppa
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
  • trunk/src/globals.h

    r103 r107  
    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.