blob: b18cd16b93347110b6f652129414f471d9f7c71a [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Creating a new Disease Tutorial</title>
</head>
<body>
<h1>Creating a new Disease</h1>
<p>1) On the menu bar click -&gt;new-&gt;new disease </p>
<p>2) This will launch the Dialog shown in Figure 1. Fill in the Name: (ExperimentalDisease)
</p>
<p>3) Fill in the Disease Name: You can use the same name you used in (2) (ExperimentalDisease)
</p>
<p>4) Select the DiseaseModel in the ComboBox: e.g., select &quot;ExperimentalDiseaseModelImpl&quot;
</p>
<p>At this point you should also edit or set any of the disease parameters (i.e.
Transmission Rate, Recovery Rate, etc).<br>
If you don't want to do it now it will also be editable any time after the
scenario is created. </p>
<table border="1" cellspacing="1" width="49%">
<tr>
<td>
<p align="center">
<img border="0" src="img/diseaseDialog.jpg" width="525" height="531"></td>
</tr>
<tr>
<td>
<p align="center"><b>Figure 1: The new Disease Dialog.</b></td>
</tr>
</table>
<p>&nbsp;</p>
<p>5) Fill in any Dublin core data you want to add </p>
<p>6) Click finish </p>
<p>7) Under decorators you should see ExperimentalDisease.standard </p>
<p>8) Double click on MODELS in the project explorer. You should see &quot;CubaExperimentalDisease&quot;
in the Resource Set. </p>
<p>9) DRAG your new disease (e.g., CubaExperimentalDisease.Standard) from
decorators (in the project explorer window) into the model &quot;CubaExperimentalDisease&quot;
in the Resource Set window. Expand the &quot;CubaExperimentalDisease&quot; in the
Resource Set window to see that it worked. See Figure 2.</p>
<table border="1" cellspacing="1" width="49%">
<tr>
<td>
<p align="center">
<img border="0" src="img/dragdiseasetomodel.jpg" width="573" height="431"></td>
</tr>
<tr>
<td>
<p align="center"><b>Figure 2. Drag the Disease Model (decorator) into
the Model in the Resource Set.</b></td>
</tr>
</table>
<h3><span style="font-weight: 400"><i>Save your work at this point by hitting <b>ctrl-s</b></i></span></h3>
</body>
</html>