text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

Edge Class Reference

#include <Edge.h>

List of all members.


Detailed Description

An Edge class for graph implementations.

Definition at line 19 of file Edge.h.

Public Member Functions

 Edge (int firstVertex, int secondVertex, int edgeWeight)

Public Attributes

int v
int w
int weight


Constructor & Destructor Documentation

Edge::Edge int  firstVertex,
int  secondVertex,
int  edgeWeight
[inline]
 

Definition at line 23 of file Edge.h.

References v, w, and weight.


Member Data Documentation

int Edge::v
 

Definition at line 22 of file Edge.h.

Referenced by Graph::add(), Edge(), Graph::remove(), and BFS::search().

int Edge::w
 

Definition at line 22 of file Edge.h.

Referenced by Graph::add(), Edge(), Graph::remove(), and BFS::search().

int Edge::weight
 

Definition at line 22 of file Edge.h.

Referenced by Graph::add(), Edge(), Graph::getWeight(), Graph::remove(), and BFS::search().


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

Generated on Sun Aug 27 22:27:08 2006 for AWLogo by  doxygen 1.4.6