min-of-patches-with condition [list of commands]
Reports the lowest value of [list of commands] when run over the turtles
that satisfy condition . If there are no patches in which condition
is true, reports 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.
Examples:
Related commands:
|