Hello everyone.
I would like to create some agents that span over a specific area map.Every 
agent needs to have its own data structures like one or two matrices and one 
list.

I think that the best way to do this is to create objects and every instance of 
an object will be used for a single agent. 

The number of agents is not predetermined and it varies for any execution.
So I read this value from the command line interface and then I would like to 
initiate so many objects as the agents. I think that the best way to do that is 
to create using a for loop a list containing as many objects as the agents are. 


Is it possible to help me do that with R... the tricky part is not only to 
create these objects but also having some nice way to address them... Perhaps 
an 
index i might be used for that.

I would like to thank you in advance for your help

Best Regards
Alex



      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to