Function adj_matrix_edge_addd
Defined in File adj_matrix.h
Function Documentation
-
status_t adj_matrix_edge_addd(struct adj_matrix *matrix, size_t u, size_t v, const double *w)
Add a directed edge to the graph.
- Parameters:
matrix – The matrix handle.
u – Source vertex.
v – Sink vertex.
w – Weight of edge. Ignored for unweighted graphs (pass NULL probably).
- Returns: