26.08.2013 Views

JiST – Java in Simulation Time - Evernote

JiST – Java in Simulation Time - Evernote

JiST – Java in Simulation Time - Evernote

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

system architecture<br />

1. Compile simulation with standard <strong>Java</strong> compiler<br />

2. Run simulation with<strong>in</strong> <strong>JiST</strong> (with<strong>in</strong> <strong>Java</strong>); simulation classes are<br />

dynamically rewritten to <strong>in</strong>troduce simulation time semantics:<br />

• extend the <strong>Java</strong> object model and execution model<br />

• <strong>in</strong>structions take zero (simulation) time<br />

• time explicitly advanced by the program: sleep(time)<br />

• progress of time is dependent on program progress<br />

3. Rewritten program <strong>in</strong>teracts with simulation kernel<br />

<strong>JiST</strong> <strong>–</strong> <strong>Java</strong> <strong>in</strong> <strong>Simulation</strong> <strong>Time</strong><br />

6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!