And when you have an optimal substructure and the local solutions overlap, that's when you can bring dynamic programming to bear.
当你得到一个最优子结构,但局部解决方案有重跌时,你就可以引入动态编程,来解决这个问题了。
The notion here is that you can get a globally optimal solution from locally optimal solutions to sub-problems.
这里的概念是你可以通过,子问题的局部最优方案,得到全局优化解决方案。
But when you solve the Schrodingerequation, you don't get just a set of solutions that are dependent upon one number.
但当你解薛定谔的方程式时,你没得到有一个统一答案的,一系列解决方法。
You're hiding something from yourself, and once you know what's going on to deeper phenomena your problems will go away.
这些冲突被你压抑起来,一旦你理解了更深层次的冲突究竟是什么,你的问题便会得到解决。
It's a good question, and I think it still stands unresolved in the general understanding of this poem.
这是很好的问题,在这首诗的大体理解上而言,还并没有得到解决。
If it's not clear, the problem is going to be impossible to solve.
问题也就不可能,得到解决。
And that makes it for me a very exciting time to study this because the problems aren't solved in the way that bridge building is largely a solved problem now.
对于我而言,这是一个非常激动人心的时代,因为一百年前桥梁建设中难以解决的问题,在今天都得到了解决
I'll let you chase it through, it does work. What I want to look at is, what's the order of growth here?
我会让你们去运行这个方法的,确实能得到正确答案,我想问的是,这个解决问题的方法的增长率是什么?
Let's quantify the energy value. If you go through and solve for energy, you will get this equation.
我们来确定一下能量值,如果你试图寻找,解决能量问题,你能得到一个方程式。
What you're much better at doing is saying how do I take the problem I've got and map it into a class of algorithms about which I know and use the efficiencies of those to try and figure out how to make it work.
当你碰到问题的时候,更好的方法是把遇到的问题映射,到已经设计好的算法中去,并用这些算法来提高效率,来保证问题得到解决。
5 And all you have is either zero or 15 because that is your resolution.
你说的得到的数据只有0或5,因为这是你的解决办法。
First of all, two parameters. It's OK. All it says is, when I call this, I need to pass in two parameters for this to work. All right? Now, if I want to use that, I'm going to use a second piece of code here, called Barnyard. I'm going Barnyard to read in a couple of values, convert them into integers, and then I'm going to use solve to get a solution out.
注意我得到了什么,第一,两个参数,它的意思就是我调用这个函数,我得给它输入两个参数,明白了吗?,现在如果我要使用它我得用,这里的第二段代码,也叫,我将读入一组值,将它们转化为整型,然后我会用solve得到一个解决方案。
应用推荐