Function adj_matrix_n_edges
Defined in File adj_matrix.h
Function Documentation
-
static inline size_t adj_matrix_n_edges(const struct adj_matrix *const matrix)
Get the # of edges currently defined in the graph.
- Parameters:
matrix – The matrix handle.
- Returns:
The # of edges, or 0 on ERROR.