Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

bool* Impala::Util::MakeUnion ( bool *  set1,
bool *  set2,
int  size 
)

returns a new filter that is the union of the two input filters

Definition at line 39 of file FilterOperations.h.

00040 {
00041     bool* result = new bool[size];
00042     for(int i=0 ; i<size ; ++i)
00043         result[i] = set1[i] || set2[i];
00044     return result;
00045 }


Generated on Thu Jan 13 09:24:05 2011 for ImpalaSrc by  doxygen 1.5.1