<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "file://D:\PROGRA~1\scilab-4.0\man/manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>sis</TITLE>
  <TYPE>Scilab Function  </TYPE>
  <DATE>5-Sep-2006</DATE>
  <SHORT_DESCRIPTION name="sis">the susceptible-infected-susceptible (SIS) model.</SHORT_DESCRIPTION>

  <CALLING_SEQUENCE>
  <CALLING_SEQUENCE_ITEM>[inf,infname] = sis(a,b,N,T,N0,P)</CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>

  <PARAM>
  <PARAM_INDENT>

    <PARAM_ITEM>
    <PARAM_NAME>a</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : row vector of the numbers of the tail nodes of the graph (its size is the number of edges of the graph)
	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>b</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : row vector of the numbers of the head nodes of the graph (its size is the number of edges of the graph)
	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>N</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : the node number of the model
	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>T</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : the epidemic time step
      	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>N0</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : the initial infected node
      	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>P</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : the infected probability
      	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>inf</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : row vector of the infected fraction of the graph(its size is the time step)
	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>infname</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : row vector of the infected node name
       	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>
  </PARAM_INDENT>
  </PARAM>
 
  <DESCRIPTION>
     <DESCRIPTION_INDENT>
     <DESCRIPTION_ITEM>
	     <P>
		     sis calculates the infected fraction every time step for the SIS epidemic process.
	     </P>
     </DESCRIPTION_ITEM>
     </DESCRIPTION_INDENT>
  </DESCRIPTION>

  <EXAMPLE><![CDATA[
   Add here scilab instructions and comments
  ]]></EXAMPLE>

  <SEE_ALSO>
	  <SEE_ALSO_ITEM> <LINK>sirs</LINK> </SEE_ALSO_ITEM>
  </SEE_ALSO>

  <AUTHORS>
    <AUTHORS_ITEM label='Wubo'>
    </AUTHORS_ITEM>
  </AUTHORS>
</MAN>
