Vertex

Class


The Edge class can represent a vertex on a weighted undirected graph or weighted directed graph. A user specifies the vertex by providing the labels of the vertex.

 

Functions

Variables
(constructor) Construct Vertex

Variables

Variables
Label The label of the Vertex

Operators

None

© The University of Hong Kong Algorithms Library - hkual@cs.hku.hk