|
From: Nick C. <vze...@ve...> - 2001-12-16 17:54:26
|
Ah, I seem to remember you saying something about aspects during your MAML presentation at the SwarmFest in L.A.=20 I agree. The aspect stuff should be as nearly completely hidden as possible. Nick On Sat, 2001-12-15 at 11:13, Laszlo Gulyas wrote:Hi, I must be growing old or something. We used aspect oriented=20 programming of some sort in MAML a few years ago, and I was quite excited about it. But for some reason, the thought has=20 never occured me to use it for the space issue, even though=20 I am still subscribed to the AspectJ mailing list. (We used aspects for the separation of the model and the=20 observer in MAML. For details, see:=20 L=E1szl=F3 Guly=E1s, Tam=E1s Kozsik: =84The Use of Aspect Oriented Programm= ing=20 in Scientific Simulations", Proceedings of the 6th Fenno-Ugric Symposium on=20 Software Technology (FUSST'99), August 19-21, 1999 Estonia.=20 http://www.sztaki.hu/~gulyas/Papers/AOPSS.zip) I think, this could be a very good approach to our problem with spaces, but one that needs careful implementation. I mean, we should keep it as transparent to end-users as we can. (They'd almost certainly run away if we start talking about aspect before they actually grabbed the concepts of object-orientation... ;-)) Just my 2 cents. Gulya At 09:49 AM 12/15/01 -0500, Nick Collier wrote: Hi, =20 Tom told me ages ago that I should take a look at some aspect oriented programming material and I finally did. I've been reading the docs that come with aspectj (http://www.aspectj.org). It looks like AspectJ's "introduction" might be a way to add some the functionality we are looking for, particularly with respect to spaces.=20 =20 What I'm thinking here is that we want agents to know about their spaces and act within them without the modeler doing so explicitly. The point being that agent mobility and spatial relationships can be seen as a kind of role (thanks David!) that cuts across agent hierarchies. The hierarchy expresses some model specific behavior or at least the behavior that is the point of the model. Mobility and spatial relationship are a means to achieving this behavior. Gulya has written about this previously, better than I have here so see the archives for more.=20 =20 So, does any one have any experience with aspectj or aspect oriented programming? Is this a crazy idea? It does make compilation more complicated by we can easily solve this with a batch or shell file for compilation. =20 Comments? =20 Nick =20 --=20 Nick Collier=20 Social Science Research Computing University of Chicago=20 http://repast.sourceforge.net =20 =20 =20 _______________________________________________ Repast-developer mailing list Rep...@li... https://lists.sourceforge.net/lists/listinfo/repast-developer -- Laszlo Gulyas, MSc Phone: (617) 384-9216 =20 Government Department Weatherhead Center for International Affairs Harvard University 602C Coolidge Hall =20 1737 Cambridge street Cambridge, MA-02138 --=20 Nick Collier=20 Social Science Research Computing University of Chicago=20 http://repast.sourceforge.net |