Dip 0.95.0
Loading...
Searching...
No Matches
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)
 

Public Attributes

std::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
 

Detailed Description

Definition at line 34 of file UtilGraphLib.h.

Constructor & Destructor Documentation

◆ UtilGraphLib()

UtilGraphLib::UtilGraphLib ( )
inline

Definition at line 40 of file UtilGraphLib.h.

◆ ~UtilGraphLib()

UtilGraphLib::~UtilGraphLib ( )
inline

Definition at line 54 of file UtilGraphLib.h.

Member Function Documentation

◆ read_data()

void UtilGraphLib::read_data ( const char * datafile)

◆ compute_icost()

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

Member Data Documentation

◆ name

std::string UtilGraphLib::name

Definition at line 67 of file UtilGraphLib.h.

◆ n_vertices

int UtilGraphLib::n_vertices

Definition at line 68 of file UtilGraphLib.h.

◆ n_edges

int UtilGraphLib::n_edges

Definition at line 69 of file UtilGraphLib.h.

◆ capacity

int UtilGraphLib::capacity

Definition at line 70 of file UtilGraphLib.h.

◆ edge_wt

int* UtilGraphLib::edge_wt

Definition at line 71 of file UtilGraphLib.h.

◆ vertex_wt

int* UtilGraphLib::vertex_wt

Definition at line 72 of file UtilGraphLib.h.

◆ posx

int* UtilGraphLib::posx

Definition at line 73 of file UtilGraphLib.h.

◆ posy

int* UtilGraphLib::posy

Definition at line 74 of file UtilGraphLib.h.

◆ coordx

double* UtilGraphLib::coordx

Definition at line 75 of file UtilGraphLib.h.

◆ coordy

double* UtilGraphLib::coordy

Definition at line 76 of file UtilGraphLib.h.

◆ coordz

double* UtilGraphLib::coordz

Definition at line 77 of file UtilGraphLib.h.


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