DirectedEdge::DirectedEdgeConstructor DirectedEdge(T vertexX, T vertexY); Constructs a directed edge. T is the type of label of the endpoints. Default value of the weight of edge is 1. Parameters
Return value
Example
Output None Time Complexity |
© The University of Hong Kong Algorithms Library - hkual@cs.hku.hk |