QHV
Compute HyperVolumes sequentially
 All Data Structures Files Functions Variables Macros
unionFilter.h File Reference

Structure for uniting two sets, without repetition. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void initUnion (int n)
 
void finishUnion (void)
 
void resetUnion (void)
 
int member (int i)
 
void insertUnion (int i)
 

Detailed Description

Structure for uniting two sets, without repetition.

Date
Thu Mar 1 16:09:11 2012

Definition in file unionFilter.h.

Function Documentation

void finishUnion ( void  )

Finish the Union data structure

Definition at line 72 of file unionFilter.c.

void initUnion ( int  n)

Initial procedures

Parameters
nMaximal number of elements

Definition at line 53 of file unionFilter.c.

void insertUnion ( int  i)

Insert this element into the current set

Parameters
iThe element

Definition at line 96 of file unionFilter.c.

int member ( int  i)
Parameters
iThe element
Returns
True if i is an element of the set

Definition at line 91 of file unionFilter.c.

void resetUnion ( void  )

Set the object for the empty set

Definition at line 78 of file unionFilter.c.