Now, when we talked about optimization problems in dynamic programming, I said there were two things to look for.
现在,当我们讨论,动态编程中的最优化问题时,我想说有两件事需要注意。
I mean, you have a very dynamic business sector here. You know, it's always changing.
这儿有一个很动态的商业行业。它一直在变化。
And when you have an optimal substructure and the local solutions overlap, that's when you can bring dynamic programming to bear.
当你得到一个最优子结构,但局部解决方案有重跌时,你就可以引入动态编程,来解决这个问题了。
So the heap is a chunk of memory in a computer's RAM that's conceptually allocated to what's called dynamic memory allocation.
堆是在计算机RAM中的一块内存,它可以进行,动态内存分配。
No sooner has the speaker asked this question -- and you see this rhythm, this dynamic, appear continually throughout Lycidas - he asks the question, and then immediately he acknowledges the inadequacy of the question.
刚问完这个问题--这种节奏,这种动态是贯穿《利西达斯》始终的,-刚问完这个问题,弥尔顿又立即承认了,这个问题是不适当的。
But it's always minding that team dynamic because at the end of the day, we're just a group of people working on one single goal If we can't step in a cohesive coordinative fashion, then we're going to trip all over the place.
但是团队动态需要始终放在心上,因为当这一阶段结束后,我们就会成为一群人在为同一个目标奋斗,如果我们不能成为一个相互协调相互统一的整体,那我们就会东扑西扑。
Well, that's a version of what we hear in the poem when we hear the forms of strained relation between Frost's dynamic speech sounds and the metrical pattern of his writing.
这是我们从这首诗中领略到的一种版本,当我们感受到这种紧张的关系,在弗罗斯特的动态的语言音律,和他写作的韵律结构之间。
I am going to say if that electron is to stay in its orbit, that is to say it doesn't flee the atom, it doesn't collapse under the nucleus then the sum of the forces on the electron must be zero No net force. And so that will be the sum of a dynamic force plus an electrostatic.
如果电子会保持在它的轨道上运行,既不脱离原子的话,它就不会由于原子核对它的吸引力而被瓦解掉,电子所受的合力一定为零,由于没有合力,所以电子所受力为动态力和静电力的总和。
What extracellular matrix you have in any particular tissue is there because there's a balance between it being produced by one kind of cell and digested by another, and you're in this sort of state of dynamic equilibrium.
特定组织中,细胞外基质的多少,取决于一个,分泌与降解的平衡,这是一种动态的平衡关系
So when you're trying to think about is this a problem that I can solve with dynamic programming, these are the two questions you ask.
所以当你想知道能否,用动态编程来解决这个问题时,你可以问自己两个问题。
And this is what lies at the heart of this very general technique called dynamic programming.
这也就是动态编程,这种通用技术的核心。
We have just recreated what I could've implemented moments ago with something more dynamic.
再现了之前做过的事情,其中有动态部分。
Unfortunately, we now have lived with it forever, so don't think of it as actually being anything dynamic particularly. It's just a name.
不幸的是,我们现在得一直沿用这个名字了,所以别认为它指的是什么动态的东西,这只是个名字。
In dynamic programming, one of the things that's going on is we're trading time for space.
在动态编程法中我们是在用,空间换时间,除了动态编程法。
That would let us tackle it with dynamic programming.
回答好这个问题我们,就能用动态编程法解决这个问题。
That's a huge improvement. And that's sort of the magic of dynamic programming.
这是一个很大的进步,这也是动态编程的魅力所在。
That gets us to the smart thief. Why is this thief smart? Because she took 600. And she learned 600 that in fact there is a good way to solve this problem. And that's what we're going to talk about next. And that's something called dynamic programming.
现在我们要当聪明的贼,这个贼为什么聪明呢?,因为它选择了,它知道这事实上是解决这个问题的好方法,这就是我们接下来要讲的,也就是动态编程。
A lot of the features you yourself use in Facebook these days are very much dynamic.
许多你在Facebook中使用的,特征功能都是极具动态的。
I don't want to spend the whole weekend implementing just a little pop up calendar and frankly it probably would take at least that long to get something that's as interactive and dynamic as something like this that works across all browsers and so forth.
我并不想花费整个周末的时间来实现,这样一个小的弹出式日历,而且,可能至少还要花那么多时间,从而使它,能够在所有浏览器上都能有良好的交互性并且是,动态的,等等。
So, certainly the CS50 Library designed to be dynamic and, in fact, any time you call get string, we are, in fact, ; allocating a chunk of RAM but it's not coming from the stack; it's actually coming from this portion of memory called the heap.
所以,Cs50库是动态设计的,实际上,每次你调用GetSting时,我们分配一块内存,但它不是来自栈;,而是来自于叫做堆的,内存的一部分。
应用推荐