Thus far, for us it's been testing individual functions. Later in the term we'll talk about unit testing of classes.
至今为止,我们用到单元测试的地方,就是测试每个单独的方法,在后面我们会讲到类的单元测试。
What's the complexity of this decision tree solution? Well, in the worst case, we're enumerating every possibility of in and out.
决策树解决方法的复杂度是多少?,在最糟的例子中得列举,所有可能的输入和输出。
But as part of a more rigorous introduction to understanding how the machines work and writing programs at this lower level.
作为一种,理解电脑工作机制,和在低平台上编程的入门方法。
I approach it the way a few other philosophers do in a way that is characteristic of conceptual analysis.
我研究电影的方法其他一些哲学家也在使用,这种方法,以概念分析为特点。
One way is to allow these bacteria to grow on a plate that is loaded with antibiotics like Ampicillin.
一种方法,是让这些细菌,在有大量抗生素如氨苄青霉素,的培养基上生长
Most of what we do these days, our methods, our theories, our ideas, are shaped, to some extent, by Piaget's influence.
我们这些天所讲的,各种方法,理论,思想,它们的形成都在一定程度上,受到了皮亚杰的影响
And then the magic is really finding the right solution in the middle that combines all these needs and desires and wishes the customer has with all the technology ingredients.
关键在于,找出,中和二者方法,使其既合乎顾客需求,又在技术上可行。
So, either of those ways of figuring this out is the first guess of what goes in the middle will work pretty well.
因此,用上述任何一种方法来初步,估计哪个原子应该在中间都是相当好的。
Therefore, the pedagogical techniques that we use in teaching "Listening to Music" Are virtually identical to those that we use in teaching language.
因为,我们在本课中运用到的教学方法,基本上和在语言教学中用到的方法,是一样的
Hobbes is the, again, the great founder of what we might call, among others, is the experimental method in social and political science.
霍布斯是伟大的奠基者,是我们所说的,在科学和政治科学的实验方法上的奠基者。
That pedagogy is very interactive in this five hours we have in this classroom.
这种教学方法非常具有互动性,在这课堂的五个小时里。
If we're going to have a way to decide between these two theories, it seems as though we need some other kind of arguments.
如果我们非要找个方法在两个理论之间取舍,那看来我们需要别的论据。
A lot of the way I think about marketing is through the product itself.
我想到的多数营销方法,集中在产品自身这一媒介上。
We inhabit the bubble that's created in that way.
我们居住在用这种方法创造的一个水泡中。
What I suggest we do is we do what we did last time and we start to draw a picture to figure out what my expected payoff is, depending on what I believe the goalie is going to do.
我建议用上次的方法,作图来表示在我对门将的策略,存在某种信念下,我的预期收益
Well if I-- you know, with let me say it differently. I don't need to worry about how checking is done, it's handled inside of that function.
好,如果你们知道,抱歉,让我们换种说法,我不必担心检查工作,是则会么做的,这是在方法体内部进行的。
OK, in each case, what these things are doing, is they're doing, what sometimes gets referred to as operator overloading.
这将会是个默认的或者说是,通用的来比较对象是否相同的方法,好,在每个例子中,这些事情正在做的,就是,一些与操作符重载有关的东西。
Notice the form of it, it's just the name of the class followed by open paren, close paren, treating it like a function.
我该怎么来使用类呢?,好,我可以像调用方法,一样调用类,你可以在下面看到,创建一个名为。
I still have to do this process and here is where the finger thing gets a little more useful 'cause I have longer lists.
我仍需要进行这一步骤,在这儿手指的方法就比较有用,因为,列表比之前的要长。
Another way to explore what the brain does is to consider what happens to people when very bad things happen to their brain.
另一个探究大脑功能的方法,就是在人们的大脑遭受严重损伤时,观察他们的行为变化
And inside of the machine, and things we'll talk about, there is a process that will allow that sequence to be executed as described in that recipe, so it can behave like any thing that I can describe in one of those recipes.
在机器里面,还有我们要说的,里面有一个我们允许的,在方法中描述的,将要被执行的序列的过程,因此它可以像我在方法之中,描述的任意一种那样来表现。
And that's a wonderful thing to have because it gives you that modularity, that encapsulation that basically says, when I create a point, the only way I can get at the values, is by using one of the defined methods, in this case it could be Cartesian, Cartesian and get all the pieces of that.
这是很棒的一件事情,因为它让你有了,模块性以及封装性,这基本上也就是说,当我创建了一个点,我能够得到它的值的唯一的方式,就是用一个定义好的方法,在这个例子中也就是。
Every time they're changing your hand is going down so chord changes may be the most powerful of all of these aspects of where the down beat is.
他们变化的时候你的手势都是向下的,所以在所有的途径当中通过和弦的变化,来判断重拍在哪儿可能是最有效的方法
You can find ways around this.
在这里你们可以找到一些方法。
But since in drawing Lewis structures actually, in some cases you do, you can draw a dotted line that means a 1 and 1/2 bond, but most in most cases, we just draw out both resonance structures, and the way that we say it's a resonance structure is that we put it in the brackets and we put an arrow between it.
但是由于在画路易斯结构时,其实,在某些情况下是可以的,你可以画一条虚线来表示一又二分之一键,但是在多数情况下,我们就把两个结构都画出来,而我们说这是一个共振结构的表示的方法是,把它们放在括号里,并在中间放一个双箭头。
I mean unlike a lot of the courses here and at universities, we really do take a much more individualistic approach and that is to say at the end of the day do we consider both upward trending, both your initial experience and also how you approach the course's projects throughout the course of the semester.
我不希望像其他很多课程或在大学中,我们将会采取更个性的方法,也就是说在当天结束前,我们会同时考虑课程进度,考虑你开始的情况,以及如何进行整个学期的学习,也包括如何通过这门课,来帮助你们完成本学期的课程。
That's a lot of the literature of stem cells that you'll read about, taking a particular source of stem cell and nurturing it in such a way that it gains potentials that it didn't have necessarily when it was in the body, or exploiting those potentials that it wouldn't necessarily express.
现在你可以找到很多,有关干细胞的文献中讲到,提取一种特定来源的干细胞,通过特定的培养方法之后,它们会获得在体内不能获得的潜能,或者开拓一些在体内不能得到表达的潜能
The study of what you don't need your brain to do has often drawn upon this weird methodology where— This was actually done in France a lot where they would decapitate people and when— After they decapitated people, psychologists would rush to the body of the headless person and sort of just test out reflexes and stuff like that.
对那些无需大脑参与行为的研究,经常会用到一种古怪的研究方法,实际上这种研究曾在法国出现过多次,因为在法国,犯人会遭到斩首,当犯人遭到斩首后,心理学家们会冲到无头躯体那里,检验躯体的反射行为,以及一些其他的行为
应用推荐