So it turns out that the very first one, voters are not evenly distributed is certainly true, it's undoubtedly true.
首相想到的就是,现实中选民是不均匀分布的,这的确是毋庸置疑的
Suppose I want to find all the divisors of some integer, I want to figure out what all the divisors are that go evenly into it.
也就是遍历所有的整数来寻找,一个数的平方根,让我们再来看一个例子吧,为了找出另外一种的解决方法。
So one thing that seems odd about the way we set up this model is that the voters are not evenly distributed.
有一点使我们建立此模型的假设很牵强,即是选民们不是均匀分布的
You try to design actually I'm going to come back to that in a second. It's like you're trying to use a hash function that spread things out pretty evenly. But the places you store into in those lists may have to themselves have a small list in there, and when you go to check something, you may have to do a linear search through the elements in that list.
你尝试着去设计,实际上过会儿我会回头讲解这个问题,类似于你需要用一个哈希函数,非常平均的将物体分发出去,但是在列表中你数据,映射到的地方可能会有自己的一小段列表,当你回头查找数据的时候,你可能需要在那一小段列表中做线性查找。
In product placement, you might think when you're placing a gas station, you might think it would be nice if gas stations spread themselves evenly out over the town or out over the road.
在产品植入领域里,假设你在考虑设立一个加油站,你会想如果加油站,能均匀覆盖城镇每个角落,或者遍布整条公路那该多好
The voters of that position split evenly.
即该立场的选票会被平均分摊
应用推荐