Hi:
Does anyone know any good data structure and algorithm for searching with multiple predicate.
eg. suppose I have a set of tcp header data (assuming no duplicate). If I were searching for an tcp header of the list by src ip, I could sort the set by src IP and do binary search.
What kind of data structure/algorithm should I use if I want to find a tcp header from the set that matches all of src/dst ip/port? (besides iterating through all of the set)