MASON-INTEREST-L Archives

October 2009

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Proportional Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
steven citron-pousty <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Fri, 9 Oct 2009 13:28:36 -0700
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (660 bytes) , text/html (719 bytes)
Greetings Masoners:
I am trying to get a MASON Sim to fire off in a servlet. I have looked over
the archives and the docs and still can't get my head around it.
I am basically taking this example:
Tutorial 3
And I have modified it to do what I want. The problem is how do I call it
from a servlet. I can see how the command line version works but I don't see
where I can modify it to only allow, say 500 runs of the simulation.
I am assuming I can drop the main function in Tutorial3.java and just call
the start but I am not sure how the flow goes. I tried going through the
javadoc and can't get my mind around the flow.
Any help would be greatly appreciated.
Thanks
Steve


ATOM RSS1 RSS2