Agent & Network #25
-
Hi there! Thank you again for producing such a nice tool! I am a Master's Degree first-year student working on computational models. I am trying to use your virus spread model to apply it to pathogenic molecules in a network. I have "normal" proteins or "misfolded" proteins present in my model.
Most of those questions are related to my understanding of an agent itself I guess. I did not see this topic in the discussion before so I hope it could help others too. Thanks again for this amazing library! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Thomas-Paul-Fr! Your thesis sounds very interesting! Both of your questions should be possible, but there is no example for it yet in the model library (maybe your model could be added later on if you are interested). Regarding question 1, if you look at the reference of Regarding question 2, you can use |
Beta Was this translation helpful? Give feedback.
Hi @Thomas-Paul-Fr! Your thesis sounds very interesting! Both of your questions should be possible, but there is no example for it yet in the model library (maybe your model could be added later on if you are interested).
Regarding question 1, if you look at the reference of
Network.add_agents()
, you can see that you can add multiple agents to the same AgentNode in the network. You can access these nodes viaNetwork.nodes
, each being a set from which you can select agents.Regarding question 2, you can use
Network.add_agents()
at every time-step, so it should be easy to add agents as you go.