"I hope they are how I left them. Because if they have oil in them, they are going to stay there.
VOA: standard.2010.05.06
If I left it as just 9, odds are I would very often get what answer?
如果我使它保持是9,我可能得到,哪个答案?
Pick a time. Let's say, if I go a quarter of a circle, I expect to be moving to the left.
选一个时间,例如我走四分之一圈,我想向左走
And we've already agreed that if I think it's equally likely they're going to choose right and left, that there's a probability ?
而且我们已经计算过了,如果我觉得对手,选左选右的概率相同,即他们选右的概率为1/2时
If it's a white American or a good word, I want you to shout out "left."
如果是白人,好词,你们就大喊”左“
It says, well I'm going to print out first and last just so you can see it, and then I say, gee 2 if last minus first is less than 2, that is, if there's no more than two elements left in the list, then I can just check those two elements and return the answer.
然后它计算了尾点和开始点的差,如果小于2的话,也就是说数组中的元素小于等于,我对这两个元素进行比较,然后返回结果就可以了,否则的话,我们就去寻找中值点,注意它是怎么实现的,首先这个指向一个列表的开头。
So if I shoot to the right and the goalie dives to the left, then I score with probability point 9 or my payoff is 9.
如果我从右路射门而门将扑向左路,我进球的概率是90%,即收益是9
Let's look at my payoffs from choosing these three options Up, Middle, and Down, if I think it's equally likely that my opponent will choose Left and Right.
我们来看一下我从上中下这三个策略中,分别能获得什么样的收益,如果我认为我对手,选择左或右的可能性相同
Now, the decision tree, if I branch left, it's a binary tree.
现在,这个决策树,如果我走左边的分支,这是一棵二叉树。
So I could be 10 km from home, I could be 0 km from home, or I could be -10, if I'd gone two steps to the left.
我有可能距营地10公里,也可能是0公里,也可能是 -10,如果我两次都是向左的话
And we know that Down does best if I think it was equally likely that the person was going to choose Left and Right.
我们还知道如果我们认为对手,选左或者是右的可能性相同的情况下,下是此情况下最好的策略
If I shoot to the left and the goalie dived to the right, then I score 90% of the time, so my payoff is .9.
如果我从左路射门而门将扑向右路,那我有90%的概率进球,即我的收益就是9
So if the other person's choosing Right with probability 0, that's the same as saying they're going to choose Left, and if I chose Middle against Left, I get what?
如果对手选右的概率是0,也就是说对手选左,此时我选中的收益是什么
If I thought there was 2/3 probability they'd choose Left and 1/3 probability they'd choose Right, then I think it's twice as likely they're going to choose Left, and I could redo this calculation.
如果你觉得对手选左的可能性是2/3,而选右的可能性是1/3,即对手选左的可能性是右的2倍时,我们再重新计算一下
So it turns out that, as the gentleman out there said, if I thought it was equally likely that my opponent was going to choose Left or Right, then actually my best choice, my best response is to choose Down.
这个结果和刚才那位先生说的,如果我觉得我对手,选择左或右的可能性相同的话,这时候最好的选择,也就是说我的最佳对策是选下
If I shoot to the left and there's no probability of the goalie diving to the right, which means that they dive to the left, then my payoff is 4, meaning I score 40% of the time.
如果我从左路射门,而门将不会去扑向右路,也就是说他会扑向左路,此时我的收益是4,也就是说我进球的概率是40%
If I make a little chart here, iters left I've got x, y, and iters left.
让我在这里画个小图,我有三个变量,x,y和。
For instance, if Player II picks left then Player I wants to pick bottom, but if Player II picks center, Player I wants to pick center.
例如,参与者II选择左,参与者I会选择下,但是若参与者II选择中,参与者I会选择中
So the payoff here is something like u1 if the goal keeper dives to the left is equal to 4, by which I mean there's a 40% chance of scoring.
收益u1表示门将扑向左路时,罚球者从左路进攻的收益是4,也就是说球被射入球门的概率是40%
应用推荐