ding1617 发表于 2016-11-26 10:34:58

编程遇到困难 请帮助

to meet-wolf;; wolf procedure
if count wolves-here >0         
[let otherwolf one-of other wolves-here                     
    if abs ( of self - of otherwolf ) > value-k1
   ]
   [ set of self of self + of otherwolf
   ]
   end
显示otherwolf没有被定义,请各路大神帮忙调整通顺

SsendasX 发表于 2016-12-14 14:58:49

应该是other wolf,,,吧
页: [1]
查看完整版本: 编程遇到困难 请帮助