Dip-All
0.91.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
coin
svn-release
Dip-0.91.6
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
// Author: Matthew Galati, Lehigh University //
8
// //
9
// Copyright (C) 2002-2015, Lehigh University, Matthew Galati, and Ted Ralphs//
10
// All Rights Reserved. //
11
//===========================================================================//
12
13
#ifndef TSP_INSTANCE_INCLUDED
14
#define TSP_INSTANCE_INCLUDED
15
16
// --------------------------------------------------------------------- //
17
#include "UtilGraphLib.h"
18
#include "
TSP_Concorde.h
"
19
#include "
TSP_Boost.h
"
20
21
// --------------------------------------------------------------------- //
26
// --------------------------------------------------------------------- //
27
28
class
TSP_Instance
{
29
public
:
31
UtilGraphLib
m_graphLib
;
32
33
//THINK: these next two are for algos not really input -
34
// better as members of TSP_DecompApp?
36
TSP_Concorde
m_concorde
;
37
38
//** Interface class for Boost methods. */
39
TSP_Boost
m_boost
;
40
42
//Graph m_sg;
43
45
//Graph m_cgV;
46
int
m_vert
;
47
48
//TODO: access methods
49
50
private
:
53
TSP_Instance
(
const
TSP_Instance
&);
54
TSP_Instance
&
operator=
(
const
TSP_Instance
&);
55
56
public
:
58
TSP_Instance
() :
59
m_graphLib
(),
60
m_concorde
(),
61
m_boost
(),
62
//m_sg (),
63
//m_cgV (),
64
m_vert
(0)
65
{}
66
~TSP_Instance
() {};
67
68
69
70
};
71
72
#endif
TSP_Instance::TSP_Instance
TSP_Instance()
Definition:
TSP_Instance.h:58
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:55
UtilGraphLib
Definition:
UtilGraphLib.h:33
TSP_Instance::m_vert
int m_vert
The current support graph.
Definition:
TSP_Instance.h:46
TSP_Instance::m_boost
TSP_Boost m_boost
Definition:
TSP_Instance.h:39
TSP_Boost
Definition:
TSP_Boost.h:37
TSP_Instance::m_graphLib
UtilGraphLib m_graphLib
Data for an instance from TSPLIB.
Definition:
TSP_Instance.h:31
TSP_Instance::~TSP_Instance
~TSP_Instance()
Definition:
TSP_Instance.h:66
TSP_Instance
Definition:
TSP_Instance.h:28
TSP_Instance::m_concorde
TSP_Concorde m_concorde
Interface class for Concorde methods.
Definition:
TSP_Instance.h:36
Generated by
1.8.5