Dip  0.92.4
Public Member Functions | Public Attributes | List of all members
UtilGraphLib Class Reference

#include <UtilGraphLib.h>

+ Collaboration diagram for UtilGraphLib:

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
 

Detailed Description

Definition at line 33 of file UtilGraphLib.h.

Constructor & Destructor Documentation

◆ UtilGraphLib() [1/2]

UtilGraphLib::UtilGraphLib ( )
inline

Definition at line 39 of file UtilGraphLib.h.

◆ ~UtilGraphLib() [1/2]

UtilGraphLib::~UtilGraphLib ( )
inline

Definition at line 43 of file UtilGraphLib.h.

◆ UtilGraphLib() [2/2]

UtilGraphLib::UtilGraphLib ( )
inline

Definition at line 40 of file UtilGraphLib.h.

◆ ~UtilGraphLib() [2/2]

UtilGraphLib::~UtilGraphLib ( )
inline

Definition at line 54 of file UtilGraphLib.h.

Member Function Documentation

◆ read_data() [1/2]

void UtilGraphLib::read_data ( const char *  datafile)

◆ compute_icost() [1/2]

int UtilGraphLib::compute_icost ( const int  wtype,
const int  va,
const int  vb 
)

◆ read_data() [2/2]

void UtilGraphLib::read_data ( const char *  datafile)

◆ compute_icost() [2/2]

int UtilGraphLib::compute_icost ( const int  wtype,
const int  va,
const int  vb 
)

Member Data Documentation

◆ name [1/2]

string UtilGraphLib::name

Definition at line 51 of file UtilGraphLib.h.

◆ n_vertices

int UtilGraphLib::n_vertices

Definition at line 57 of file UtilGraphLib.h.

◆ n_edges

int UtilGraphLib::n_edges

Definition at line 58 of file UtilGraphLib.h.

◆ capacity

int UtilGraphLib::capacity

Definition at line 59 of file UtilGraphLib.h.

◆ edge_wt

int * UtilGraphLib::edge_wt

Definition at line 60 of file UtilGraphLib.h.

◆ vertex_wt

int * UtilGraphLib::vertex_wt

Definition at line 61 of file UtilGraphLib.h.

◆ posx

int * UtilGraphLib::posx

Definition at line 62 of file UtilGraphLib.h.

◆ posy

int * UtilGraphLib::posy

Definition at line 62 of file UtilGraphLib.h.

◆ coordx

double * UtilGraphLib::coordx

Definition at line 63 of file UtilGraphLib.h.

◆ coordy

double * UtilGraphLib::coordy

Definition at line 63 of file UtilGraphLib.h.

◆ coordz

double * UtilGraphLib::coordz

Definition at line 63 of file UtilGraphLib.h.

◆ name [2/2]

std::string UtilGraphLib::name

Definition at line 62 of file UtilGraphLib.h.


The documentation for this class was generated from the following file: