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

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

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

Definition at line 17 of file FilterOperations.h.

Referenced by Impala::Core::Feature::SplitSet().

00018 {
00019     bool* result = new bool[size];
00020     for(int i=0 ; i<size ; ++i)
00021         result[i] = set1[i] && set2[i];
00022     return result;
00023 }


Generated on Fri Mar 19 11:39:08 2010 for ImpalaSrc by  doxygen 1.5.1