Social Network 1.0.0
The second major course output (MCO2) for CCDSALG.
|
A collection implementing the queue data structure using an array. More...
#include <queue.h>
Public Attributes | |
Vertex | data [MAX_GRAPH_VERTEX_COUNT] |
The ordered data contained in the queue. | |
size_t | front |
The index of the first element in the queue. | |
size_t | rear |
The index of the last element in the queue. |
A collection implementing the queue data structure using an array.
This is a simple implementation, not a circular implementation. Therefore, the queue can only be consumed once.