¡@

Home 

c++ Programming Glossary: intersectionsize

Fast intersection of sets: C++ vs C#

http://stackoverflow.com/questions/1060648/fast-intersection-of-sets-c-vs-c-sharp

int theSet theSet.insert set1.begin set1.end int intersectionSize 0 vector int const_iterator set2_end set2.end for vector int.. set2_end iterator if theSet.find iterator theSet.end intersectionSize return intersectionSize int runIntersectionTest const vector.. theSet.find iterator theSet.end intersectionSize return intersectionSize int runIntersectionTest const vector int set1 const vector int..