Name

graph_adjlists

Synopsis

List graph_adjlists(const Graph *graph);

Return Value

List of adjacency-list structures.

Description

Macro that evaluates to the list of adjacency-list structures in graph. Each element in the list is an AdjList structure. The actual list of adjacency-list structures in the graph is returned, so it must not be manipulated by the caller.

Complexity

O (1)

Get Mastering Algorithms with C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.