Dip
0.92.4
|
#include <UtilGraphLib.h>
Public Member Functions | |
UtilGraphLib () | |
~UtilGraphLib () | |
void | read_data (const char *datafile) |
int | compute_icost (const int wtype, const int va, const int vb) |
UtilGraphLib () | |
~UtilGraphLib () | |
void | read_data (const char *datafile) |
int | compute_icost (const int wtype, const int va, const int vb) |
Public Attributes | |
string | name |
int | n_vertices |
int | n_edges |
int | capacity |
int * | edge_wt |
int * | vertex_wt |
int * | posx |
int * | posy |
double * | coordx |
double * | coordy |
double * | coordz |
std::string | name |
Private Member Functions | |
UtilGraphLib (const UtilGraphLib &) | |
UtilGraphLib & | operator= (const UtilGraphLib &) |
UtilGraphLib (const UtilGraphLib &) | |
UtilGraphLib & | operator= (const UtilGraphLib &) |
Definition at line 33 of file UtilGraphLib.h.
|
private |
|
inline |
Definition at line 39 of file UtilGraphLib.h.
|
inline |
Definition at line 43 of file UtilGraphLib.h.
References UTIL_DELARR.
|
private |
|
inline |
Definition at line 40 of file UtilGraphLib.h.
|
inline |
Definition at line 54 of file UtilGraphLib.h.
References coordx, coordy, coordz, edge_wt, posx, posy, UTIL_DELARR, and vertex_wt.
|
private |
void UtilGraphLib::read_data | ( | const char * | datafile | ) |
int UtilGraphLib::compute_icost | ( | const int | wtype, |
const int | va, | ||
const int | vb | ||
) |
|
private |
void UtilGraphLib::read_data | ( | const char * | datafile | ) |
int UtilGraphLib::compute_icost | ( | const int | wtype, |
const int | va, | ||
const int | vb | ||
) |
string UtilGraphLib::name |
Definition at line 51 of file UtilGraphLib.h.
int UtilGraphLib::n_vertices |
Definition at line 57 of file UtilGraphLib.h.
Referenced by VRP_Concorde::buildExpandedCompleteGraph(), VRP_CVRPsep::buildLpSol(), VRP_CVRPsep::createVrpCuts(), VRP_Concorde::createVrpRouteFromTspEdgeList(), VRP_Concorde::createVrpRouteFromTspRoute(), VRP_CVRPsep::sepCapacityCuts(), VRP_Concorde::setExpandedCost(), and VRP_Concorde::solveTSP().
int UtilGraphLib::n_edges |
Definition at line 58 of file UtilGraphLib.h.
Referenced by VRP_CVRPsep::buildLpSol(), VRP_Concorde::init(), and VRP_Concorde::setExpandedCost().
int UtilGraphLib::capacity |
Definition at line 59 of file UtilGraphLib.h.
Referenced by VRP_CVRPsep::createVrpCuts(), and VRP_CVRPsep::sepCapacityCuts().
int * UtilGraphLib::edge_wt |
Definition at line 60 of file UtilGraphLib.h.
Referenced by ~UtilGraphLib().
int * UtilGraphLib::vertex_wt |
Definition at line 61 of file UtilGraphLib.h.
Referenced by VRP_CVRPsep::createVrpCuts(), VRP_CVRPsep::sepCapacityCuts(), and ~UtilGraphLib().
int * UtilGraphLib::posx |
Definition at line 62 of file UtilGraphLib.h.
Referenced by ~UtilGraphLib().
int * UtilGraphLib::posy |
Definition at line 62 of file UtilGraphLib.h.
Referenced by ~UtilGraphLib().
double * UtilGraphLib::coordx |
Definition at line 63 of file UtilGraphLib.h.
Referenced by ~UtilGraphLib().
double * UtilGraphLib::coordy |
Definition at line 63 of file UtilGraphLib.h.
Referenced by ~UtilGraphLib().
double * UtilGraphLib::coordz |
Definition at line 63 of file UtilGraphLib.h.
Referenced by ~UtilGraphLib().
std::string UtilGraphLib::name |
Definition at line 62 of file UtilGraphLib.h.