max-of-turtles-with pred-ilist ilist
Reports the highest value of ilist when run over the turtles that satisfy pred-ilist . If there are no turtles in which pred-ilist is true, returns minnum , the smallest number possible without going into negative infinity. Note: This command can also be executed by patches, for example within an ask-patches statement.
Related commands:
|