Im a relative noob regarding anylogic but i got a task to do in my homework so here comes my question:
I created a population of agents who are all patients... these patients get ill with a probabilty of lets say 30%... i alrdy implemented this one but now my task is to add a medicine using a new agent for this problem to heal them... but how do I link this new agent with the already existing one? My first agent gets triggered by a message.. therefore we have to use an event sending this message to a first person who gets infected etc..
Can anyone help me how I can create a new agent and link it to the old one to heal the people?
Many thanks in advance!