GOBNILP  f164d83
Data Structures | Functions
vectorlist.h File Reference

Function declarations for vectorlist.c. More...

#include "scip/scip.h"
#include "vector.h"
Include dependency graph for vectorlist.h:
This graph shows which files directly or indirectly include this file:

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...
 
VectorListVectorListCreate (int capacity)
 Creates a vectorlist with a given capacity. More...
 
void VectorListDelete (VectorList **vl)
 Deallocates the memory associated with a vectorlist. More...
 

Detailed Description

Function declarations for vectorlist.c.

Function Documentation

◆ VectorListAppend()

void VectorListAppend ( VectorList vl,
Vector item 
)

Appends an item to the end of a vectorlist.

Parameters
vlThe vectorlist to extend.
itemThe item to add.

References VectorList::items, and VectorList::size.

Referenced by circuit(), and findStronglyConnectedComponents().

◆ VectorListClear()

void VectorListClear ( VectorList vl)

Clears all the values from a vectorlist.

Parameters
vlThe vectorlist to clear.

References VectorList::items, VectorList::size, and VectorDelete().

Referenced by CC_findCuts().

Here is the call graph for this function:

◆ VectorListCreate()

VectorList* VectorListCreate ( int  capacity)

Creates a vectorlist with a given capacity.

Parameters
capacityThe maximum capacity of the vectorlist.
Returns
An empty vectorlist.

References VectorList::capacity, VectorList::items, and VectorList::size.

Referenced by PS_splitToComponents().

◆ VectorListDelete()

void VectorListDelete ( VectorList **  vl)

Deallocates the memory associated with a vectorlist.

Parameters
vlThe vectorlist to free.

References VectorDelete().

Referenced by CC_finalise(), and PS_splitToComponents().

Here is the call graph for this function: