8 |
8 |
9 representatives = {} |
9 representatives = {} |
10 |
10 |
11 regions = parse_regions(sys.argv[2]) |
11 regions = parse_regions(sys.argv[2]) |
12 bus_stops = {} |
12 bus_stops = {} |
13 block_factor = 0.01 |
13 block_factor = 0.005 |
14 |
14 |
15 class Blockmap: |
15 class Blockmap: |
16 def __init__(self, default = None): |
16 def __init__(self, default = None): |
17 from collections import defaultdict |
17 from collections import defaultdict |
18 self.blocks = default or defaultdict(set) |
18 self.blocks = default or defaultdict(set) |