swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nested Maps?


From: Daniel Calhoun
Subject: Re: nested Maps?
Date: Mon, 2 Aug 1999 22:25:50 -0700

To: Marcus G. Daniels 

From:  Dan Calhoun
address@hidden

You answered my query with your code for Maps of Maps of Lists --

> DC> Are there any publicly available examples of code for nested Maps
> DC> (or nested Lists)?
> 
> The addAgent:X:Y: method is an example of how you might update
> such a data structure.  The data structure is a Map of Maps of Lists.
> Something like this might be useful if you had a very sparse
> space and you wanted to be able to look at the particular agents
> in a given row.
  
and so forth.  

Thanks very much.  The code turned out to be relevant and effective (and
also pedagogically helpful, though I won't claim that anything has redeemed
my own code from kludge).

-- dc

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]