Skip to content

Using GAMA for Predictive and Adaptive Simulations #387

Answered by lesquoyb
GamaDevp asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

For your first question I'm not really sure what you mean, I think you could simply sort the roads by their current levels or apply whatever decision algorithm you think is relevant to your model ?

For the second question, the most versatile way to do it is probably to use the network capabilities of agents (see this), using "localhost" address in case both your simulation and external algorithm are on the same computer. This way you could have agents in the simulation sending data to your external algorithm, and then the external algorithm sending back decisions or learning from it.
This solution has been experimented multiple times already and is proven to be reliable, though the…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GamaDevp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants