And when you have an optimal substructure and the local solutions overlap, that's when you can bring dynamic programming to bear.
当你得到一个最优子结构,但局部解决方案有重跌时,你就可以引入动态编程,来解决这个问题了。
And like, when I saw it, I mean, it was really not a choice, like...
当我看到耶鲁大学提供的补助方案的时候,它并不是个选择性问题,因为……
The notion here is that you can get a globally optimal solution from locally optimal solutions to sub-problems.
这里的概念是你可以通过,子问题的局部最优方案,得到全局优化解决方案。
That was an interesting situation where the project of one group of students was in fact a great solution for the product of another group of students.
这种情况很有趣,一组学生的项目,实际上就是另一组学生,推出的产品的解决方案。
Well, if intuitively the problem is the result of dividing an int by an int, surely a solution is: "Don't do that," right?
好的,直观地看,如果那个问题的原因是因为整型数除以整型数的话,无疑有个解决方案是:“不要那样做“,是吗?
Namely, that he was concerned about inequality, about some people doing badly, and he proposed an economic alternative that would pool risks.
换句话说,他也关心不平等现象,关心生活艰苦的人们,并且提出了另一种经济方案,来汇聚风险。
So I don't know if part of the solution has to be exposure?
所以我想知道,让人们感受到贫困,是否也是解决方案的一部分?
I guess it's called what the national reconciliation programme? Yes.
我想这应该是民族和解方案,是的。
And then an interpolation scheme.
然后要做个插值方案。
Not only is it a good compromise.
不仅仅因为它是个折中的方案
Plato's famous answer to this is that this city, any city will never be free of conflict, will never be free of factional strife until, in his famous formula, kings become philosophers and philosophers become kings.
柏拉图最著名的回答是,这座城,或任何一座,都将免不了冲突,或是派系斗争,直到施行其著名的方案,国王成为哲学家,哲学家亦成王。
So what is shown here is the potential solution to potentially read out neural signals dragged from the brain and use these signals after some interpretations or decrypting if you will to drive prosthetic arms or computer cursors on the screen.
大家现在看到的是一种可能的解决方案,有助于解读病人大脑发出的神经信号,同时在经过翻译或者解码之后,使用这些信号,驱动假臂,或者电脑屏上的光标。
And developing a... kind of plan for what to do if there's a disagreement beforehand.
提前制定一套应对矛盾的方案。
And today I'm going to suggest two--actually, well, yes two additional contexts that we can look to, to read the novel.
今天我想为你们提供两种参考方案,事实上是,两种额外理解小说语境的方法。
At the same time you will get not just the second or third implementation of a good idea funded.
同时你得到的又不仅仅是对新想法的,二手或者三手实施方案。
But, given that, they're about the best we have and our best judge about what people might eat.
但尽管如此,这些大概还是目前的最佳方案,也是目前对饮食最合理的评价标准了
Why isn't this a solution?
为什么还不能算作一种解决方案呢
So things that are good candidates for divide And conquer are problems where it's easy to figure out how to divide down, and the combination is of little complexity.
因为适合用分治算法解决的问题,最好是能够简单的将问题进行分解,并且合并的过程不是非常的复杂,只要比线性方案要小。
An entry is made in the memo whenever an item, memo and an available size pair is considered.
每当选择一件物品和考虑,一种可行的方案时,都会访问。
Something like this. That would be perfectly fine interpolation. All right, we choose to have a linear interpolation.
这种插值的方法也是完全可行的,好,现在我们决定使用,线性插值的方案。
The simplest way to express this proposal in a block diagram is that we take sense of this information into the brain.
要以图表的形式解释这种方案最简单的方法,即将这一信息传给大脑。
Correctness just doesn't do what it's supposed to do but then also design and design is one of those things it's a little harder to put your finger on initially, but it really is something to bear in mind especially toward terms end when you tackle your own final projects.
正确性“,就是有没有做应该做事情,然后是“设计“,刚开始时,“设计“相对来说比较难一点,但是这是直到这个学期末,都要记住的东西,当你处理的自己的最终方案时。
So in this case, the communication worked but am I right in thinking that the communication isn't such an instant solution as it was in the game we saw last time?
在这个博弈中,交流起到了作用,但是能说这和上一讲的博弈一样吗,交流并没能直接给出解决的方案
What caused it? It was caused maybe it's oversimplifying it it was caused by a change in our resolve to let's get inflation under control - and a willingness to accept the recession to stop the advance of inflation.
是什么引发了它,它是因为-也许过分的单纯化它,它是由于一个为了,让我们将通货膨胀控制在手中的解决方案,和一个接受经济衰退的愿望,结束通货膨胀的继续上涨所导致的。
STUDENT: So, how do you come to a conclusion as to which you should use then, if you can determine the size based on solution, or based on input, so how do you decide?
学生:所以,你怎样决定你该用,哪个来算呢?现在如果你可以选择是,基于解决方案的大小,还是基于输入的大小,你应该怎样决定呢?
But as I'll mention in a few minutes, there are possible schemes that one can follow to get you to the goal line as well.
但正如我几分钟之前所提到的,还有很多可行性方案可以遵循,同样会让你很健康
So, an alternative to that that is incredibly common in just the programming world and in industry is to actually not write programs on your own personal computer but to actually write and run them on a server, someplace where the software is all standardized.
那么,在编程界和工业界普遍,使用的一个解决方案是,不在你自己的电脑上写程序,而是在服务器上编程运行,服务器上的软件都是标准化的。
And now we've got 5 pounds available.
现在我们已经找到,装这5磅的合适方案了。
We're exhausting all possibilities. And then choosing the winner. Well, that's what the slow thief tried. Unfortunately it took so long that before he finished the owner returned home, called the police and the thief ended up in jail.
我们穷举了所有可能方案,然后选择最优方案,这就是动作慢的贼的方案,不幸的是它在失主回家之前,要花上了太长的时间。
So far, this looks like the winner.
到现在为止这个方案,看上去是冠军。
应用推荐