my_plot <- one_of(plot where(empty(agents_inside(each))));
global {
int init_goat_population <- 899;
init {
create goat number: init_goat_population;
}
}
grid plot height: 30 width: 30 {
}
species goat {
plot my_plot;
init {
my_plot <- one_of(plot where(empty(agents_inside(each))));
location <- my_plot.location;
}
aspect default {
draw circle(1.0) color: #blue;
}
}
experiment e {
output {
display biomass {
grid plot lines: #black;
species goat;
}
}
}
--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To post to this group, send email to gama-p...@googlegroups.com.
Visit this group at https://groups.google.com/group/gama-platform.
For more options, visit https://groups.google.com/d/optout.