Skip to content

Commit

Permalink
deploy: 22ecc64
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Apr 7, 2024
1 parent ae76bff commit 83f75cb
Show file tree
Hide file tree
Showing 98 changed files with 16,379 additions and 16,315 deletions.
2 changes: 1 addition & 1 deletion annotated.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<tr id="row_0_0_8_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classepiworld_1_1epimodels_1_1_model_s_e_i_r_d.html" target="_self">ModelSEIRD</a></td><td class="desc">Template for a Susceptible-Exposed-Infected-Removed-Deceased (SEIRD) model </td></tr>
<tr id="row_0_0_9_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classepiworld_1_1epimodels_1_1_model_s_i_r_d_c_o_n_n.html" target="_self">ModelSIRDCONN</a></td><td class="desc"></td></tr>
<tr id="row_0_0_10_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classepiworld_1_1epimodels_1_1_model_s_e_i_r_d_c_o_n_n.html" target="_self">ModelSEIRDCONN</a></td><td class="desc"></td></tr>
<tr id="row_0_0_11_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classepiworld_1_1epimodels_1_1_model_s_i_r_logit.html" target="_self">ModelSIRLogit</a></td><td class="desc"></td></tr>
<tr id="row_0_0_11_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classepiworld_1_1epimodels_1_1_model_s_i_r_logit.html" target="_self">ModelSIRLogit</a></td><td class="desc">Template for a Susceptible-Infected-Removed (SIR) model </td></tr>
<tr id="row_0_0_12_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classepiworld_1_1epimodels_1_1_model_diff_net.html" target="_self">ModelDiffNet</a></td><td class="desc">Template for a <a class="el" href="class_network.html">Network</a> Diffusion <a class="el" href="classepiworld_1_1_model.html" title="Core class of epiworld.">Model</a> </td></tr>
<tr id="row_0_1_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classepiworld_1_1_model.html" target="_self">Model</a></td><td class="desc">Core class of epiworld </td></tr>
<tr id="row_0_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classepiworld_1_1_agent.html" target="_self">Agent</a></td><td class="desc"><a class="el" href="classepiworld_1_1_agent.html" title="Agent (agents)">Agent</a> (agents) </td></tr>
Expand Down
4 changes: 2 additions & 2 deletions class_model_s_e_i_r.html
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#ac8fceb86169a04202b06aab7
<div class="line"> <span class="keywordflow">return</span>; </div>
<div class="line"> }</div>
<div class="ttc" id="aclass_model_s_e_i_r_html"><div class="ttname"><a href="class_model_s_e_i_r.html">ModelSEIR</a></div><div class="ttdoc">Template for a Susceptible-Exposed-Infected-Removed (SEIR) model.</div><div class="ttdef"><b>Definition:</b> seir.hpp:16</div></div>
<div class="ttc" id="aclassepiworld_1_1_agent_html"><div class="ttname"><a href="classepiworld_1_1_agent.html">epiworld::Agent</a></div><div class="ttdoc">Agent (agents)</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:13105</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html"><div class="ttname"><a href="classepiworld_1_1_model.html">epiworld::Model</a></div><div class="ttdoc">Core class of epiworld.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:6053</div></div>
<div class="ttc" id="aclassepiworld_1_1_agent_html"><div class="ttname"><a href="classepiworld_1_1_agent.html">epiworld::Agent</a></div><div class="ttdoc">Agent (agents)</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:13110</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html"><div class="ttname"><a href="classepiworld_1_1_model.html">epiworld::Model</a></div><div class="ttdoc">Core class of epiworld.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:6060</div></div>
</div><!-- fragment -->
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions class_model_s_e_i_r_d.html
Original file line number Diff line number Diff line change
Expand Up @@ -916,8 +916,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#a68a053ac9d069499381e44f7
<div class="line"> <span class="keywordflow">return</span>;</div>
<div class="line"> }</div>
<div class="ttc" id="aclass_model_s_e_i_r_d_html"><div class="ttname"><a href="class_model_s_e_i_r_d.html">ModelSEIRD</a></div><div class="ttdoc">Template for a Susceptible-Exposed-Infected-Removed-Deceased (SEIRD) model.</div><div class="ttdef"><b>Definition:</b> seird.hpp:9</div></div>
<div class="ttc" id="aclassepiworld_1_1_agent_html"><div class="ttname"><a href="classepiworld_1_1_agent.html">epiworld::Agent</a></div><div class="ttdoc">Agent (agents)</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:13105</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html"><div class="ttname"><a href="classepiworld_1_1_model.html">epiworld::Model</a></div><div class="ttdoc">Core class of epiworld.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:6053</div></div>
<div class="ttc" id="aclassepiworld_1_1_agent_html"><div class="ttname"><a href="classepiworld_1_1_agent.html">epiworld::Agent</a></div><div class="ttdoc">Agent (agents)</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:13110</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html"><div class="ttname"><a href="classepiworld_1_1_model.html">epiworld::Model</a></div><div class="ttdoc">Core class of epiworld.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:6060</div></div>
</div><!-- fragment -->
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion classepiworld_1_1_model.html
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@
<div class="fragment"><div class="line">[<a class="code" href="classepiworld_1_1_model.html#a4af72bcd59626f5c6cb52fc10fc30c04">name</a> of parameter 1]: [value in double]</div>
<div class="line">[<a class="code" href="classepiworld_1_1_model.html#a4af72bcd59626f5c6cb52fc10fc30c04">name</a> of parameter 2]: [value in double]</div>
<div class="line">...</div>
<div class="ttc" id="aclassepiworld_1_1_model_html_a4af72bcd59626f5c6cb52fc10fc30c04"><div class="ttname"><a href="classepiworld_1_1_model.html#a4af72bcd59626f5c6cb52fc10fc30c04">epiworld::Model::name</a></div><div class="ttdeci">std::string name</div><div class="ttdoc">Name of the model.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:6060</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html_a4af72bcd59626f5c6cb52fc10fc30c04"><div class="ttname"><a href="classepiworld_1_1_model.html#a4af72bcd59626f5c6cb52fc10fc30c04">epiworld::Model::name</a></div><div class="ttdeci">std::string name</div><div class="ttdoc">Name of the model.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:6067</div></div>
</div><!-- fragment --><p>The only condition for parameter names is that these do not include a colon.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
Expand Down
4 changes: 2 additions & 2 deletions classepiworld_1_1epimodels_1_1_model_s_e_i_r.html
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#a4dd9da9e5a389e752cd11a43
<div class="line"> <span class="keywordflow">return</span>; </div>
<div class="line"> }</div>
<div class="ttc" id="aclass_model_s_e_i_r_html"><div class="ttname"><a href="class_model_s_e_i_r.html">ModelSEIR</a></div><div class="ttdoc">Template for a Susceptible-Exposed-Infected-Removed (SEIR) model.</div><div class="ttdef"><b>Definition:</b> seir.hpp:16</div></div>
<div class="ttc" id="aclassepiworld_1_1_agent_html"><div class="ttname"><a href="classepiworld_1_1_agent.html">epiworld::Agent</a></div><div class="ttdoc">Agent (agents)</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:13105</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html"><div class="ttname"><a href="classepiworld_1_1_model.html">epiworld::Model</a></div><div class="ttdoc">Core class of epiworld.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:6053</div></div>
<div class="ttc" id="aclassepiworld_1_1_agent_html"><div class="ttname"><a href="classepiworld_1_1_agent.html">epiworld::Agent</a></div><div class="ttdoc">Agent (agents)</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:13110</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html"><div class="ttname"><a href="classepiworld_1_1_model.html">epiworld::Model</a></div><div class="ttdoc">Core class of epiworld.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:6060</div></div>
</div><!-- fragment -->
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions classepiworld_1_1epimodels_1_1_model_s_e_i_r_d.html
Original file line number Diff line number Diff line change
Expand Up @@ -920,8 +920,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#a5e0e593ef79ce52a315469c6
<div class="line"> <span class="keywordflow">return</span>;</div>
<div class="line"> }</div>
<div class="ttc" id="aclass_model_s_e_i_r_d_html"><div class="ttname"><a href="class_model_s_e_i_r_d.html">ModelSEIRD</a></div><div class="ttdoc">Template for a Susceptible-Exposed-Infected-Removed-Deceased (SEIRD) model.</div><div class="ttdef"><b>Definition:</b> seird.hpp:9</div></div>
<div class="ttc" id="aclassepiworld_1_1_agent_html"><div class="ttname"><a href="classepiworld_1_1_agent.html">epiworld::Agent</a></div><div class="ttdoc">Agent (agents)</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:13105</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html"><div class="ttname"><a href="classepiworld_1_1_model.html">epiworld::Model</a></div><div class="ttdoc">Core class of epiworld.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:6053</div></div>
<div class="ttc" id="aclassepiworld_1_1_agent_html"><div class="ttname"><a href="classepiworld_1_1_agent.html">epiworld::Agent</a></div><div class="ttdoc">Agent (agents)</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:13110</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html"><div class="ttname"><a href="classepiworld_1_1_model.html">epiworld::Model</a></div><div class="ttdoc">Core class of epiworld.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:6060</div></div>
</div><!-- fragment -->
</div>
</div>
Expand Down
31 changes: 28 additions & 3 deletions classepiworld_1_1epimodels_1_1_model_s_i_r_logit.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,17 @@
<div class="title">epiworld::epimodels::ModelSIRLogit&lt; TSeq &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">

