src/tspsolver.h File Reference

Defines TSPSolver namespace and everything needed for solving TSP tasks. More...

#include <QtCore>
#include <limits>
Include dependency graph for tspsolver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TSPSolver::SStep
 This structure represents one step of solving. More...
struct  TSPSolver::SStep::SCandidate
 A structure that represents a candidate for branching. More...
class  TSPSolver::CTSPSolver
 This class solves Travelling Salesman Problem task. More...

Namespaces

namespace  TSPSolver
 

A TSP Solver namespace.


Defines

#define INFINITY   std::numeric_limits<double>::infinity()
 This value means infinity :-).

Typedefs

typedef QList< QList< double > > TSPSolver::TMatrix
 A matrix of city-to-city travel costs.

Detailed Description

Defines TSPSolver namespace and everything needed for solving TSP tasks.

Author:
Copyright © 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
Id
tspsolver.h 110 2010-04-27 23:38:10Z laleppa
URL
https://tspsg.svn.sourceforge.net/svnroot/tspsg/trunk/src/tspsolver.h

TSPSG: TSP Solver and Generator

This file is part of TSPSG.

TSPSG is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

TSPSG is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with TSPSG. If not, see <http://www.gnu.org/licenses/>.


Define Documentation

#define INFINITY   std::numeric_limits<double>::infinity()

This value means infinity :-).

Some libraries already have INFINITY defined. We need to redefine it for the INFINITY to always have the same value.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Wed Apr 28 02:47:14 2010 for TSPSG: TSP Solver and Generator by  doxygen 1.6.1