GOBNILP
f164d83
|
Function declarations for vectorlist.c. More...
Go to the source code of this file.
Data Structures | |
struct | VectorList |
A list of lists of integer values. More... | |
Functions | |
void | VectorListAppend (VectorList *vl, Vector *item) |
Appends an item to the end of a vectorlist. More... | |
void | VectorListClear (VectorList *vl) |
Clears all the values from a vectorlist. More... | |
VectorList * | VectorListCreate (int capacity) |
Creates a vectorlist with a given capacity. More... | |
void | VectorListDelete (VectorList **vl) |
Deallocates the memory associated with a vectorlist. More... | |
Function declarations for vectorlist.c.
void VectorListAppend | ( | VectorList * | vl, |
Vector * | item | ||
) |
Appends an item to the end of a vectorlist.
vl | The vectorlist to extend. |
item | The item to add. |
References VectorList::items, and VectorList::size.
Referenced by circuit(), and findStronglyConnectedComponents().
void VectorListClear | ( | VectorList * | vl | ) |
Clears all the values from a vectorlist.
vl | The vectorlist to clear. |
References VectorList::items, VectorList::size, and VectorDelete().
Referenced by CC_findCuts().
VectorList* VectorListCreate | ( | int | capacity | ) |
Creates a vectorlist with a given capacity.
capacity | The maximum capacity of the vectorlist. |
References VectorList::capacity, VectorList::items, and VectorList::size.
Referenced by PS_splitToComponents().
void VectorListDelete | ( | VectorList ** | vl | ) |
Deallocates the memory associated with a vectorlist.
vl | The vectorlist to free. |
References VectorDelete().
Referenced by CC_finalise(), and PS_splitToComponents().