Function adj_matrix_edge_query

Function Documentation

static inline bool_t adj_matrix_edge_query(struct adj_matrix *const matrix, size_t u, size_t v)

Determine if (u,v) exists.

Parameters:
  • matrix – The matrix handle.

  • u – Vertex #1.

  • v – Vertex #2.

Returns:

bool_t.