parQHV
Compute HyperVolumes using threads
 All Data Structures Files Functions Variables Macros
unionFilter.h File Reference

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

#include "tdata.h"
Include dependency graph for unionFilter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void initUnion (int n, struct unionData *ud)
 
void finishUnion (struct unionData *ud)
 
void resetUnion (struct unionData *ud)
 
int member (int i, struct unionData *ud)
 
void insertUnion (int i, struct unionData *ud)
 

Detailed Description

Structure for uniting two sets, without repetition.

Author
Luis Russo <lsr-ThinkPad-X201>
Date
Thu Mar 1 16:09:11 2012

Definition in file unionFilter.h.

Function Documentation

void finishUnion ( struct unionData *  ud)

Finish the Union data structure

Definition at line 66 of file unionFilter.c.

void initUnion ( int  n,
struct unionData *  ud 
)

Initial procedures

Parameters
nMaximal number of elements

Definition at line 49 of file unionFilter.c.

void insertUnion ( int  i,
struct unionData *  ud 
)

Insert this element into the current set

Parameters
iThe element

Definition at line 93 of file unionFilter.c.

int member ( int  i,
struct unionData *  ud 
)
Parameters
iThe element
Returns
True if i is an element of the set

Definition at line 88 of file unionFilter.c.

void resetUnion ( struct unionData *  ud)

Set the object for the empty set

< List of members

< Hash of presences

Definition at line 72 of file unionFilter.c.