|
From: Nick C. <vze...@ve...> - 2001-12-15 14:55:10
|
Hi, 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. 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. 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. Comments? Nick -- Nick Collier Social Science Research Computing University of Chicago http://repast.sourceforge.net |