Thank you for your swift response. I have taken a first look at XStream
and it seems very suitable for what I am planning to do.
On a side note, I ran into the following website, which might have very
well been developed by some other members of this mailing list
I find the JAVA code for the 16 model implementations there extremely
Thanks again for your help.
From: North, Michael [mailto:north@...]
Sent: Friday, December 05, 2008 8:27 PM
To: Uzunangelov, Vladislav; repast-interest@...
Subject: RE: [Repast-interest] Repast newbie in need of help
Thank you for considering Repast! I have included below a few of my
personal thoughts in reply to your questions. Obviously, the decision is
ultimately up to you.
From: Uzunangelov, Vladislav [mailto:vuzunangelov@...]
Sent: Friday, December 05, 2008 12:50 PM
Subject: [Repast-interest] Repast newbie in need of help
I am in the process of developing a JAVA-based model simulating the
distribution of obese patients in a firm. My simulated patients do not
interact at this stage, so my model is not really agent-based, more of a
straight discrete-event simulation. My initial inclination was to model
it directly in JAVA, but two things made me consider RePast. On one
hand, it seemed to have a visual editor that would simplify creating the
individual agents and setting up the simulation framework without
necessarily having to write out all the code; on the other hand, future
developments of the model will most likely include agent interactions,
so I thought best to start learning RePast right now.
I have looked through the tutorial and successfully ran the demo code
that came with the RePast Installation. I still have several questions I
haven't been able to answer for myself , and I was hoping one of you
would be kind enough to help me out with them. Here they are:
1. In my simulation I will have to use input data tables with
several dimensions. The most sensible way seemed to input them in some
sort of parameter array that RePast could recognize. I found an old
thread talking about inputting parameter arrays, and the impression I
got was that there is no such GUI functionality built-in the visual
editor, but one might get along by doing it in code during the model
initialization. Is this correct? As a follow-up , if my data can come in
csv or xml format, can someone direct me towards the some JAVA packages
that make this initialization less painful? What I am really hoping for
is a package that has something like VB.Net's Dataset.readXML() command
which would output a JTable or something similar.
You might look at XStream (http://xstream.codehaus.org/) which is can be
used either as a Repast freeze dryer or as a separate component.
2. I did not find any models in the demo directory show code for
the loading of input data more complicated than scalars or strings. Is
there some code repository where I can get such examples?
These are the only officially posted examples. Some other people on the
list may be able to help with this though.
3. I apologize if some of those questions have been answered in a
previous search, but I had a hard time getting relevant matches when I
searched the sourceforge archive site. I had to go through google to
find the thread I was talking about in 1. Is that a common experience?
Is there a better way to search through the source forge archives than
the search toolbar in there?
Unfortunately, this seems to be what can be done for now.
4. And finally, do you think picking RePast is a good idea?
Forgetting future developments for a second, if all I want to do is
write a discrete-event simulation in a JAVA-based package with good
visual editing abilities (drag and drop type) and good documentation,
which one would you recommend? I would prefer open source packages, but
since most of those come with little to no GUI editing abilities, I am
open to commercial suggestions as well.
I believe that Repast is a good choice for the kinds of things you wish
to do, especially if you prefer open source software.
Thank you very much for your help. I am greatly indebted.