• When I call this class definition, it calls init, init and I give it an x and a y value.

    我说过,当我们,调用这个类的定义的时候,它会去调用。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Or another way of thinking about it, is remember I said when I call that class definition it creates an instance, that's a pointer to some spot in memory that's got some local information around it.

    也就是一个指向,内存中某处的指针,这个地方存有一些,这个实例的信息,浅意义的相等也就是说,看看这两个东西是不是。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • But let me write that definition again, using or making use of the notation from the class.

    但是现在我们用这些符号来,重新作一下优势策略的定义

    耶鲁公开课 - 博弈论课程节选

  • In every regime one of these groups he says will be the dominant class will be the dominant body the ruling body as he says in that definition and that ruling body will in turn he says define the nature of the regime.

    他说,在每一个政体之中,这些类组中的一类将会是统治阶级,支配本体,统治本体,如他所说,在那样的定义之下,统治本体将会相对地定义政体的本质。

    耶鲁公开课 - 政治哲学导论课程节选

  • One of the things that I defined inside my class definition here was an internal method.

    就是这里的内部方法,这个方法有个名字,这很明显,那么这个方法。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And is able to then say, inside of that class definition, find the value of x.

    这个类的定义这里然后取值,也可以这么说,在类的定义的里面。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • OK, the reason I'm saying this is, we have one class definition, is a cookie cutter, it's a template that's going to let us build versions of these things.

    同一实例,好,我为什么要说这个的原因是,我们学习了类的定义了,这就像曲奇成型刀一样,它是个让我们建立不同版本的,这些东西的一个模板。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • I have a class definition.

    所有的那些内部的定义。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Notice in the class definition here, is there, this is the first thing that's got called, and I just called with the value for x and the value for y, and it went off and did something for me.

    就在这里,这是第一个被调用的东西,我用x的值和y的值调用了它,然后这个方法继续进行,并为了做了一些操作。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So another way saying it again is, when I call the class definition, by default I'm going to look to see is there an init method there, and if there is, I'm going to use it.

    当我调用类的定义,默认的是语言要去查看,是不是有个init的方法,如果有的话,程序就会调用它,按照惯例。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So the first lesson of the class, and there are going to be lots of lessons, that emerges immediately from the definition of a dominated strategy and it's this.

    这节课的第一个结论,以后我们会总结更多的结论,从严格优势博弈概念里总结出来的,结论是这样的

    耶鲁公开课 - 博弈论课程节选

  • For now the way to think about this is, cp2 when I call that class definition, it goes off and allocates a specific spot in memory that corresponds to that instance.

    这个语句所做的,就是建立了,这个类型的实例cp1和,这个类型的特定版本,现在你们可以这么认为。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Now that definition, if you're worried about what I've written down here and you want to see it in words, on the handout I've already put on the web that has the summary of the first class, I included this definition in words as well.

    对于这个定义,如果你还有些疑问,而且你想看用文字表述的,在讲义中有,我已经上传到网上了,里面有第一节课的总结,也这个定义的文字形式

    耶鲁公开课 - 博弈论课程节选

  • When I call the class definition, that is I call c point, I'm going to call it with a specific set of arguments.

    来创建实例的时候,也就是调用c,point的时候,我会以一个特定的参数集来调用它,然后将要发生的就是init将会被应用。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定