We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug In batch experiment, the proposed discret value for the parameter is wrong (with the default sample method).
To Reproduce Steps to reproduce the behavior:
model testsample global { int nb_agents <- 100; float distance <- 5.0; list<simple_agent> neighbors; init { create simple_agent number: nb_agents; } } grid cell width: 100 height: 100; species simple_agent { reflex spatial_computation { using topology(cell) { neighbors <- neighbors + simple_agent at_distance distance; } } } experiment testBatchSimple type: batch until: cycle > 10 repeat: 5{ parameter nb_agents var: nb_agents min: 100 max: 300 step: 100; parameter distance var: distance min: 3.0 max: 5.0 step: 1.0; reflex end_sim { ask simulations { write "End of :" + int(self) + " " +sample(self.nb_agents) + " " + sample(self.distance) + " " + sample(self.cycle); } } }
Expected behavior The values for the distance variable should be: 3, 4, 5, whereas GAMA uses for values: 4, 5, 6
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
AlexisDrogoul
chapuisk
No branches or pull requests
Describe the bug
In batch experiment, the proposed discret value for the parameter is wrong (with the default sample method).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The values for the distance variable should be: 3, 4, 5, whereas GAMA uses for values: 4, 5, 6
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: