swarm-modeling
[Top][All Lists]
Advanced

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

Re: polymorphism (was compare swarm with repast)


From: Russell Standish
Subject: Re: polymorphism (was compare swarm with repast)
Date: Tue, 13 Aug 2002 15:04:36 +1000 (EST)

One scenario I can think of is setting up proxy objects to represent
another object living in another processes address space. Method
invocations, etc. need to be passed via the proxy, so the proxy needs
to be able to handle rather unexpected sorts of messages. Objective C
can do this sort of thing standing on its head. I need to do this sort
of thing in C++, but I'm not sure I have the problem licked (but I
have a few techniques I'd like to try).

Marshall, James A R wrote:
> 
>   Has anyone on the list ever found a modelling problem where they have to
> pass messages to objects that they are not sure can respond to them? I never
> have, perhaps because of my training as a functional programmer, or perhaps
> because my modelling domains are normally simpler or better defined than the
> example Glen cites below, which I think is a very ambitious one!
>   Well, this is something that has been on my mind since I started using
> Swarm over 4 years ago, so I look forward to some good examples!
>       James
> 
> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Sent: 12 August 2002 17:01
> To: address@hidden
> Subject: Re: polymorphism (was compare swarm with repast)
> 
> How important this is to modeling is left as an exercise to the 
> reader.  (Hint: Do you think two humans know a-priori which methods
> the other responds to? ;-)
> 
> 
>                   ==================================
>    Swarm-Modelling is for discussion of Simulation and Modelling techniques
>    esp. using Swarm.  For list administration needs (esp. [un]subscribing),
>    please send a message to <address@hidden> with "help" in the
>    body of the message.
>                   ==================================
> 



----------------------------------------------------------------------------
A/Prof Russell Standish                  Director
High Performance Computing Support Unit, Phone 9385 6967, 8308 3119 (mobile)
UNSW SYDNEY 2052                         Fax   9385 6965, 0425 253119 (")
Australia                                address@hidden             
Room 2075, Red Centre                    http://parallel.hpc.unsw.edu.au/rks
            International prefix  +612, Interstate prefix 02
----------------------------------------------------------------------------


                  ==================================
   Swarm-Modelling is for discussion of Simulation and Modelling techniques
   esp. using 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]