32 #ifndef __SCIP_VECTOR_H__ 33 #define __SCIP_VECTOR_H__ 35 #include "scip/scip.h" int capacity
The maximum capacity of the vector.
Definition: vector.h:41
void VectorClear(Vector *vec)
Clears all the values from a vector.
Definition: vector.c:82
SCIP_Bool VectorContains(Vector *vec, int item)
Determine whether a vector contains a value.
Definition: vector.c:67
A list of integer values.
Definition: vector.h:38
void VectorAppend(Vector *vec, int item)
Appends an item to the end of a vector.
Definition: vector.c:53
void VectorDelete(Vector **vec)
Deallocates the memory associated with a vector.
Definition: vector.c:92
int * items
The items currently in the vector.
Definition: vector.h:45
int size
The number of items currently in the vector.
Definition: vector.h:43
Vector * VectorCreate(int capacity)
Creates a vector with a given capacity.
Definition: vector.c:38