首页 > 其他分享 >Programming Abstractions in C阅读笔记:p254-p257

Programming Abstractions in C阅读笔记:p254-p257

时间:2024-01-25 23:44:36浏览次数:26  
标签:Abstractions p254 p257 Programming https com

《Programming Abstractions in C》学习第70天,p254-p257总结,总计4页。

一、技术总结

1.minimax strategy(极小化极大算法)

p255, This idea--finding the position that leaves your opponent with the worst possible best move--is called the minimax strategy because the goal is to find the move that minimizes your opponent's maximum opportunity。

二、英语总结

1.ambiguity是什么意思?

答:

(1)ambiguity < ambiguous。

(2)ambiguous: ambi-(about, around,与...有关的) + agere(drive, lead, act)。adj. having more than one possible meaning。

2.rationally是什么意思?

答:

(1)ration > rational > rationally。adv. in a way that is based on reason and clear thought, rather than emotions(理性地,合理地)。

(2)ration: *re-(to reckon, think)。c. the mental process of reasoning; fixed allowance of food(ratio)。

3.accommodate是什么意思?

答:ad-(to) + com-(intensive prefix,用于强调) + modus(*med, to appropriate)。vt. make fit for。p257, you must modify the approach used in the nim program to accomodate the following extensions。

三、其它

四、参考资料

1. 编程

(1)Eric S.Roberts,《Programming Abstractions in C》:https://book.douban.com/subject/2003414

2. 英语

(1)Etymology Dictionary:https://www.etymonline.com

(2) Cambridage Dictionary:https://dictionary.cambridge.org

欢迎搜索及关注:编程人(a_codists)

标签:Abstractions,p254,p257,Programming,https,com
From: https://www.cnblogs.com/codists/p/17988435

相关文章

  • P2572 [SCOI2010] 序列操作 题解
    题解:序列操作比较综合的ds题,综合了线段树常见的几种操作:维护最大子段和、区间翻转、区间求和、区间覆盖。维护子段和常见的我们维护三类东西:前缀最长连续段、后缀最长连续段、当前区间上的最大子段和。在pushUp时,对于一个区间的前后缀最值首先等于左右子树的最长前后缀,......
  • Programming Abstractions in C阅读笔记:p246-p247
    《ProgrammingAbstractionsinC》学习第68天,p246-p247总结,总计2页。一、技术总结本章通过“thegameofnim(尼姆游戏)”,这类以现实生活中事物作为例子进行讲解的情况,往往对学习者要求比较高,需要学习者具备一定的人文、历史知识或专业知识,如果缺乏这方面的知识,就会导致读者在......
  • Programming Abstractions in C阅读笔记:p235-p241
    《ProgrammingAbstractionsinC》学习第66天,p235-p241总结。一、技术总结1.backtrackingalgorithm(回溯算法)(1)定义p236,Formanyreal-worldproblem,thesolutionprocessconsitsofworkingyourwaythroughasequenceofdecisionpointsinwhicheachchoicleadsyo......
  • (15-418)Lecture 3 Parallel Programming Abstractions
    抽象VS实现实例:ISPC程序ISPC是一种SPMD(singleprogrammultipledata)编译器。利用ISPC编写的计算sin(x)的程序如下图:ISPC提供了一种抽象,当调用ISPC函数时(即程序中调用sinx的语句),会产生一个gang,这个gang含有多个ISPC实例,每个实例会执行自己的代码,当每个实例都执行完后,恢复原先......
  • Programming Abstractions in C阅读笔记:p196
    《ProgrammingAbstractionsinC》学习第63天,p196总结。涉及到编程之外的知识,依然是读起来很费劲,需要了解作者在书中提到的人物(EdouardLucas)、地点(Benares)、神话传说(Brahma)等等。虽然深知自己做不到对人文知识,历史知识精通,但也希望能记住,从而在下次遇到的时候能够阅读下去,......
  • Programming Abstractions in C阅读笔记:p202-p234
    《ProgrammingAbstractionsinC》学习第65天,p202-p234总结。一、技术总结完成第五章学习,第五章介绍递归在实际问题中的进一步应用,例如汉诺塔问题,数学中的排列问题,更有难度。使用递归解决问题时有时候需要借助wrapperfunction。二、英语总结1.scrabble是什么意思?答:*sker-("tocu......
  • Programming Abstractions in C阅读笔记:p202-p234
    《ProgrammingAbstractionsinC》学习第65天,p202-p234总结。一、技术总结完成第五章学习,第五章介绍递归在实际问题中的进一步应用,例如汉诺塔问题,数学中的排列问题,更有难度。使用递归解决问题时有时候需要借助wrapperfunction。二、英语总结1.scrabble是什么意思?答:*sker-(......
  • Programming abstractions in C阅读笔记:p184-p195
    《ProgrammingAbstractionsInC》学习第61天,p184-p195总结。一、技术总结1.mutualrecursion2.naturalnumber(1)定义p184,Ifyoulimitthedomainofpossiblevaluestothesetofnaturalnumbers,whicharedefinedsimplyasthesetofnonnegativeintegers.3.最大公约......
  • Programming Abstractions in C阅读笔记:p196
    《ProgrammingAbstractionsinC》学习第63天,p196总结。涉及到编程之外的知识,依然是读起来很费劲,需要了解作者在书中提到的人物(EdouardLucas)、地点(Benares)、神话传说(Brahma)等等。虽然深知自己做不到对人文知识,历史知识精通,但也希望能记住,从而在下次遇到的时候能够阅读下去......
  • 解题报告 P2572 [SCOI2010] 序列操作
    P2572[SCOI2010]序列操作线段树。首先对于一个区间,我们需要存储\(8\)个量来保证算出答案:\(1\)的个数,\(0\)的个数,最左边连续\(1/0\)个数,最右边连续\(1/0\)个数,区间内最长连续\(1/0\)个数。可以如下定义一个节点:structnode{ intcnt1,cnt0,ls1,ls0,rs1,rs0,ss1,s......