swarm-support
[Top][All Lists]
Advanced

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

Re: defobj follow up/ Reflective objects


From: Marcus G. Daniels
Subject: Re: defobj follow up/ Reflective objects
Date: 05 Jun 2000 10:32:07 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "PJ" == Paul E Johnson <address@hidden> writes:

PJ> The ASM revision I'm working on now and then has fairly
PJ> complicated data management needs. I'm looking for a nice way to
PJ> grab all floats, ints, out of a class and write them into a file.

To be concrete, ASMBatchSwarm, ASMModelSwarm, Specialist, World, and
BFagent seem to be the classes that will cause trouble with serialization.

What I propose is to separate scalar configuration information from
output data from bookkeeping objects in each class such that there is
a ASM{Batch,Model}Swarm{Input,Output}Parameters, etc. class that ends
up being an ivar in the original/parent, non-*Parameters class.  Then
the *Parameter classes can be saved using shallow serialization and
directly manipulated in R.

Classes like BFagent would need be restructured to use classes instead
of structs, and Swarm collections instead of malloced arrays.

                  ==================================
   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]