对于这个函数,我们再次使用了一个简短的闭包注释。
For the function, we are once again using the shorthand closure notation.
没有形参的f 函数和有两个int 型形参的f 函数对于这个函数调用来说都不可行。
The function that has no parameters and the one that has two int parameters are not viable for this call.
因此在这个可行域中有多个点对于目标函数来说会产生相同的值。
So there are multiple points in the feasible region that yield the same value for the objective function.
For this sprite only, means local, only this function, only this script can use this variable, make this variable for all sprites, meant it was global.
对于只为一种精灵,意思是局部的,只有这个函数中,这个脚本中才可以用这个变量,这个变量为全部精灵而创建,意思是这个变量是全局的。
应用推荐