如何在netlogo中询问海龟补丁
到目前为止,我一直坚持这一点,但第三行似乎不起作用。有人能解释一下如何向乌龟要补丁吗如何在netlogo中询问海龟补丁,netlogo,Netlogo,到目前为止,我一直坚持这一点,但第三行似乎不起作用。有人能解释一下如何向乌龟要补丁吗 let otherTurtle min-one-of other turtles [distance myself] let otherTurtleHeading [heading] of otherTurtle let otherTurtlePatch [patch] of otherTurtle 你很接近。你想要的是 let otherTurtlePatch [patch-here] of otherTu
let otherTurtle min-one-of other turtles [distance myself]
let otherTurtleHeading [heading] of otherTurtle
let otherTurtlePatch [patch] of otherTurtle
你很接近。你想要的是
let otherTurtlePatch [patch-here] of otherTurtle
patch here
是一个报告程序,它返回海龟所在的补丁,在本例中,返回其他海龟所在的补丁。您很接近了。你想要的是
let otherTurtlePatch [patch-here] of otherTurtle
patch here
是一个报告程序,返回海龟所在的补丁,在本例中,返回其他海龟所在的补丁。感谢工作人员感谢工作人员