<p>Template for a Susceptible-Infected-Removed (SIR) model.
<a href="classepiworld_1_1epimodels_1_1_model_s_i_r_logit.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="epiworld_8hpp_source.html">epiworld.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for epiworld::epimodels::ModelSIRLogit&lt; TSeq &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classepiworld_1_1epimodels_1_1_model_s_i_r_logit__inherit__graph.png" border="0" usemap="#aepiworld_1_1epimodels_1_1_model_s_i_r_logit_3_01_t_seq_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="aepiworld_1_1epimodels_1_1_model_s_i_r_logit_3_01_t_seq_01_4_inherit__map" id="aepiworld_1_1epimodels_1_1_model_s_i_r_logit_3_01_t_seq_01_4_inherit__map">
<area shape="rect" title=" " alt="" coords="5,95,172,136"/>
<area shape="rect" title="Template for a Susceptible&#45;Infected&#45;Removed (SIR) model." alt="" coords="5,95,172,136"/>
<area shape="rect" href="classepiworld_1_1_model.html" title=" " alt="" coords="17,5,160,47"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
Expand All @@ -88,7 +93,7 @@
<div class="dyncontent">
<div class="center"><img src="classepiworld_1_1epimodels_1_1_model_s_i_r_logit__coll__graph.png" border="0" usemap="#aepiworld_1_1epimodels_1_1_model_s_i_r_logit_3_01_t_seq_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="aepiworld_1_1epimodels_1_1_model_s_i_r_logit_3_01_t_seq_01_4_coll__map" id="aepiworld_1_1epimodels_1_1_model_s_i_r_logit_3_01_t_seq_01_4_coll__map">
<area shape="rect" title=" " alt="" coords="5,95,172,136"/>
<area shape="rect" title="Template for a Susceptible&#45;Infected&#45;Removed (SIR) model." alt="" coords="5,95,172,136"/>
<area shape="rect" href="classepiworld_1_1_model.html" title=" " alt="" coords="17,5,160,47"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
Expand Down Expand Up @@ -705,7 +710,27 @@
MixerFun&lt; EPI_DEFAULT_TSEQ &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>death_reduction_mixer</b></td></tr>
<tr class="separator:a874b087ef2a3ede628a918a9344c6395 inherit pro_attribs_classepiworld_1_1_model"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename TSeq = EPI_DEFAULT_TSEQ&gt;<br />
class epiworld::epimodels::ModelSIRLogit&lt; TSeq &gt;</h3>

