Turtle and Observer Command

min-of-frogs-with pred-ilist ilist

Reports the lowest value of ilist when run over the turtles of breed frogs that satisfy pred-ilist. If there are no frogs in which pred-ilist is true, returns maxnum, the largest number possible without going into positive infinity. Note: This command can also be executed by patches, for example within an ask-patches statement.

Related commands: