不论高手不高手,如果能够把这个东西看懂不想得分都很难
刚从网上认识一个大家的女孩,她告诉我她们的一道平时作业,反正我的C语言已经忘得差不多了,现在用的是Delphi,所以如果哪位想看看现在的大学怎么样看看这道题吧!按要求或者是调试正确者肯定给分,我这个人没有不结贴的习惯。
其题目要求如下:(现在学校可能升级了,连题目全都用英文了)
Modify take_e.c, the exhaustive search version of the game take, to use alpha-beta pruning and the optional argument that specifies a maximum lookahead depth.
Provide detailed inline documentation of all modifications, starting all your comments with /*! and ending them with !*/.
You will be evaluated on the
* correctness of your implementation of alpha-beta pruning
* correctness of your implementation of maximum lookahead
* quality of your functions for estimating the value of a non-terminal node
* understanding of the task demonstrated by your inline documentation
The submitted code must compile under Turbo C.
程序代码在下边,因为csdn不准贴子太长