Dip
0.92.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
tmp
Dip-0.92.4
Dip
examples
TSP
TSP_Instance.h
Go to the documentation of this file.
1
//===========================================================================//
2
// This file is part of the Decomp Solver Framework. //
3
// //
4
// Decomp is distributed under the Common Public License as part of the //
5
// COIN-OR repository (http://www.coin-or.org). //
6
// //
7
// Authors: Matthew Galati, SAS Institute Inc. (matthew.galati@sas.com) //
8
// Ted Ralphs, Lehigh University (ted@lehigh.edu) //
9
// Jiadong Wang, Lehigh University (jiw408@lehigh.edu) //
10
// //
11
// Copyright (C) 2002-2019, Lehigh University, Matthew Galati, and Ted Ralphs//
12
// All Rights Reserved. //
13
//===========================================================================//
14
15
#ifndef TSP_INSTANCE_INCLUDED
16
#define TSP_INSTANCE_INCLUDED
17
18
// --------------------------------------------------------------------- //
19
#include "UtilGraphLib.h"
20
#include "
TSP_Concorde.h
"
21
#include "
TSP_Boost.h
"
22
23
// --------------------------------------------------------------------- //
28
// --------------------------------------------------------------------- //
29
30
class
TSP_Instance
{
31
public
:
33
UtilGraphLib
m_graphLib
;
34
35
//THINK: these next two are for algos not really input -
36
// better as members of TSP_DecompApp?
38
TSP_Concorde
m_concorde
;
39
40
//** Interface class for Boost methods. */
41
TSP_Boost
m_boost
;
42
44
//Graph m_sg;
45
47
//Graph m_cgV;
48
int
m_vert
;
49
50
//TODO: access methods
51
52
private
:
55
TSP_Instance
(
const
TSP_Instance
&);
56
TSP_Instance
&
operator=
(
const
TSP_Instance
&);
57
58
public
:
60
TSP_Instance
() :
61
m_graphLib
(),
62
m_concorde
(),
63
m_boost
(),
64
//m_sg (),
65
//m_cgV (),
66
m_vert
(0)
67
{}
68
~TSP_Instance
() {};
69
70
71
72
};
73
74
#endif
TSP_Instance::TSP_Instance
TSP_Instance()
Definition:
TSP_Instance.h:60
TSP_Instance::operator=
TSP_Instance & operator=(const TSP_Instance &)
Disable the default copy constructors.
TSP_Boost.h
TSP_Concorde.h
TSP_Concorde
Definition:
TSP_Concorde.h:57
UtilGraphLib
Definition:
UtilGraphLib.h:33
TSP_Instance::m_vert
int m_vert
The current support graph.
Definition:
TSP_Instance.h:48
TSP_Instance::m_boost
TSP_Boost m_boost
Definition:
TSP_Instance.h:41
TSP_Boost
Definition:
TSP_Boost.h:39
TSP_Instance::m_graphLib
UtilGraphLib m_graphLib
Data for an instance from TSPLIB.
Definition:
TSP_Instance.h:33
TSP_Instance::~TSP_Instance
~TSP_Instance()
Definition:
TSP_Instance.h:68
TSP_Instance
Definition:
TSP_Instance.h:30
TSP_Instance::m_concorde
TSP_Concorde m_concorde
Interface class for Concorde methods.
Definition:
TSP_Instance.h:38
Generated by
1.8.5