Graphviz 13.0.0~dev.20241220.2304
|
Go to the source code of this file.
Functions | |
void | bfs (int vertex, vtx_data *graph, int n, DistType *dist) |
void | mkQueue (Queue *qp, int size) |
void | freeQueue (Queue *qp) |
void | initQueue (Queue *qp, int startVertex) |
bool | deQueue (Queue *qp, int *vertex) |
bool | enQueue (Queue *qp, int vertex) |
Definition at line 25 of file bfs.c.
References deQueue(), dist(), enQueue(), freeQueue(), graph(), initQueue(), mkQueue(), neighbor, and NULL.
Referenced by compute_apsp_packed(), compute_apsp_simple(), embed_graph(), and sparse_stress_subspace_majorization_kD().
bool deQueue | ( | Queue * | qp, |
int * | vertex | ||
) |
Definition at line 93 of file bfs.c.
References Queue::data, Queue::end, and Queue::start.
Referenced by bfs().
bool enQueue | ( | Queue * | qp, |
int | vertex | ||
) |
Definition at line 101 of file bfs.c.
References Queue::data, Queue::end, and Queue::queueSize.
Referenced by bfs().
void freeQueue | ( | Queue * | qp | ) |
Definition at line 81 of file bfs.c.
References Queue::data, and free().
Referenced by bfs().
void initQueue | ( | Queue * | qp, |
int | startVertex | ||
) |
Definition at line 86 of file bfs.c.
References Queue::data, Queue::end, and Queue::start.
Referenced by bfs().
void mkQueue | ( | Queue * | qp, |
int | size | ||
) |
Definition at line 74 of file bfs.c.
References Queue::data, Queue::end, gv_calloc(), Queue::queueSize, and Queue::start.
Referenced by bfs().