<p>Template for a Susceptible-Infected-Removed (SIR) model. </p>
<p>In this model, infection and recoveru probabilities are computed using a logit model. Particularly, the probability of infection is computed as:</p>
<p class="formulaDsp">
<img class="formulaDsp" alt="\[ \frac{1}{1 + \exp\left(-\left(\beta_0 E_i + \sum_{i=1}^{n} \beta_i x_i\right)\right)} \]" src="form_0.png" width="171" height="30"/>
</p>
<p>where <img class="formulaInl" alt="$\beta_0$" src="form_1.png" width="13" height="13"/> is the exposure coefficient and <img class="formulaInl" alt="$E_i$" src="form_2.png" width="13" height="11"/> is the exposure number, <img class="formulaInl" alt="$\beta_i$" src="form_3.png" width="11" height="13"/> are the coefficients for the features <img class="formulaInl" alt="$x_i$" src="form_4.png" width="11" height="9"/> of the agents, and <img class="formulaInl" alt="$n$" src="form_5.png" width="9" height="6"/> is the number of features. The probability of recovery is computed as:</p>
<p class="formulaDsp">
<img class="formulaDsp" alt="\[ \frac{1}{1 + \exp\left(-\left(\sum_{i=1}^{n} \beta_i x_i\right)\right)} \]" src="form_6.png" width="129" height="30"/>
</p>
<p>where <img class="formulaInl" alt="$\beta_i$" src="form_3.png" width="11" height="13"/> are the coefficients for the features <img class="formulaInl" alt="$x_i$" src="form_4.png" width="11" height="9"/> of the agents, and <img class="formulaInl" alt="$n$" src="form_5.png" width="9" height="6"/> is the number of features.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">TSeq</td><td>Type of the sequence (e.g. std::vector, std::deque) </td></tr>
</table>
</dd>
</dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac2529763b3f72163846c88d2985a57fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2529763b3f72163846c88d2985a57fc">&#9670;&nbsp;</a></span>ModelSIRLogit()</h2>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<map id="epiworld::epimodels::ModelSIRLogit&lt; TSeq &gt;" name="epiworld::epimodels::ModelSIRLogit&lt; TSeq &gt;">
<area shape="rect" id="node1" title=" " alt="" coords="5,95,172,136"/>
<area shape="rect" id="node1" title="Template for a Susceptible&#45;Infected&#45;Removed (SIR) model." alt="" coords="5,95,172,136"/>
<area shape="rect" id="node2" href="$classepiworld_1_1_model.html" title=" " alt="" coords="17,5,160,47"/>
</map>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
70108ce302b228399ad766243a430d69
eca2eaa6f2b1e0056d56a52556baaf38
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<map id="epiworld::epimodels::ModelSIRLogit&lt; TSeq &gt;" name="epiworld::epimodels::ModelSIRLogit&lt; TSeq &gt;">
<area shape="rect" id="node1" title=" " alt="" coords="5,95,172,136"/>
<area shape="rect" id="node1" title="Template for a Susceptible&#45;Infected&#45;Removed (SIR) model." alt="" coords="5,95,172,136"/>
<area shape="rect" id="node2" href="$classepiworld_1_1_model.html" title=" " alt="" coords="17,5,160,47"/>
</map>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
70108ce302b228399ad766243a430d69
eca2eaa6f2b1e0056d56a52556baaf38
8 changes: 4 additions & 4 deletions diffnet_8hpp_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,10 @@
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclass_agent_html"><div class="ttname"><a href="class_agent.html">Agent</a></div><div class="ttdoc">Agent (agents)</div><div class="ttdef"><b>Definition:</b> agent-bones.hpp:66</div></div>
<div class="ttc" id="aclass_model_diff_net_html"><div class="ttname"><a href="class_model_diff_net.html">ModelDiffNet</a></div><div class="ttdoc">Template for a Network Diffusion Model.</div><div class="ttdef"><b>Definition:</b> diffnet.hpp:15</div></div>
<div class="ttc" id="aclassepiworld_1_1_agent_html"><div class="ttname"><a href="classepiworld_1_1_agent.html">epiworld::Agent</a></div><div class="ttdoc">Agent (agents)</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:13105</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html"><div class="ttname"><a href="classepiworld_1_1_model.html">epiworld::Model</a></div><div class="ttdoc">Core class of epiworld.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:6053</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html_ab7d63eb898445d3d30167c14ddec0c3d"><div class="ttname"><a href="classepiworld_1_1_model.html#ab7d63eb898445d3d30167c14ddec0c3d">epiworld::Model::get_n_viruses</a></div><div class="ttdeci">size_t get_n_viruses() const</div><div class="ttdoc">Number of viruses in the model.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:8553</div></div>
<div class="ttc" id="aclassepiworld_1_1_virus_html"><div class="ttname"><a href="classepiworld_1_1_virus.html">epiworld::Virus</a></div><div class="ttdoc">Virus.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:10165</div></div>
<div class="ttc" id="aclassepiworld_1_1_agent_html"><div class="ttname"><a href="classepiworld_1_1_agent.html">epiworld::Agent</a></div><div class="ttdoc">Agent (agents)</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:13110</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html"><div class="ttname"><a href="classepiworld_1_1_model.html">epiworld::Model</a></div><div class="ttdoc">Core class of epiworld.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:6060</div></div>
<div class="ttc" id="aclassepiworld_1_1_model_html_ab7d63eb898445d3d30167c14ddec0c3d"><div class="ttname"><a href="classepiworld_1_1_model.html#ab7d63eb898445d3d30167c14ddec0c3d">epiworld::Model::get_n_viruses</a></div><div class="ttdeci">size_t get_n_viruses() const</div><div class="ttdoc">Number of viruses in the model.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:8560</div></div>
<div class="ttc" id="aclassepiworld_1_1_virus_html"><div class="ttname"><a href="classepiworld_1_1_virus.html">epiworld::Virus</a></div><div class="ttdoc">Virus.</div><div class="ttdef"><b>Definition:</b> epiworld.hpp:10170</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Expand Down
Loading

0 comments on commit 83f75cb

Please sign in to comment.