blob: a500e5b6ae8d89901f0ea760ec974a9a08fe9a26 [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 Infector Tutorial</title>
</head>
<body>
<h1>Create a new Infector</h1>
&nbsp;<table border="1" cellspacing="1" width="45%">
<tr>
<td>
<p align="center">
<img border="0" src="img/InfectorIcon.jpg" width="86" height="98"></td>
</tr>
<tr>
<td>
<p align="center"><b>Figure 1: The Infector Icon looks similar to the
New Disease Icon but contains a capital letter 'I' in the lower right
hand corner.</b></td>
</tr>
</table>
<p>Click on the new infector icon (black square with the health symbol and
the letter I) </p>
<ol>
<li>Name it (e.g., &quot;CubaInfector&quot;), under DiseaseName: &quot;ExperimentalDisease&quot;
<br>
&nbsp;</li>
<li>Under country select the location you want to infect (e.g.,&nbsp; Cuba).
You can infect at the country level, state or province level or even at the
county level depending on the resolution of the graph you are using. In the
case of Cuba, only country level is selected (see Figure 2.)<br>
&nbsp;</li>
<li>Click on the Scenario to open it in the Resource set <br>
&nbsp;</li>
<li>drag the CubaInfector from Decorators into the <b>Scenario</b> (open it to see
it) <br>
&nbsp;</li>
<li>In the resource set click on the infector SI Infector ExperimentalDisease to edit
it. Your disease model may be SI, SIR, SIER, etc but in all cases you only need
an SI infector (as this base class will add infectious people to seed any model.<br>
&nbsp;</li>
<li>Click on Properties to open the Properties Editor and double click on
the Infector in the Resource Set under your scenario. This will open an
editor where you can confirm the location to be infected and the number of
infectious people to start with.<br>
&nbsp;</li>
<li>Add additional infectors for other locations as desired following the
procedure above.<br>
&nbsp;</li>
</ol>
<table border="1" cellspacing="1" width="70%">
<tr>
<td>
<img border="0" src="img/InfectorDialog.jpg" width="525" height="669"></td>
</tr>
<tr>
<td>Figure 2: Creating an Infector for Cuba. Here we are selecting a
country level node. Note the location ID (CUB).</td>
</tr>
</table>
<p><i>save your work at this point by hitting &lt;ctrl&gt;S</i> </p>
<p>
<p>
&nbsp;&nbsp;
</body>
</html>