4297 - FilteredBridgeSplitter - sorting bridges
4297 - FilteredBridgeSplitter - sorting bridges

The FilteredBridgeSplitter sorts bridges into subrings. The subrings
are defined by filter functions. For example, to filter bridges by
ORport > 9000:

def filterBridgesOver9000(bridge):
    if bridge.orport > 9000: return True

Example in context:

d = FilteredBridgeSplitter(key)
d.addRing(BridgeRing, 'Bridges with ORPort > 9000',
		filterBridgesOver9000)

When d.insert(bridge) is called, bridges will be inserted into all
subrings whose filter function returns True.

wfn/bridgedb,pagea/bridgedb,sysrqb/bridgedb,mmaker/bridgedb,wfn/bridgedb,mmaker/bridgedb,pagea/bridgedb