(popul, base = 32, mult = 0.5)
| 42 | print "Cities count: %d" % len(cities) |
| 43 | |
| 44 | def formula(popul, base = 32, mult = 0.5): |
| 45 | #return math.exp(math.log(popul, base)) * mult |
| 46 | return math.pow(popul, 1 / base) * mult |
| 47 | |
| 48 | def avgDistance(approx, data): |
| 49 | dist = 0 |
no outgoing calls
no test coverage detected