Add project files.

This commit is contained in:
Timothée Leclaire-Fournier 2024-01-17 18:58:22 -05:00
parent c1165009c7
commit 5a37336e48
135 changed files with 8944 additions and 0 deletions

View File

@ -0,0 +1,442 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GOL: D:/Drive/Professionnel/ETS/Enseignement/GPA675/2024_01_Hiver/lab/01/GPA675Lab1App/GOLEngine/GOL.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo_64.png"/></td>
<td id="projectalign">
<div id="projectname">GOL
</div>
<div id="projectbrief">Game Of Life</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">D:/Drive/Professionnel/ETS/Enseignement/GPA675/2024_01_Hiver/lab/01/GPA675Lab1App/GOLEngine/GOL.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#ifndef GOL_INTERFACE_H</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#define GOL_INTERFACE_H</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;optional&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment">//</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment">// ___ __ __ ____ ___ ____ _____ _ _ _ _____ </span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment">// |_ _| \/ | _ \ / _ \| _ \_ _|/ \ | \ | |_ _|</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment">// | || |\/| | |_) | | | | |_) || | / _ \ | \| | | | </span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment">// | || | | | __/| |_| | _ &lt; | |/ ___ \| |\ | | | </span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment">// |___|_| |_|_| \___/|_| \_\|_/_/ \_\_| \_| |_| </span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">// </span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">// </span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment">// Attention, vous ne pouvez pas modifier ce fichier.</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment">// </span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="foldopen" id="foldopen00123" data-start="{" data-end="};">
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="class_g_o_l.html"> 123</a></span><span class="keyword">class </span><a class="code hl_class" href="class_g_o_l.html">GOL</a></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span>{</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="comment">// ____ __ __ _ _ _ _ _ _ </span></div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="comment">// | _ \ /_/ / _(_)_ __ (_) |_(_) ___ _ __ __| | ___ ___ | |_ _ _ _ __ ___ ___ </span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <span class="comment">// | | | |/ _ \ |_| | &#39;_ \| | __| |/ _ \| &#39;_ \ / _` |/ _ \/ __| | __| | | | &#39;_ \ / _ \/ __|</span></div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <span class="comment">// | |_| | __/ _| | | | | | |_| | (_) | | | | | (_| | __/\__ \ | |_| |_| | |_) | __/\__ \</span></div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span><span class="comment"> // |____/ \___|_| |_|_| |_|_|\__|_|\___/|_| |_| \__,_|\___||___/ \__|\__, | .__/ \___||___/</span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <span class="comment">// |___/|_| </span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="comment">// </span></div>
<div class="foldopen" id="foldopen00135" data-start="{" data-end="};">
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa"> 135</a></span> <span class="keyword">enum class</span> <a class="code hl_enumeration" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">State</a> : uint8_t {</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <a class="code hl_enumvalue" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aaaf58e6a506c76fc2c90a7d29cbc631c2f">dead</a> = 0, </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <a class="code hl_enumvalue" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aaa7bd3d5f5b3cdb13aed632121206e729c">alive</a> = 1, </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> };</div>
</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="comment">//</span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a63f73ea2245fe25688a8f2b8ad444498"> 142</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="class_g_o_l.html#a63f73ea2245fe25688a8f2b8ad444498">IterationType</a> = uint32_t;</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="comment">// </span></div>
<div class="foldopen" id="foldopen00150" data-start="{" data-end="};">
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5"> 150</a></span> <span class="keyword">enum class</span> <a class="code hl_enumeration" href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5">BorderManagement</a> : uint8_t {</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <a class="code hl_enumvalue" href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5a1959daeb0273318781b4aa35f118676d">immutableAsIs</a> = 0, </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <a class="code hl_enumvalue" href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5a303cf94b70e6f7dffb1e094570e1759f">foreverDead</a>, </div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <a class="code hl_enumvalue" href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5a6845ed92fb9b5afe34b3cb58a03143bb">foreverAlive</a>, </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <a class="code hl_enumvalue" href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5ad26fea1f666f50ab33e246806ed4829b">warping</a>, </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> <a class="code hl_enumvalue" href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5afbe322a89bc0ba531c3f0050e3935f28">mirror</a>, </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> };</div>
</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <span class="comment">//</span></div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a8dfa284246f15ca8b2fe3b72d39398c4"> 160</a></span> <span class="keyword">using </span><a class="code hl_typedef" href="class_g_o_l.html#a8dfa284246f15ca8b2fe3b72d39398c4">ColorChannelType</a> = uint8_t;</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <span class="comment">//</span></div>
<div class="foldopen" id="foldopen00164" data-start="{" data-end="};">
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_color.html"> 164</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="struct_g_o_l_1_1_color.html">Color</a> {</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_color.html#a8f580a1ff7d2037d9f78bb6dcaf98a0c"> 165</a></span> <a class="code hl_typedef" href="class_g_o_l.html#a8dfa284246f15ca8b2fe3b72d39398c4">ColorChannelType</a> <a class="code hl_variable" href="struct_g_o_l_1_1_color.html#a8f580a1ff7d2037d9f78bb6dcaf98a0c">red</a> = 0; </div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_color.html#a024ce041fb574f2531e8c3ccedfdf872"> 166</a></span> <a class="code hl_typedef" href="class_g_o_l.html#a8dfa284246f15ca8b2fe3b72d39398c4">ColorChannelType</a> <a class="code hl_variable" href="struct_g_o_l_1_1_color.html#a024ce041fb574f2531e8c3ccedfdf872">green</a> = 0; </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_color.html#af5ba4c4c2734b3de66dc3d5ddfd33067"> 167</a></span> <a class="code hl_typedef" href="class_g_o_l.html#a8dfa284246f15ca8b2fe3b72d39398c4">ColorChannelType</a> <a class="code hl_variable" href="struct_g_o_l_1_1_color.html#af5ba4c4c2734b3de66dc3d5ddfd33067">blue</a> = 0; </div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> };</div>
</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="comment">//</span></div>
<div class="foldopen" id="foldopen00186" data-start="{" data-end="};">
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html"> 186</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="struct_g_o_l_1_1_statistics.html">Statistics</a> {</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html#ace8337d109af59325bdcb5d58b801df4"> 187</a></span> std::optional&lt;std::string&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_statistics.html#ace8337d109af59325bdcb5d58b801df4">rule</a>; </div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html#aaf2de20f90d08fe72e7c19bafdabf9a7"> 188</a></span> std::optional&lt;BorderManagement&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_statistics.html#aaf2de20f90d08fe72e7c19bafdabf9a7">borderManagement</a>; </div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html#a26d329b7b472a18fda78e9e4399effbc"> 189</a></span> std::optional&lt;size_t&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_statistics.html#a26d329b7b472a18fda78e9e4399effbc">width</a>; </div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html#acc45f6dc5a08918b5a2a4a4a54c0efd3"> 190</a></span> std::optional&lt;size_t&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_statistics.html#acc45f6dc5a08918b5a2a4a4a54c0efd3">height</a>; </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html#a980f0bf8ca7d7838f29c18069b406284"> 191</a></span> std::optional&lt;size_t&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_statistics.html#a980f0bf8ca7d7838f29c18069b406284">totalCells</a>; </div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html#a94192cc3db009bc06ce178bc70093f52"> 192</a></span> std::optional&lt;IterationType&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_statistics.html#a94192cc3db009bc06ce178bc70093f52">iteration</a>; </div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html#a0c7ac4a263ba69f0e1a453039037b3b9"> 193</a></span> std::optional&lt;size_t&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_statistics.html#a0c7ac4a263ba69f0e1a453039037b3b9">totalDeadAbs</a>; </div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html#ab27d09a97457ede162c76476105e13e1"> 194</a></span> std::optional&lt;size_t&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_statistics.html#ab27d09a97457ede162c76476105e13e1">totalAliveAbs</a>; </div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html#a0eb0a1aaa2d76c389b3d49ea1c6c9bed"> 195</a></span> std::optional&lt;float&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_statistics.html#a0eb0a1aaa2d76c389b3d49ea1c6c9bed">totalDeadRel</a>; </div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html#af9cead801f8e57055bb74ec119aa4908"> 196</a></span> std::optional&lt;float&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_statistics.html#af9cead801f8e57055bb74ec119aa4908">totalAliveRel</a>; </div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html#ae96e52cf979cb8cfe8841b92c2bbc9eb"> 197</a></span> std::optional&lt;int&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_statistics.html#ae96e52cf979cb8cfe8841b92c2bbc9eb">tendencyAbs</a>; </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_statistics.html#ae981c7b738fd3cf1b4c6cbf006f425b0"> 198</a></span> std::optional&lt;float&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_statistics.html#ae981c7b738fd3cf1b4c6cbf006f425b0">tendencyRel</a>; </div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> };</div>
</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> <span class="comment">//</span></div>
<div class="foldopen" id="foldopen00203" data-start="{" data-end="};">
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_author.html"> 203</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="struct_g_o_l_1_1_author.html">Author</a> {</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_author.html#a789800726a95c045b18135641bdd4a0d"> 204</a></span> std::string <a class="code hl_variable" href="struct_g_o_l_1_1_author.html#a789800726a95c045b18135641bdd4a0d">lastName</a>; </div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_author.html#a852b5f97cd31f1c698bdec4ac123efb0"> 205</a></span> std::string <a class="code hl_variable" href="struct_g_o_l_1_1_author.html#a852b5f97cd31f1c698bdec4ac123efb0">firstName</a>; </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_author.html#ab0d7c78b1dbe43191bc19a08a3632630"> 206</a></span> std::string <a class="code hl_variable" href="struct_g_o_l_1_1_author.html#ab0d7c78b1dbe43191bc19a08a3632630">studentEmail</a>; </div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> };</div>
</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> <span class="comment">//</span></div>
<div class="foldopen" id="foldopen00218" data-start="{" data-end="};">
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_implementation_information.html"> 218</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="struct_g_o_l_1_1_implementation_information.html">ImplementationInformation</a> {</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_implementation_information.html#a537522ac3ca67d3c0f8495558e9ec82c"> 219</a></span> std::string <a class="code hl_variable" href="struct_g_o_l_1_1_implementation_information.html#a537522ac3ca67d3c0f8495558e9ec82c">title</a>; </div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_implementation_information.html#a74518907e65d8c8d469032ee52bb574d"> 220</a></span> std::vector&lt;Author&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_implementation_information.html#a74518907e65d8c8d469032ee52bb574d">authors</a>; </div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_implementation_information.html#ae17a4cf1efe7db0c0191a2e1ce9b0ea3"> 221</a></span> std::vector&lt;std::string&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_implementation_information.html#ae17a4cf1efe7db0c0191a2e1ce9b0ea3">answers</a>; </div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="struct_g_o_l_1_1_implementation_information.html#ad0179a43523be2c9a96a930413457cc0"> 222</a></span> std::vector&lt;std::string&gt; <a class="code hl_variable" href="struct_g_o_l_1_1_implementation_information.html#ad0179a43523be2c9a96a930413457cc0">optionnalComments</a>; </div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> };</div>
</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> </div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> </div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> <span class="comment">//</span></div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> <span class="comment">// ____ _ _ __ ____ _ _ </span></div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> <span class="comment">// / ___|___ _ __ ___| |_ _ __ _ _ ___| |_ ___ _ _ _ __ ___ / / | _ \ ___ ___| |_ _ __ _ _ ___| |_ ___ _ _ _ __ </span></div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> <span class="comment">// | | / _ \| &#39;_ \/ __| __| &#39;__| | | |/ __| __/ _ \ | | | &#39;__/ __| / / | | | |/ _ \/ __| __| &#39;__| | | |/ __| __/ _ \ | | | &#39;__|</span></div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> <span class="comment">// | |__| (_) | | | \__ \ |_| | | |_| | (__| || __/ |_| | | \__ \ / / | |_| | __/\__ \ |_| | | |_| | (__| || __/ |_| | | </span></div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <span class="comment">// \____\___/|_| |_|___/\__|_| \__,_|\___|\__\___|\__,_|_| |___/ /_/ |____/ \___||___/\__|_| \__,_|\___|\__\___|\__,_|_| </span></div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> <span class="comment">// </span></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> <span class="comment">// </span></div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> <span class="comment">// Les classes héritant de GOL doivent réaliser :</span></div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> <span class="comment">// - le constructeur par défaut : _class_()</span></div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> <span class="comment">// - le constructeur d&#39;initialisation proposé : _class_(size_t width, size_t height, State defaultState = State::dead)</span></div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> <span class="comment">// - le destructeur : ~_class_()</span></div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> <span class="comment">// </span></div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a2d1ce427c1902aa396385b78aa5faacd"> 241</a></span> <a class="code hl_function" href="class_g_o_l.html#a2d1ce427c1902aa396385b78aa5faacd">GOL</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> <span class="comment">// </span></div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"><a class="line" href="class_g_o_l.html#ab93d6b83a53990fd27e6fc152b549e41"> 244</a></span> <a class="code hl_function" href="class_g_o_l.html#ab93d6b83a53990fd27e6fc152b549e41">GOL</a>(<span class="keywordtype">size_t</span> <a class="code hl_function" href="class_g_o_l.html#a0f9371c1d919e8731a00f72c9e7e5338">width</a>, <span class="keywordtype">size_t</span> <a class="code hl_function" href="class_g_o_l.html#a639614c14d19f9f200208c1b1d13e610">height</a>, <a class="code hl_enumeration" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">State</a> defaultState = <a class="code hl_enumvalue" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aaaf58e6a506c76fc2c90a7d29cbc631c2f">State::dead</a>) {}</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> <span class="comment">// </span></div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a71f920566f6053820e4a39c1c0ffe14a"> 247</a></span> <span class="keyword">virtual</span> <a class="code hl_function" href="class_g_o_l.html#a71f920566f6053820e4a39c1c0ffe14a">~GOL</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> <span class="comment">// </span></div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> <span class="comment">// Les 4 autres fonctions spéciales sont laissées à votre discrétion.</span></div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> <span class="comment">// Toutefois, un simple -delete- est suffisant pour ce premier laboratoire.</span></div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> <span class="comment">// _class_(_class_ const &amp;) = delete;</span></div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> <span class="comment">// _class_(_class_ &amp;&amp;) = delete;</span></div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> <span class="comment">// _class_&amp; operator=(_class_ const &amp;) = delete;</span></div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> <span class="comment">// _class_&amp; operator=(_class_ &amp;&amp;) = delete;</span></div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> </div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> </div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> <span class="comment">// </span></div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> <span class="comment">// _ </span></div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> <span class="comment">// / \ ___ ___ ___ ___ ___ ___ _ _ _ __ ___ </span></div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> <span class="comment">// / _ \ / __/ __/ _ \/ __/ __|/ _ \ | | | &#39;__/ __|</span></div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> <span class="comment">// / ___ \ (_| (_| __/\__ \__ \ __/ |_| | | \__ \</span></div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span><span class="comment"> // /_/ \_\___\___\___||___/___/\___|\__,_|_| |___/</span></div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> <span class="comment">// </span></div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> <span class="comment">//</span></div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a0f9371c1d919e8731a00f72c9e7e5338"> 268</a></span> <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="class_g_o_l.html#a0f9371c1d919e8731a00f72c9e7e5338">width</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <span class="comment">//</span></div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a639614c14d19f9f200208c1b1d13e610"> 273</a></span> <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="class_g_o_l.html#a639614c14d19f9f200208c1b1d13e610">height</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> <span class="comment">//</span></div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a7e362245fec1c4411835b6ca5eb1a62b"> 279</a></span> <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="class_g_o_l.html#a7e362245fec1c4411835b6ca5eb1a62b">size</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> <span class="comment">//</span></div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a33f034838a60adb25e1ef26a3eb309aa"> 290</a></span> <span class="keyword">virtual</span> <a class="code hl_enumeration" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">State</a> <a class="code hl_function" href="class_g_o_l.html#a33f034838a60adb25e1ef26a3eb309aa">state</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> <span class="comment">//</span></div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <span class="comment">//</span></div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a3e7c43805a2ffbc09d0c76a20953d40d"> 300</a></span> <span class="keyword">virtual</span> std::string <a class="code hl_function" href="class_g_o_l.html#a3e7c43805a2ffbc09d0c76a20953d40d">rule</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> <span class="comment">//</span></div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> <span class="comment">//</span></div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"><a class="line" href="class_g_o_l.html#acb7eb9dfd0d705bcd3093374a65071e9"> 306</a></span> <span class="keyword">virtual</span> <a class="code hl_enumeration" href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5">BorderManagement</a> <a class="code hl_function" href="class_g_o_l.html#acb7eb9dfd0d705bcd3093374a65071e9">borderManagement</a>() <span class="keyword">const</span> = 0; </div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> <span class="comment">//</span></div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> <span class="comment">//</span></div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a034f2b25cdb174e8db8b45c19c6ff227"> 316</a></span> <span class="keyword">virtual</span> <a class="code hl_struct" href="struct_g_o_l_1_1_color.html">Color</a> <a class="code hl_function" href="class_g_o_l.html#a034f2b25cdb174e8db8b45c19c6ff227">color</a>(<a class="code hl_enumeration" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">State</a> <a class="code hl_function" href="class_g_o_l.html#a33f034838a60adb25e1ef26a3eb309aa">state</a>) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> <span class="comment">//</span></div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> <span class="comment">//</span></div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"><a class="line" href="class_g_o_l.html#ac1855e686984d4533fc2442f6f3b89f2"> 346</a></span> <span class="keyword">virtual</span> <a class="code hl_struct" href="struct_g_o_l_1_1_statistics.html">Statistics</a> <a class="code hl_function" href="class_g_o_l.html#ac1855e686984d4533fc2442f6f3b89f2">statistics</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> <span class="comment">//</span></div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> <span class="comment">// </span></div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"><a class="line" href="class_g_o_l.html#aee16ffdbff2b3fe49bdfb961cf85a7af"> 366</a></span> <span class="keyword">virtual</span> <a class="code hl_struct" href="struct_g_o_l_1_1_implementation_information.html">ImplementationInformation</a> <a class="code hl_function" href="class_g_o_l.html#aee16ffdbff2b3fe49bdfb961cf85a7af">information</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> <span class="comment">//</span></div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> <span class="comment">// </span></div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span> <span class="comment">// __ __ _ _ </span></div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> <span class="comment">// | \/ |_ _| |_ __ _| |_ ___ _ _ _ __ ___ </span></div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> <span class="comment">// | |\/| | | | | __/ _` | __/ _ \ | | | &#39;__/ __|</span></div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> <span class="comment">// | | | | |_| | || (_| | || __/ |_| | | \__ \</span></div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span><span class="comment"> // |_| |_|\__,_|\__\__,_|\__\___|\__,_|_| |___/</span></div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> <span class="comment">// </span></div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span> <span class="comment">// </span></div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"><a class="line" href="class_g_o_l.html#aeeb68a308596df6cc833915fe25b8b31"> 391</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_g_o_l.html#aeeb68a308596df6cc833915fe25b8b31">resize</a>(<span class="keywordtype">size_t</span> <a class="code hl_function" href="class_g_o_l.html#a0f9371c1d919e8731a00f72c9e7e5338">width</a>, <span class="keywordtype">size_t</span> <a class="code hl_function" href="class_g_o_l.html#a639614c14d19f9f200208c1b1d13e610">height</a>, <a class="code hl_enumeration" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">State</a> defaultState = <a class="code hl_enumvalue" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aaaf58e6a506c76fc2c90a7d29cbc631c2f">State::dead</a>) = 0;</div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span> <span class="comment">//</span></div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> <span class="comment">//</span></div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"><a class="line" href="class_g_o_l.html#aed680727507df7541f28b1b3be099364"> 432</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_g_o_l.html#aed680727507df7541f28b1b3be099364">setRule</a>(std::string <span class="keyword">const</span> &amp; <a class="code hl_function" href="class_g_o_l.html#a3e7c43805a2ffbc09d0c76a20953d40d">rule</a>) = 0;</div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> <span class="comment">//</span></div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span> <span class="comment">//</span></div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a4e05013566674a629cb5046be9c4fd53"> 486</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_g_o_l.html#a4e05013566674a629cb5046be9c4fd53">setBorderManagement</a>(<a class="code hl_enumeration" href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5">BorderManagement</a> <a class="code hl_function" href="class_g_o_l.html#acb7eb9dfd0d705bcd3093374a65071e9">borderManagement</a>) = 0;</div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno"> 487</span> <span class="comment">//</span></div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"> 488</span> <span class="comment">// </span></div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno"><a class="line" href="class_g_o_l.html#ae421e565fbf6ba31db44d71eba7227b3"> 497</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_g_o_l.html#ae421e565fbf6ba31db44d71eba7227b3">setState</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <a class="code hl_enumeration" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">State</a> <a class="code hl_function" href="class_g_o_l.html#a33f034838a60adb25e1ef26a3eb309aa">state</a>) = 0;</div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno"> 498</span> <span class="comment">//</span></div>
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno"> 499</span> <span class="comment">//</span></div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a7fd8fe0cc3c4ea6e0234f165e0ae0909"> 509</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_g_o_l.html#a7fd8fe0cc3c4ea6e0234f165e0ae0909">fill</a>(<a class="code hl_enumeration" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">State</a> <a class="code hl_function" href="class_g_o_l.html#a33f034838a60adb25e1ef26a3eb309aa">state</a> = <a class="code hl_enumvalue" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aaaf58e6a506c76fc2c90a7d29cbc631c2f">State::dead</a>) = 0;</div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno"> 510</span> <span class="comment">//</span></div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"> 511</span> <span class="comment">//</span></div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno"><a class="line" href="class_g_o_l.html#ae15588c452004483dd12ed01f63ebb7a"> 522</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_g_o_l.html#ae15588c452004483dd12ed01f63ebb7a">fillAlternately</a>(<a class="code hl_enumeration" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">State</a> firstCell = <a class="code hl_enumvalue" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aaaf58e6a506c76fc2c90a7d29cbc631c2f">State::dead</a>) = 0;</div>
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno"> 523</span> <span class="comment">//</span></div>
<div class="line"><a id="l00524" name="l00524"></a><span class="lineno"> 524</span> <span class="comment">//</span></div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a48a750d5e715c35bcddc1c5702a1c1bd"> 536</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_g_o_l.html#a48a750d5e715c35bcddc1c5702a1c1bd">randomize</a>(<span class="keywordtype">double</span> percentAlive = 0.5) = 0;</div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno"> 537</span> <span class="comment">//</span></div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"> 538</span> <span class="comment">//</span></div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"><a class="line" href="class_g_o_l.html#af09cbd32232ddf08296e4709f2a7b7b7"> 556</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_g_o_l.html#af09cbd32232ddf08296e4709f2a7b7b7">setFromPattern</a>(std::string <span class="keyword">const</span> &amp; pattern, <span class="keywordtype">int</span> centerX, <span class="keywordtype">int</span> centerY) = 0;</div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno"> 557</span> <span class="comment">//</span></div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno"> 558</span> <span class="comment">//</span></div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno"><a class="line" href="class_g_o_l.html#ad7f2161a93817f8eda610319a9593f82"> 569</a></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_g_o_l.html#ad7f2161a93817f8eda610319a9593f82">setFromPattern</a>(std::string <span class="keyword">const</span> &amp; pattern) = 0;</div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"> 570</span> <span class="comment">//</span></div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno"> 571</span> <span class="comment">//</span></div>
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a98dbb31bb7d7ab708f69f276a0849361"> 582</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_g_o_l.html#a98dbb31bb7d7ab708f69f276a0849361">setSolidColor</a>(<a class="code hl_enumeration" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">State</a> <a class="code hl_function" href="class_g_o_l.html#a33f034838a60adb25e1ef26a3eb309aa">state</a>, <a class="code hl_struct" href="struct_g_o_l_1_1_color.html">Color</a> <span class="keyword">const</span> &amp; <a class="code hl_function" href="class_g_o_l.html#a034f2b25cdb174e8db8b45c19c6ff227">color</a>) = 0;</div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"> 583</span> </div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno"> 584</span> </div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno"> 585</span> <span class="comment">//</span></div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"> 586</span> <span class="comment">//</span></div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"> 587</span> <span class="comment">// __ __ _ _ __ _ _ </span></div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"> 588</span> <span class="comment">// | \/ | ___ __| (_)/ _(_) ___ __ _| |_ ___ _ _ _ __ ___ </span></div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"> 589</span> <span class="comment">// | |\/| |/ _ \ / _` | | |_| |/ __/ _` | __/ _ \ | | | &#39;__/ __|</span></div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"> 590</span> <span class="comment">// | | | | (_) | (_| | | _| | (_| (_| | || __/ |_| | | \__ \</span></div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"> 591</span><span class="comment"> // |_| |_|\___/ \__,_|_|_| |_|\___\__,_|\__\___|\__,_|_| |___/</span></div>
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno"> 592</span> <span class="comment">// </span></div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a163e43658479f589311944e45f9d2f7d"> 608</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_g_o_l.html#a163e43658479f589311944e45f9d2f7d">processOneStep</a>() = 0;</div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"> 609</span> <span class="comment">//</span></div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"> 610</span> <span class="comment">// </span></div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno"><a class="line" href="class_g_o_l.html#a023f299fa22d29d595ce8f5b559556eb"> 644</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_g_o_l.html#a023f299fa22d29d595ce8f5b559556eb">updateImage</a>(uint32_t * buffer, <span class="keywordtype">size_t</span> buffer_size) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno"> 645</span> </div>
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno"> 646</span>};</div>
</div>
<div class="line"><a id="l00647" name="l00647"></a><span class="lineno"> 647</span> </div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno"> 648</span> </div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno"> 649</span> </div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno"> 650</span> </div>
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno"> 651</span> </div>
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno"> 652</span> </div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno"> 653</span> </div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno"> 654</span><span class="comment">//</span></div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno"> 655</span><span class="comment">// _ _ _ </span></div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno"> 656</span><span class="comment">// (_)_ __ ___ _ __ ___ _ __| |_ __ _ _ __ | |_ </span></div>
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno"> 657</span><span class="comment">// | | &#39;_ ` _ \| &#39;_ \ / _ \| &#39;__| __/ _` | &#39;_ \| __|</span></div>
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno"> 658</span><span class="comment">// | | | | | | | |_) | (_) | | | || (_| | | | | |_ </span></div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno"> 659</span><span class="comment">// |_|_| |_| |_| .__/ \___/|_| \__\__,_|_| |_|\__|</span></div>
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno"> 660</span><span class="comment">// |_| </span></div>
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno"> 661</span><span class="comment">// </span></div>
<div class="line"><a id="l00662" name="l00662"></a><span class="lineno"> 662</span><span class="comment">// Attention, vous devez implémenter et utiliser une classe Grid.</span></div>
<div class="line"><a id="l00663" name="l00663"></a><span class="lineno"> 663</span><span class="comment">// </span></div>
<div class="line"><a id="l00664" name="l00664"></a><span class="lineno"> 664</span><span class="comment">// L&#39;ébauche sous forme de commentaire plus bas est un guide </span></div>
<div class="line"><a id="l00665" name="l00665"></a><span class="lineno"> 665</span><span class="comment">// semi-contraignant.</span></div>
<div class="line"><a id="l00666" name="l00666"></a><span class="lineno"> 666</span><span class="comment">// </span></div>
<div class="line"><a id="l00667" name="l00667"></a><span class="lineno"> 667</span><span class="comment">// Toutefois :</span></div>
<div class="line"><a id="l00668" name="l00668"></a><span class="lineno"> 668</span><span class="comment">// - Vous DEVEZ implémenter l&#39;interface présentée.</span></div>
<div class="line"><a id="l00669" name="l00669"></a><span class="lineno"> 669</span><span class="comment">// - Vous POUVEZ ajouter des éléments comme vous le voulez.</span></div>
<div class="line"><a id="l00670" name="l00670"></a><span class="lineno"> 670</span><span class="comment">//</span></div>
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno"> 671</span><span class="comment">// &gt; Autrement dit, l&#39;interface proposé est minimum. </span></div>
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno"> 672</span><span class="comment">// &gt; NÉANMOINS, vous devez garder en tête l&#39;intention générique de </span></div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno"> 673</span><span class="comment">// cette classe et ne pas la spécialiser pour le contexte du projet </span></div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno"> 674</span><span class="comment">// de GOL. Par exemple, si on faisait un copier/coller du code et </span></div>
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno"> 675</span><span class="comment">// qu&#39;on modifiait le CellType pour autre chose (un Vect2D par exemple), </span></div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno"> 676</span><span class="comment">// alors, tout fonctionnerait et la classe serait encore pertinente.</span></div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno"> 677</span><span class="comment">// D&#39;ailleurs, vous remarquez que c&#39;est le seul endroit où il existe un </span></div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno"> 678</span><span class="comment">// lien entre cette classe et le projet courant.</span></div>
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno"> 679</span><span class="comment">//</span></div>
<div class="line"><a id="l00680" name="l00680"></a><span class="lineno"> 680</span><span class="comment">// De plus, vous devez gérer manuellement l&#39;allocation dynamique de la mémoire.</span></div>
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno"> 681</span><span class="comment">//</span></div>
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno"> 682</span><span class="comment">//</span></div>
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"> 683</span><span class="comment">// class Grid // Classe facilitant la gestion d&#39;un tableau dynamique 2d.</span></div>
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno"> 684</span><span class="comment">// { // </span></div>
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno"> 685</span><span class="comment">// public: // </span></div>
<div class="line"><a id="l00686" name="l00686"></a><span class="lineno"> 686</span><span class="comment">// // Définition des types //</span></div>
<div class="line"><a id="l00687" name="l00687"></a><span class="lineno"> 687</span><span class="comment">// using CellType = GOL::State; // Correspond au type fondamental de chaque cellule de la grille. </span></div>
<div class="line"><a id="l00688" name="l00688"></a><span class="lineno"> 688</span><span class="comment">// using DataType = ...; // Correspond à la grille, au conteneur de cellules. À vous de déterminer la structure de données à utiliser.</span></div>
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno"> 689</span><span class="comment">// //</span></div>
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno"> 690</span><span class="comment">// // Définition des cosntructeurs / destructeur //</span></div>
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno"> 691</span><span class="comment">// Grid(); // </span></div>
<div class="line"><a id="l00692" name="l00692"></a><span class="lineno"> 692</span><span class="comment">// Grid(size_t width, size_t height, CellType initValue = CellType{}); // </span></div>
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno"> 693</span><span class="comment">// Grid(Grid const&amp;) = delete; // </span></div>
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno"> 694</span><span class="comment">// Grid(Grid&amp;&amp;) = delete; // </span></div>
<div class="line"><a id="l00695" name="l00695"></a><span class="lineno"> 695</span><span class="comment">// Grid&amp; operator=(Grid const&amp;) = delete; // </span></div>
<div class="line"><a id="l00696" name="l00696"></a><span class="lineno"> 696</span><span class="comment">// Grid&amp; operator=(Grid&amp;&amp;) = delete; // </span></div>
<div class="line"><a id="l00697" name="l00697"></a><span class="lineno"> 697</span><span class="comment">// ~Grid(); // </span></div>
<div class="line"><a id="l00698" name="l00698"></a><span class="lineno"> 698</span><span class="comment">// //</span></div>
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno"> 699</span><span class="comment">// // Accesseurs et mutateurs de la grille // </span></div>
<div class="line"><a id="l00700" name="l00700"></a><span class="lineno"> 700</span><span class="comment">// size_t width() const; // Accesseur retournant la largeur de la grille.</span></div>
<div class="line"><a id="l00701" name="l00701"></a><span class="lineno"> 701</span><span class="comment">// size_t height() const; // Accesseur retournant la hauteur de la grille.</span></div>
<div class="line"><a id="l00702" name="l00702"></a><span class="lineno"> 702</span><span class="comment">// size_t size() const; // Accesseur retournant le nombre de cellule de la grille.</span></div>
<div class="line"><a id="l00703" name="l00703"></a><span class="lineno"> 703</span><span class="comment">// // </span></div>
<div class="line"><a id="l00704" name="l00704"></a><span class="lineno"> 704</span><span class="comment">// void resize(size_t width, size_t height, CellType initValue = CellType{}); // Mutateur modifiant la taille de la grille et initialise le contenu par la valeur spécifiée.</span></div>
<div class="line"><a id="l00705" name="l00705"></a><span class="lineno"> 705</span><span class="comment">// //</span></div>
<div class="line"><a id="l00706" name="l00706"></a><span class="lineno"> 706</span><span class="comment">// // Accesseurs et mutateurs des cellules //</span></div>
<div class="line"><a id="l00707" name="l00707"></a><span class="lineno"> 707</span><span class="comment">// CellType value(int column, int row) const; // Accesseur retournant la valeur d&#39;une cellule à une certaine coordonnée. Pour une raison de performance, cette fonction NE VALIDE PAS ses entrées. Autrement dit, c&#39;est la responsabilité du programmeur utilisateur de faire ses validations, au risque de &#39;crasher&#39; le programme.</span></div>
<div class="line"><a id="l00708" name="l00708"></a><span class="lineno"> 708</span><span class="comment">// void setValue(int column, int row, CellType value); // Mutateur modifiant la valeur d&#39;une cellule à une certaine coordonnée. Pour une raison de performance, cette fonction NE VALIDE PAS ses entrées. Autrement dit, c&#39;est la responsabilité du programmeur utilisateur de faire ses validations, au risque de &#39;crasher&#39; le programme.</span></div>
<div class="line"><a id="l00709" name="l00709"></a><span class="lineno"> 709</span><span class="comment">// // </span></div>
<div class="line"><a id="l00710" name="l00710"></a><span class="lineno"> 710</span><span class="comment">// std::optional&lt;CellType&gt; at(int column, int row) const; // Accesseur retournant la valeur d&#39;une cellule à une certaine coordonnée. Cette fonction VALIDE ses entrées et retourne un optional nul si la coordonnée est invalide. </span></div>
<div class="line"><a id="l00711" name="l00711"></a><span class="lineno"> 711</span><span class="comment">// void setAt(int column, int row, CellType value); // Mutateur modifiant la valeur d&#39;une cellule à une certaine coordonnée. Cette fonction VALIDE ses entrées et ne fait rien si la coordonnée est invalide. </span></div>
<div class="line"><a id="l00712" name="l00712"></a><span class="lineno"> 712</span><span class="comment">// // </span></div>
<div class="line"><a id="l00713" name="l00713"></a><span class="lineno"> 713</span><span class="comment">// // Accesseurs du &quot;buffer&quot; de la grille. //</span></div>
<div class="line"><a id="l00714" name="l00714"></a><span class="lineno"> 714</span><span class="comment">// DataType const &amp; data() const; // Accesseur en lecture seule sur le &quot;buffer&quot; de la grille.</span></div>
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno"> 715</span><span class="comment">// DataType &amp; data(); // Accesseur en lecture/écriture sur le &quot;buffer&quot; de la grille.</span></div>
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno"> 716</span><span class="comment">// // </span></div>
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno"> 717</span><span class="comment">// private: // </span></div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno"> 718</span><span class="comment">// // ... // Il y a des attributs essentiels au fonctionnement de cette classe.</span></div>
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno"> 719</span><span class="comment">// // ... // À vous de les déterminer. </span></div>
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno"> 720</span><span class="comment">// // ... // </span></div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno"> 721</span><span class="comment">// }; // </span></div>
<div class="line"><a id="l00722" name="l00722"></a><span class="lineno"> 722</span><span class="comment">// // </span></div>
<div class="line"><a id="l00723" name="l00723"></a><span class="lineno"> 723</span><span class="comment">// // </span></div>
<div class="line"><a id="l00724" name="l00724"></a><span class="lineno"> 724</span><span class="comment">// // </span></div>
<div class="line"><a id="l00725" name="l00725"></a><span class="lineno"> 725</span> </div>
<div class="line"><a id="l00726" name="l00726"></a><span class="lineno"> 726</span> </div>
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno"> 727</span> </div>
<div class="line"><a id="l00728" name="l00728"></a><span class="lineno"> 728</span><span class="preprocessor">#endif </span><span class="comment">// GOL_INTERFACE_H</span></div>
<div class="ttc" id="aclass_g_o_l_html"><div class="ttname"><a href="class_g_o_l.html">GOL</a></div><div class="ttdoc">Moteur de simulation d'un automate cellulaire à 2 dimensions.</div><div class="ttdef"><b>Definition</b> GOL.h:124</div></div>
<div class="ttc" id="aclass_g_o_l_html_a023f299fa22d29d595ce8f5b559556eb"><div class="ttname"><a href="class_g_o_l.html#a023f299fa22d29d595ce8f5b559556eb">GOL::updateImage</a></div><div class="ttdeci">virtual void updateImage(uint32_t *buffer, size_t buffer_size) const =0</div><div class="ttdoc">Fonction dessinant l'état de la simulation sur une image passée en paramètre.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a034f2b25cdb174e8db8b45c19c6ff227"><div class="ttname"><a href="class_g_o_l.html#a034f2b25cdb174e8db8b45c19c6ff227">GOL::color</a></div><div class="ttdeci">virtual Color color(State state) const =0</div><div class="ttdoc">Accesseur retournant la couleur d'un état.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a0f9371c1d919e8731a00f72c9e7e5338"><div class="ttname"><a href="class_g_o_l.html#a0f9371c1d919e8731a00f72c9e7e5338">GOL::width</a></div><div class="ttdeci">virtual size_t width() const =0</div><div class="ttdoc">Accesseur retournant la largeur de la grille de simualtion.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a163e43658479f589311944e45f9d2f7d"><div class="ttname"><a href="class_g_o_l.html#a163e43658479f589311944e45f9d2f7d">GOL::processOneStep</a></div><div class="ttdeci">virtual void processOneStep()=0</div><div class="ttdoc">Fonction effectuant une itération de la simulation.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a2d1ce427c1902aa396385b78aa5faacd"><div class="ttname"><a href="class_g_o_l.html#a2d1ce427c1902aa396385b78aa5faacd">GOL::GOL</a></div><div class="ttdeci">GOL()=default</div><div class="ttdoc">Constructeur par défaut.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a33f034838a60adb25e1ef26a3eb309aa"><div class="ttname"><a href="class_g_o_l.html#a33f034838a60adb25e1ef26a3eb309aa">GOL::state</a></div><div class="ttdeci">virtual State state(int x, int y) const =0</div><div class="ttdoc">Accesseur retournant l'état d'une cellule.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a3e7c43805a2ffbc09d0c76a20953d40d"><div class="ttname"><a href="class_g_o_l.html#a3e7c43805a2ffbc09d0c76a20953d40d">GOL::rule</a></div><div class="ttdeci">virtual std::string rule() const =0</div><div class="ttdoc">Accesseur retournant la chaîne de caractères correspondant à la règle courante.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a48a750d5e715c35bcddc1c5702a1c1bd"><div class="ttname"><a href="class_g_o_l.html#a48a750d5e715c35bcddc1c5702a1c1bd">GOL::randomize</a></div><div class="ttdeci">virtual void randomize(double percentAlive=0.5)=0</div><div class="ttdoc">Mutateur remplissant de façon aléatoire toutes les cellules de la grille.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a4e05013566674a629cb5046be9c4fd53"><div class="ttname"><a href="class_g_o_l.html#a4e05013566674a629cb5046be9c4fd53">GOL::setBorderManagement</a></div><div class="ttdeci">virtual void setBorderManagement(BorderManagement borderManagement)=0</div><div class="ttdoc">Mutateur modifiant la stratégie de gestion de bord.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a639614c14d19f9f200208c1b1d13e610"><div class="ttname"><a href="class_g_o_l.html#a639614c14d19f9f200208c1b1d13e610">GOL::height</a></div><div class="ttdeci">virtual size_t height() const =0</div><div class="ttdoc">Accesseur retournant la hauteur de la grille de simualtion.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a63f73ea2245fe25688a8f2b8ad444498"><div class="ttname"><a href="class_g_o_l.html#a63f73ea2245fe25688a8f2b8ad444498">GOL::IterationType</a></div><div class="ttdeci">uint32_t IterationType</div><div class="ttdoc">Le type représentant le nombre d'itération de la simulation.</div><div class="ttdef"><b>Definition</b> GOL.h:142</div></div>
<div class="ttc" id="aclass_g_o_l_html_a71f920566f6053820e4a39c1c0ffe14a"><div class="ttname"><a href="class_g_o_l.html#a71f920566f6053820e4a39c1c0ffe14a">GOL::~GOL</a></div><div class="ttdeci">virtual ~GOL()=default</div><div class="ttdoc">Destructeur.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a7e362245fec1c4411835b6ca5eb1a62b"><div class="ttname"><a href="class_g_o_l.html#a7e362245fec1c4411835b6ca5eb1a62b">GOL::size</a></div><div class="ttdeci">virtual size_t size() const =0</div><div class="ttdoc">Accesseur retournant le nombre total de cellules de la grille de simualtion.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a7fd8fe0cc3c4ea6e0234f165e0ae0909"><div class="ttname"><a href="class_g_o_l.html#a7fd8fe0cc3c4ea6e0234f165e0ae0909">GOL::fill</a></div><div class="ttdeci">virtual void fill(State state=State::dead)=0</div><div class="ttdoc">Mutateur remplissant de façon uniforme toutes les cellules de la grille.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a8dfa284246f15ca8b2fe3b72d39398c4"><div class="ttname"><a href="class_g_o_l.html#a8dfa284246f15ca8b2fe3b72d39398c4">GOL::ColorChannelType</a></div><div class="ttdeci">uint8_t ColorChannelType</div><div class="ttdoc">Le type représentant un canal de couleur.</div><div class="ttdef"><b>Definition</b> GOL.h:160</div></div>
<div class="ttc" id="aclass_g_o_l_html_a8f80ecf85fb6970fb8aa19fdc72488c5"><div class="ttname"><a href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5">GOL::BorderManagement</a></div><div class="ttdeci">BorderManagement</div><div class="ttdoc">Le type représentant la stratégie de gestion de bord.</div><div class="ttdef"><b>Definition</b> GOL.h:150</div></div>
<div class="ttc" id="aclass_g_o_l_html_a8f80ecf85fb6970fb8aa19fdc72488c5a1959daeb0273318781b4aa35f118676d"><div class="ttname"><a href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5a1959daeb0273318781b4aa35f118676d">GOL::BorderManagement::immutableAsIs</a></div><div class="ttdeci">@ immutableAsIs</div><div class="ttdoc">Les cellules du contour ne sont jamais modifiées. Elles sont laissées dans leur état courant.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a8f80ecf85fb6970fb8aa19fdc72488c5a303cf94b70e6f7dffb1e094570e1759f"><div class="ttname"><a href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5a303cf94b70e6f7dffb1e094570e1759f">GOL::BorderManagement::foreverDead</a></div><div class="ttdeci">@ foreverDead</div><div class="ttdoc">Les cellules du contour ne sont jamais modifiées. Elles sont toujours mortes.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a8f80ecf85fb6970fb8aa19fdc72488c5a6845ed92fb9b5afe34b3cb58a03143bb"><div class="ttname"><a href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5a6845ed92fb9b5afe34b3cb58a03143bb">GOL::BorderManagement::foreverAlive</a></div><div class="ttdeci">@ foreverAlive</div><div class="ttdoc">Les cellules du contour ne sont jamais modifiées. Elles sont toujours vivantes.</div></div>
<div class="ttc" id="aclass_g_o_l_html_a8f80ecf85fb6970fb8aa19fdc72488c5ad26fea1f666f50ab33e246806ed4829b"><div class="ttname"><a href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5ad26fea1f666f50ab33e246806ed4829b">GOL::BorderManagement::warping</a></div><div class="ttdeci">@ warping</div><div class="ttdoc">Les cellules du contour sont évaluées. On utilise les cellules du côté opposé de la grille pour les c...</div></div>
<div class="ttc" id="aclass_g_o_l_html_a8f80ecf85fb6970fb8aa19fdc72488c5afbe322a89bc0ba531c3f0050e3935f28"><div class="ttname"><a href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5afbe322a89bc0ba531c3f0050e3935f28">GOL::BorderManagement::mirror</a></div><div class="ttdeci">@ mirror</div><div class="ttdoc">Les cellules du contour sont évaluées. On utilise les cellules du côté opposé de la cellule pour les ...</div></div>
<div class="ttc" id="aclass_g_o_l_html_a98dbb31bb7d7ab708f69f276a0849361"><div class="ttname"><a href="class_g_o_l.html#a98dbb31bb7d7ab708f69f276a0849361">GOL::setSolidColor</a></div><div class="ttdeci">virtual void setSolidColor(State state, Color const &amp;color)=0</div><div class="ttdoc">Mutateur modifiant la couleur d'un état.</div></div>
<div class="ttc" id="aclass_g_o_l_html_ab40533a07f138789826faa52a6f644aa"><div class="ttname"><a href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">GOL::State</a></div><div class="ttdeci">State</div><div class="ttdoc">Le type représentant l'état d'une cellule.</div><div class="ttdef"><b>Definition</b> GOL.h:135</div></div>
<div class="ttc" id="aclass_g_o_l_html_ab40533a07f138789826faa52a6f644aaa7bd3d5f5b3cdb13aed632121206e729c"><div class="ttname"><a href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aaa7bd3d5f5b3cdb13aed632121206e729c">GOL::State::alive</a></div><div class="ttdeci">@ alive</div><div class="ttdoc">L'état vivant.</div></div>
<div class="ttc" id="aclass_g_o_l_html_ab40533a07f138789826faa52a6f644aaaf58e6a506c76fc2c90a7d29cbc631c2f"><div class="ttname"><a href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aaaf58e6a506c76fc2c90a7d29cbc631c2f">GOL::State::dead</a></div><div class="ttdeci">@ dead</div><div class="ttdoc">L'état mort.</div></div>
<div class="ttc" id="aclass_g_o_l_html_ab93d6b83a53990fd27e6fc152b549e41"><div class="ttname"><a href="class_g_o_l.html#ab93d6b83a53990fd27e6fc152b549e41">GOL::GOL</a></div><div class="ttdeci">GOL(size_t width, size_t height, State defaultState=State::dead)</div><div class="ttdoc">Constructeur d'initialisation personnalisé.</div><div class="ttdef"><b>Definition</b> GOL.h:244</div></div>
<div class="ttc" id="aclass_g_o_l_html_ac1855e686984d4533fc2442f6f3b89f2"><div class="ttname"><a href="class_g_o_l.html#ac1855e686984d4533fc2442f6f3b89f2">GOL::statistics</a></div><div class="ttdeci">virtual Statistics statistics() const =0</div><div class="ttdoc">Accesseurs retournant des informations générales sur la simulation en cours.</div></div>
<div class="ttc" id="aclass_g_o_l_html_acb7eb9dfd0d705bcd3093374a65071e9"><div class="ttname"><a href="class_g_o_l.html#acb7eb9dfd0d705bcd3093374a65071e9">GOL::borderManagement</a></div><div class="ttdeci">virtual BorderManagement borderManagement() const =0</div><div class="ttdoc">Accesseur retournant la stratégie courante de gestion des bords.</div></div>
<div class="ttc" id="aclass_g_o_l_html_ad7f2161a93817f8eda610319a9593f82"><div class="ttname"><a href="class_g_o_l.html#ad7f2161a93817f8eda610319a9593f82">GOL::setFromPattern</a></div><div class="ttdeci">virtual bool setFromPattern(std::string const &amp;pattern)=0</div><div class="ttdoc">Mutateur remplissant la grille par le patron passé en argument.</div></div>
<div class="ttc" id="aclass_g_o_l_html_ae15588c452004483dd12ed01f63ebb7a"><div class="ttname"><a href="class_g_o_l.html#ae15588c452004483dd12ed01f63ebb7a">GOL::fillAlternately</a></div><div class="ttdeci">virtual void fillAlternately(State firstCell=State::dead)=0</div><div class="ttdoc">Mutateur remplissant de façon alternée toutes les cellules de la grille.</div></div>
<div class="ttc" id="aclass_g_o_l_html_ae421e565fbf6ba31db44d71eba7227b3"><div class="ttname"><a href="class_g_o_l.html#ae421e565fbf6ba31db44d71eba7227b3">GOL::setState</a></div><div class="ttdeci">virtual void setState(int x, int y, State state)=0</div><div class="ttdoc">Mutateur modifiant l'état d'une cellule de la grille.</div></div>
<div class="ttc" id="aclass_g_o_l_html_aed680727507df7541f28b1b3be099364"><div class="ttname"><a href="class_g_o_l.html#aed680727507df7541f28b1b3be099364">GOL::setRule</a></div><div class="ttdeci">virtual bool setRule(std::string const &amp;rule)=0</div><div class="ttdoc">Mutateur modifiant la règle de la simulation.</div></div>
<div class="ttc" id="aclass_g_o_l_html_aee16ffdbff2b3fe49bdfb961cf85a7af"><div class="ttname"><a href="class_g_o_l.html#aee16ffdbff2b3fe49bdfb961cf85a7af">GOL::information</a></div><div class="ttdeci">virtual ImplementationInformation information() const =0</div><div class="ttdoc">Accesseurs retournant les informations sur la réalisation de l'implémentation.</div></div>
<div class="ttc" id="aclass_g_o_l_html_aeeb68a308596df6cc833915fe25b8b31"><div class="ttname"><a href="class_g_o_l.html#aeeb68a308596df6cc833915fe25b8b31">GOL::resize</a></div><div class="ttdeci">virtual void resize(size_t width, size_t height, State defaultState=State::dead)=0</div><div class="ttdoc">Mutateur modifiant la taille de la grille de simulation.</div></div>
<div class="ttc" id="aclass_g_o_l_html_af09cbd32232ddf08296e4709f2a7b7b7"><div class="ttname"><a href="class_g_o_l.html#af09cbd32232ddf08296e4709f2a7b7b7">GOL::setFromPattern</a></div><div class="ttdeci">virtual bool setFromPattern(std::string const &amp;pattern, int centerX, int centerY)=0</div><div class="ttdoc">Mutateur remplissant la grille par le patron passé en argument.</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_author_html"><div class="ttname"><a href="struct_g_o_l_1_1_author.html">GOL::Author</a></div><div class="ttdoc">Le type représentant les informations permettant d'identifier les auteurs de l'implémentation.</div><div class="ttdef"><b>Definition</b> GOL.h:203</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_author_html_a789800726a95c045b18135641bdd4a0d"><div class="ttname"><a href="struct_g_o_l_1_1_author.html#a789800726a95c045b18135641bdd4a0d">GOL::Author::lastName</a></div><div class="ttdeci">std::string lastName</div><div class="ttdoc">Le nom de famille de l'auteur.</div><div class="ttdef"><b>Definition</b> GOL.h:204</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_author_html_a852b5f97cd31f1c698bdec4ac123efb0"><div class="ttname"><a href="struct_g_o_l_1_1_author.html#a852b5f97cd31f1c698bdec4ac123efb0">GOL::Author::firstName</a></div><div class="ttdeci">std::string firstName</div><div class="ttdoc">Le prénom de l'auteur.</div><div class="ttdef"><b>Definition</b> GOL.h:205</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_author_html_ab0d7c78b1dbe43191bc19a08a3632630"><div class="ttname"><a href="struct_g_o_l_1_1_author.html#ab0d7c78b1dbe43191bc19a08a3632630">GOL::Author::studentEmail</a></div><div class="ttdeci">std::string studentEmail</div><div class="ttdoc">L'adresse courriel de l'auteur. On désire l'adresse courriel étudiante.</div><div class="ttdef"><b>Definition</b> GOL.h:206</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_color_html"><div class="ttname"><a href="struct_g_o_l_1_1_color.html">GOL::Color</a></div><div class="ttdoc">Le type représentant une couleur.</div><div class="ttdef"><b>Definition</b> GOL.h:164</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_color_html_a024ce041fb574f2531e8c3ccedfdf872"><div class="ttname"><a href="struct_g_o_l_1_1_color.html#a024ce041fb574f2531e8c3ccedfdf872">GOL::Color::green</a></div><div class="ttdeci">ColorChannelType green</div><div class="ttdoc">Le canal de couleur verte.</div><div class="ttdef"><b>Definition</b> GOL.h:166</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_color_html_a8f580a1ff7d2037d9f78bb6dcaf98a0c"><div class="ttname"><a href="struct_g_o_l_1_1_color.html#a8f580a1ff7d2037d9f78bb6dcaf98a0c">GOL::Color::red</a></div><div class="ttdeci">ColorChannelType red</div><div class="ttdoc">Le canal de couleur rouge.</div><div class="ttdef"><b>Definition</b> GOL.h:165</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_color_html_af5ba4c4c2734b3de66dc3d5ddfd33067"><div class="ttname"><a href="struct_g_o_l_1_1_color.html#af5ba4c4c2734b3de66dc3d5ddfd33067">GOL::Color::blue</a></div><div class="ttdeci">ColorChannelType blue</div><div class="ttdoc">Le canal de couleur bleue.</div><div class="ttdef"><b>Definition</b> GOL.h:167</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_implementation_information_html"><div class="ttname"><a href="struct_g_o_l_1_1_implementation_information.html">GOL::ImplementationInformation</a></div><div class="ttdoc">Le type représentant les informations documentant l'implémentation.</div><div class="ttdef"><b>Definition</b> GOL.h:218</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_implementation_information_html_a537522ac3ca67d3c0f8495558e9ec82c"><div class="ttname"><a href="struct_g_o_l_1_1_implementation_information.html#a537522ac3ca67d3c0f8495558e9ec82c">GOL::ImplementationInformation::title</a></div><div class="ttdeci">std::string title</div><div class="ttdoc">Le titre de l'implémentation.</div><div class="ttdef"><b>Definition</b> GOL.h:219</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_implementation_information_html_a74518907e65d8c8d469032ee52bb574d"><div class="ttname"><a href="struct_g_o_l_1_1_implementation_information.html#a74518907e65d8c8d469032ee52bb574d">GOL::ImplementationInformation::authors</a></div><div class="ttdeci">std::vector&lt; Author &gt; authors</div><div class="ttdoc">Les auteurs de l'implémentation.</div><div class="ttdef"><b>Definition</b> GOL.h:220</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_implementation_information_html_ad0179a43523be2c9a96a930413457cc0"><div class="ttname"><a href="struct_g_o_l_1_1_implementation_information.html#ad0179a43523be2c9a96a930413457cc0">GOL::ImplementationInformation::optionnalComments</a></div><div class="ttdeci">std::vector&lt; std::string &gt; optionnalComments</div><div class="ttdoc">Des commentaires optionnels.</div><div class="ttdef"><b>Definition</b> GOL.h:222</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_implementation_information_html_ae17a4cf1efe7db0c0191a2e1ce9b0ea3"><div class="ttname"><a href="struct_g_o_l_1_1_implementation_information.html#ae17a4cf1efe7db0c0191a2e1ce9b0ea3">GOL::ImplementationInformation::answers</a></div><div class="ttdeci">std::vector&lt; std::string &gt; answers</div><div class="ttdoc">Les réponses aux questions du laboratoire.</div><div class="ttdef"><b>Definition</b> GOL.h:221</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html">GOL::Statistics</a></div><div class="ttdoc">Le type représentant des données statistiques de la simulation.</div><div class="ttdef"><b>Definition</b> GOL.h:186</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html_a0c7ac4a263ba69f0e1a453039037b3b9"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html#a0c7ac4a263ba69f0e1a453039037b3b9">GOL::Statistics::totalDeadAbs</a></div><div class="ttdeci">std::optional&lt; size_t &gt; totalDeadAbs</div><div class="ttdoc">Le nombre total de cellules mortes en valeur absolue.</div><div class="ttdef"><b>Definition</b> GOL.h:193</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html_a0eb0a1aaa2d76c389b3d49ea1c6c9bed"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html#a0eb0a1aaa2d76c389b3d49ea1c6c9bed">GOL::Statistics::totalDeadRel</a></div><div class="ttdeci">std::optional&lt; float &gt; totalDeadRel</div><div class="ttdoc">Le nombre total de cellules mortes en valeur relative du nombre total de cellules.</div><div class="ttdef"><b>Definition</b> GOL.h:195</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html_a26d329b7b472a18fda78e9e4399effbc"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html#a26d329b7b472a18fda78e9e4399effbc">GOL::Statistics::width</a></div><div class="ttdeci">std::optional&lt; size_t &gt; width</div><div class="ttdoc">La largeur de la grille.</div><div class="ttdef"><b>Definition</b> GOL.h:189</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html_a94192cc3db009bc06ce178bc70093f52"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html#a94192cc3db009bc06ce178bc70093f52">GOL::Statistics::iteration</a></div><div class="ttdeci">std::optional&lt; IterationType &gt; iteration</div><div class="ttdoc">Le nombre d'itération de la simulation.</div><div class="ttdef"><b>Definition</b> GOL.h:192</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html_a980f0bf8ca7d7838f29c18069b406284"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html#a980f0bf8ca7d7838f29c18069b406284">GOL::Statistics::totalCells</a></div><div class="ttdeci">std::optional&lt; size_t &gt; totalCells</div><div class="ttdoc">Le nombre total de cellules.</div><div class="ttdef"><b>Definition</b> GOL.h:191</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html_aaf2de20f90d08fe72e7c19bafdabf9a7"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html#aaf2de20f90d08fe72e7c19bafdabf9a7">GOL::Statistics::borderManagement</a></div><div class="ttdeci">std::optional&lt; BorderManagement &gt; borderManagement</div><div class="ttdoc">La stratégie de gestion de bord.</div><div class="ttdef"><b>Definition</b> GOL.h:188</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html_ab27d09a97457ede162c76476105e13e1"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html#ab27d09a97457ede162c76476105e13e1">GOL::Statistics::totalAliveAbs</a></div><div class="ttdeci">std::optional&lt; size_t &gt; totalAliveAbs</div><div class="ttdoc">Le nombre total de cellules vivantes en valeur absolue.</div><div class="ttdef"><b>Definition</b> GOL.h:194</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html_acc45f6dc5a08918b5a2a4a4a54c0efd3"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html#acc45f6dc5a08918b5a2a4a4a54c0efd3">GOL::Statistics::height</a></div><div class="ttdeci">std::optional&lt; size_t &gt; height</div><div class="ttdoc">La hauteur de la grille.</div><div class="ttdef"><b>Definition</b> GOL.h:190</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html_ace8337d109af59325bdcb5d58b801df4"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html#ace8337d109af59325bdcb5d58b801df4">GOL::Statistics::rule</a></div><div class="ttdeci">std::optional&lt; std::string &gt; rule</div><div class="ttdoc">La règle de la simulation exprimé par la chaîne de caractères de format &quot;B###/S###&quot;.</div><div class="ttdef"><b>Definition</b> GOL.h:187</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html_ae96e52cf979cb8cfe8841b92c2bbc9eb"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html#ae96e52cf979cb8cfe8841b92c2bbc9eb">GOL::Statistics::tendencyAbs</a></div><div class="ttdeci">std::optional&lt; int &gt; tendencyAbs</div><div class="ttdoc">La tendance de la variation entre le nombre de cellules mortes et vivantes en valeur absolue.</div><div class="ttdef"><b>Definition</b> GOL.h:197</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html_ae981c7b738fd3cf1b4c6cbf006f425b0"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html#ae981c7b738fd3cf1b4c6cbf006f425b0">GOL::Statistics::tendencyRel</a></div><div class="ttdeci">std::optional&lt; float &gt; tendencyRel</div><div class="ttdoc">La tendance de la variation entre le nombre de cellules mortes et vivantes en valeur relative.</div><div class="ttdef"><b>Definition</b> GOL.h:198</div></div>
<div class="ttc" id="astruct_g_o_l_1_1_statistics_html_af9cead801f8e57055bb74ec119aa4908"><div class="ttname"><a href="struct_g_o_l_1_1_statistics.html#af9cead801f8e57055bb74ec119aa4908">GOL::Statistics::totalAliveRel</a></div><div class="ttdeci">std::optional&lt; float &gt; totalAliveRel</div><div class="ttdoc">Le nombre total de cellules vivantes en valeur relative du nombre total de cellules.</div><div class="ttdef"><b>Definition</b> GOL.h:196</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>

View File

@ -0,0 +1,92 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GOL: Class List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo_64.png"/></td>
<td id="projectalign">
<div id="projectname">GOL
</div>
<div id="projectbrief">Game Of Life</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">Class List</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_g_o_l.html" target="_self">GOL</a></td><td class="desc">Moteur de simulation d'un automate cellulaire à 2 dimensions </td></tr>
<tr id="row_0_0_" class="odd"><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="struct_g_o_l_1_1_author.html" target="_self">Author</a></td><td class="desc">Le type représentant les informations permettant d'identifier les auteurs de l'implémentation </td></tr>
<tr id="row_0_1_" 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="struct_g_o_l_1_1_color.html" target="_self">Color</a></td><td class="desc">Le type représentant une couleur </td></tr>
<tr id="row_0_2_" class="odd"><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="struct_g_o_l_1_1_implementation_information.html" target="_self">ImplementationInformation</a></td><td class="desc">Le type représentant les informations documentant l'implémentation </td></tr>
<tr id="row_0_3_" 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="struct_g_o_l_1_1_statistics.html" target="_self">Statistics</a></td><td class="desc">Le type représentant des données statistiques de la simulation </td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>

BIN
GOLAppLib/doc/html/bc_s.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

View File

@ -0,0 +1,114 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GOL: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo_64.png"/></td>
<td id="projectalign">
<div id="projectname">GOL
</div>
<div id="projectbrief">Game Of Life</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">GOL Member List</div></div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="class_g_o_l.html">GOL</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5">BorderManagement</a> enum name</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#acb7eb9dfd0d705bcd3093374a65071e9">borderManagement</a>() const =0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#a034f2b25cdb174e8db8b45c19c6ff227">color</a>(State state) const =0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#a8dfa284246f15ca8b2fe3b72d39398c4">ColorChannelType</a> typedef</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#a7fd8fe0cc3c4ea6e0234f165e0ae0909">fill</a>(State state=State::dead)=0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#ae15588c452004483dd12ed01f63ebb7a">fillAlternately</a>(State firstCell=State::dead)=0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#a2d1ce427c1902aa396385b78aa5faacd">GOL</a>()=default</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#ab93d6b83a53990fd27e6fc152b549e41">GOL</a>(size_t width, size_t height, State defaultState=State::dead)</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#a639614c14d19f9f200208c1b1d13e610">height</a>() const =0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#aee16ffdbff2b3fe49bdfb961cf85a7af">information</a>() const =0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#a63f73ea2245fe25688a8f2b8ad444498">IterationType</a> typedef</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#a163e43658479f589311944e45f9d2f7d">processOneStep</a>()=0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#a48a750d5e715c35bcddc1c5702a1c1bd">randomize</a>(double percentAlive=0.5)=0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#aeeb68a308596df6cc833915fe25b8b31">resize</a>(size_t width, size_t height, State defaultState=State::dead)=0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#a3e7c43805a2ffbc09d0c76a20953d40d">rule</a>() const =0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#a4e05013566674a629cb5046be9c4fd53">setBorderManagement</a>(BorderManagement borderManagement)=0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#af09cbd32232ddf08296e4709f2a7b7b7">setFromPattern</a>(std::string const &amp;pattern, int centerX, int centerY)=0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#ad7f2161a93817f8eda610319a9593f82">setFromPattern</a>(std::string const &amp;pattern)=0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#aed680727507df7541f28b1b3be099364">setRule</a>(std::string const &amp;rule)=0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#a98dbb31bb7d7ab708f69f276a0849361">setSolidColor</a>(State state, Color const &amp;color)=0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#ae421e565fbf6ba31db44d71eba7227b3">setState</a>(int x, int y, State state)=0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#a7e362245fec1c4411835b6ca5eb1a62b">size</a>() const =0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">State</a> enum name</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#a33f034838a60adb25e1ef26a3eb309aa">state</a>(int x, int y) const =0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#ac1855e686984d4533fc2442f6f3b89f2">statistics</a>() const =0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#a023f299fa22d29d595ce8f5b559556eb">updateImage</a>(uint32_t *buffer, size_t buffer_size) const =0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_g_o_l.html#a0f9371c1d919e8731a00f72c9e7e5338">width</a>() const =0</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_g_o_l.html#a71f920566f6053820e4a39c1c0ffe14a">~GOL</a>()=default</td><td class="entry"><a class="el" href="class_g_o_l.html">GOL</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,101 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GOL: Class Index</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo_64.png"/></td>
<td id="projectalign">
<div id="projectname">GOL
</div>
<div id="projectbrief">Game Of Life</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">Class Index</div></div>
</div><!--header-->
<div class="contents">
<div class="qindex"><a class="qindex" href="#letter_A">A</a>&#160;|&#160;<a class="qindex" href="#letter_C">C</a>&#160;|&#160;<a class="qindex" href="#letter_G">G</a>&#160;|&#160;<a class="qindex" href="#letter_I">I</a>&#160;|&#160;<a class="qindex" href="#letter_S">S</a></div>
<div class="classindex">
<dl class="classindex even">
<dt class="alphachar"><a id="letter_A" name="letter_A">A</a></dt>
<dd><a class="el" href="struct_g_o_l_1_1_author.html">GOL::Author</a></dd></dl>
<dl class="classindex odd">
<dt class="alphachar"><a id="letter_C" name="letter_C">C</a></dt>
<dd><a class="el" href="struct_g_o_l_1_1_color.html">GOL::Color</a></dd></dl>
<dl class="classindex even">
<dt class="alphachar"><a id="letter_G" name="letter_G">G</a></dt>
<dd><a class="el" href="class_g_o_l.html">GOL</a></dd></dl>
<dl class="classindex odd">
<dt class="alphachar"><a id="letter_I" name="letter_I">I</a></dt>
<dd><a class="el" href="struct_g_o_l_1_1_implementation_information.html">GOL::ImplementationInformation</a></dd></dl>
<dl class="classindex even">
<dt class="alphachar"><a id="letter_S" name="letter_S">S</a></dt>
<dd><a class="el" href="struct_g_o_l_1_1_statistics.html">GOL::Statistics</a></dd></dl>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 B

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" width="16" height="24" viewBox="0 0 80 60" id="doc" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
<g style="fill:#4665A2">
<path d="m 14,-1.1445312 c -2.824372,0 -5.1445313,2.320159 -5.1445312,5.1445312 v 72 c 0,2.824372 2.3201592,5.144531 5.1445312,5.144531 h 52 c 2.824372,0 5.144531,-2.320159 5.144531,-5.144531 V 23.699219 a 1.1447968,1.1447968 0 0 0 -0.01563,-0.1875 C 70.977847,22.605363 70.406495,21.99048 70.007812,21.591797 L 48.208984,-0.20898438 C 47.606104,-0.81186474 46.804652,-1.1445313 46,-1.1445312 Z m 1.144531,6.2890624 H 42.855469 V 24 c 0,1.724372 1.420159,3.144531 3.144531,3.144531 H 64.855469 V 74.855469 H 15.144531 Z m 34,4.4179688 L 60.4375,20.855469 H 49.144531 Z"/>
</g>
<g style="fill:#D8DFEE;stroke-width:0">
<path d="M 3.0307167,13.993174 V 7.0307167 h 2.7576792 2.7576792 v 1.8826151 c 0,1.2578262 0.0099,1.9287572 0.029818,2.0216512 0.03884,0.181105 0.168631,0.348218 0.33827,0.43554 l 0.1355017,0.06975 1.9598092,0.0079 1.959809,0.0078 v 4.749829 4.749829 H 8 3.0307167 Z" transform="matrix(5,0,0,5,0,-30)" />
<path d="M 9.8293515,9.0581469 V 7.9456453 l 1.1058025,1.1055492 c 0.608191,0.6080521 1.105802,1.1086775 1.105802,1.1125015 0,0.0038 -0.497611,0.007 -1.105802,0.007 H 9.8293515 Z" transform="matrix(5,0,0,5,0,-30)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" width="16" height="24" viewBox="0 0 80 60" id="doc" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
<g style="fill:#C4CFE5">
<path d="m 14,-1.1445312 c -2.824372,0 -5.1445313,2.320159 -5.1445312,5.1445312 v 72 c 0,2.824372 2.3201592,5.144531 5.1445312,5.144531 h 52 c 2.824372,0 5.144531,-2.320159 5.144531,-5.144531 V 23.699219 a 1.1447968,1.1447968 0 0 0 -0.01563,-0.1875 C 70.977847,22.605363 70.406495,21.99048 70.007812,21.591797 L 48.208984,-0.20898438 C 47.606104,-0.81186474 46.804652,-1.1445313 46,-1.1445312 Z m 1.144531,6.2890624 H 42.855469 V 24 c 0,1.724372 1.420159,3.144531 3.144531,3.144531 H 64.855469 V 74.855469 H 15.144531 Z m 34,4.4179688 L 60.4375,20.855469 H 49.144531 Z"/>
</g>
<g style="fill:#4665A2;stroke-width:0">
<path d="M 3.0307167,13.993174 V 7.0307167 h 2.7576792 2.7576792 v 1.8826151 c 0,1.2578262 0.0099,1.9287572 0.029818,2.0216512 0.03884,0.181105 0.168631,0.348218 0.33827,0.43554 l 0.1355017,0.06975 1.9598092,0.0079 1.959809,0.0078 v 4.749829 4.749829 H 8 3.0307167 Z" transform="matrix(5,0,0,5,0,-30)" />
<path d="M 9.8293515,9.0581469 V 7.9456453 l 1.1058025,1.1055492 c 0.608191,0.6080521 1.105802,1.1086775 1.105802,1.1125015 0,0.0038 -0.497611,0.007 -1.105802,0.007 H 9.8293515 Z" transform="matrix(5,0,0,5,0,-30)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,192 @@
/*
@licstart The following is the entire license notice for the JavaScript code in this file.
The MIT License (MIT)
Copyright (C) 1997-2020 by Dimitri van Heesch
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@licend The above is the entire license notice for the JavaScript code in this file
*/
function toggleVisibility(linkObj)
{
var base = $(linkObj).attr('id');
var summary = $('#'+base+'-summary');
var content = $('#'+base+'-content');
var trigger = $('#'+base+'-trigger');
var src=$(trigger).attr('src');
if (content.is(':visible')===true) {
content.hide();
summary.show();
$(linkObj).addClass('closed').removeClass('opened');
$(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
} else {
content.show();
summary.hide();
$(linkObj).removeClass('closed').addClass('opened');
$(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
}
return false;
}
function updateStripes()
{
$('table.directory tr').
removeClass('even').filter(':visible:even').addClass('even');
$('table.directory tr').
removeClass('odd').filter(':visible:odd').addClass('odd');
}
function toggleLevel(level)
{
$('table.directory tr').each(function() {
var l = this.id.split('_').length-1;
var i = $('#img'+this.id.substring(3));
var a = $('#arr'+this.id.substring(3));
if (l<level+1) {
i.removeClass('iconfopen iconfclosed').addClass('iconfopen');
a.html('&#9660;');
$(this).show();
} else if (l==level+1) {
i.removeClass('iconfclosed iconfopen').addClass('iconfclosed');
a.html('&#9658;');
$(this).show();
} else {
$(this).hide();
}
});
updateStripes();
}
function toggleFolder(id)
{
// the clicked row
var currentRow = $('#row_'+id);
// all rows after the clicked row
var rows = currentRow.nextAll("tr");
var re = new RegExp('^row_'+id+'\\d+_$', "i"); //only one sub
// only match elements AFTER this one (can't hide elements before)
var childRows = rows.filter(function() { return this.id.match(re); });
// first row is visible we are HIDING
if (childRows.filter(':first').is(':visible')===true) {
// replace down arrow by right arrow for current row
var currentRowSpans = currentRow.find("span");
currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
currentRowSpans.filter(".arrow").html('&#9658;');
rows.filter("[id^=row_"+id+"]").hide(); // hide all children
} else { // we are SHOWING
// replace right arrow by down arrow for current row
var currentRowSpans = currentRow.find("span");
currentRowSpans.filter(".iconfclosed").removeClass("iconfclosed").addClass("iconfopen");
currentRowSpans.filter(".arrow").html('&#9660;');
// replace down arrows by right arrows for child rows
var childRowsSpans = childRows.find("span");
childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
childRowsSpans.filter(".arrow").html('&#9658;');
childRows.show(); //show all children
}
updateStripes();
}
function toggleInherit(id)
{
var rows = $('tr.inherit.'+id);
var img = $('tr.inherit_header.'+id+' img');
var src = $(img).attr('src');
if (rows.filter(':first').is(':visible')===true) {
rows.css('display','none');
$(img).attr('src',src.substring(0,src.length-8)+'closed.png');
} else {
rows.css('display','table-row'); // using show() causes jump in firefox
$(img).attr('src',src.substring(0,src.length-10)+'open.png');
}
}
var opened=true;
// in case HTML_COLORSTYLE is LIGHT or DARK the vars will be replaced, so we write them out explicitly and use double quotes
var plusImg = [ "var(--fold-plus-image)", "var(--fold-plus-image-relpath)" ];
var minusImg = [ "var(--fold-minus-image)", "var(--fold-minus-image-relpath)" ];
// toggle all folding blocks
function codefold_toggle_all(relPath) {
if (opened) {
$('#fold_all').css('background-image',plusImg[relPath]);
$('div[id^=foldopen]').hide();
$('div[id^=foldclosed]').show();
} else {
$('#fold_all').css('background-image',minusImg[relPath]);
$('div[id^=foldopen]').show();
$('div[id^=foldclosed]').hide();
}
opened=!opened;
}
// toggle single folding block
function codefold_toggle(id) {
$('#foldopen'+id).toggle();
$('#foldclosed'+id).toggle();
}
function init_codefold(relPath) {
$('span[class=lineno]').css(
{'padding-right':'4px',
'margin-right':'2px',
'display':'inline-block',
'width':'54px',
'background':'linear-gradient(var(--fold-line-color),var(--fold-line-color)) no-repeat 46px/2px 100%'
});
// add global toggle to first line
$('span[class=lineno]:first').append('<span class="fold" id="fold_all" '+
'onclick="javascript:codefold_toggle_all('+relPath+');" '+
'style="background-image:'+minusImg[relPath]+';"></span>');
// add vertical lines to other rows
$('span[class=lineno]').not(':eq(0)').append('<span class="fold"></span>');
// add toggle controls to lines with fold divs
$('div[class=foldopen]').each(function() {
// extract specific id to use
var id = $(this).attr('id').replace('foldopen','');
// extract start and end foldable fragment attributes
var start = $(this).attr('data-start');
var end = $(this).attr('data-end');
// replace normal fold span with controls for the first line of a foldable fragment
$(this).find('span[class=fold]:first').replaceWith('<span class="fold" '+
'onclick="javascript:codefold_toggle(\''+id+'\');" '+
'style="background-image:'+minusImg[relPath]+';"></span>');
// append div for folded (closed) representation
$(this).after('<div id="foldclosed'+id+'" class="foldclosed" style="display:none;"></div>');
// extract the first line from the "open" section to represent closed content
var line = $(this).children().first().clone();
// remove any glow that might still be active on the original line
$(line).removeClass('glow');
if (start) {
// if line already ends with a start marker (e.g. trailing {), remove it
$(line).html($(line).html().replace(new RegExp('\\s*'+start+'\\s*$','g'),''));
}
// replace minus with plus symbol
$(line).find('span[class=fold]').css('background-image',plusImg[relPath]);
// append ellipsis
$(line).append(' '+start+'<a href="javascript:codefold_toggle(\''+id+'\')">&#8230;</a>'+end);
// insert constructed line into closed div
$('#foldclosed'+id).html(line);
});
}
/* @license-end */

View File

@ -0,0 +1,88 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GOL: File List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo_64.png"/></td>
<td id="projectalign">
<div id="projectname">GOL
</div>
<div id="projectbrief">Game Of Life</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">File List</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock">Here is a list of all documented files with brief descriptions:</div><div class="directory">
<table class="directory">
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="_g_o_l_8h_source.html"><span class="icondoc"></span></a><b>GOL.h</b></td><td class="desc"></td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" width="16" height="24" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
<g style="fill:#4665A2;">
<path d="M1,5.998l-0,16.002c-0,1.326 0.527,2.598 1.464,3.536c0.938,0.937 2.21,1.464 3.536,1.464c5.322,0 14.678,-0 20,0c1.326,0 2.598,-0.527 3.536,-1.464c0.937,-0.938 1.464,-2.21 1.464,-3.536c0,-3.486 0,-8.514 0,-12c0,-1.326 -0.527,-2.598 -1.464,-3.536c-0.938,-0.937 -2.21,-1.464 -3.536,-1.464c-0,0 -10.586,0 -10.586,0c0,-0 -3.707,-3.707 -3.707,-3.707c-0.187,-0.188 -0.442,-0.293 -0.707,-0.293l-5.002,0c-2.76,0 -4.998,2.238 -4.998,4.998Zm2,-0l-0,16.002c-0,0.796 0.316,1.559 0.879,2.121c0.562,0.563 1.325,0.879 2.121,0.879l20,0c0.796,0 1.559,-0.316 2.121,-0.879c0.563,-0.562 0.879,-1.325 0.879,-2.121c0,-3.486 0,-8.514 0,-12c0,-0.796 -0.316,-1.559 -0.879,-2.121c-0.562,-0.563 -1.325,-0.879 -2.121,-0.879c-7.738,0 -11,0 -11,0c-0.265,0 -0.52,-0.105 -0.707,-0.293c-0,0 -3.707,-3.707 -3.707,-3.707c-0,0 -4.588,0 -4.588,0c-1.656,0 -2.998,1.342 -2.998,2.998Z"/>
</g>
<g style="fill:#D8DFEE;stroke-width:0;">
<path d="M 5.6063709,24.951908 C 4.3924646,24.775461 3.4197129,23.899792 3.1031586,22.698521 L 3.0216155,22.389078 V 13.997725 5.6063709 L 3.1037477,5.2982247 C 3.3956682,4.2029881 4.1802788,3.412126 5.2787258,3.105917 5.5646428,3.0262132 5.6154982,3.0244963 8.0611641,3.0119829 l 2.4911989,-0.012746 1.932009,1.9300342 c 1.344142,1.3427669 1.976319,1.9498819 2.07763,1.9952626 0.137456,0.061571 0.474218,0.066269 6.006826,0.083795 l 5.861206,0.018568 0.29124,0.081916 c 1.094895,0.3079569 1.890116,1.109428 2.175567,2.192667 l 0.08154,0.3094425 V 16 22.389078 l -0.08154,0.309443 c -0.28446,1.079482 -1.086411,1.888085 -2.175567,2.193614 l -0.29124,0.0817 -10.302616,0.0049 c -5.700217,0.0027 -10.4001945,-0.0093 -10.5210471,-0.02684 z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" width="16" height="24" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
<g style="fill:#C4CFE5;">
<path d="M1,5.998l-0,16.002c-0,1.326 0.527,2.598 1.464,3.536c0.938,0.937 2.21,1.464 3.536,1.464c5.322,0 14.678,-0 20,0c1.326,0 2.598,-0.527 3.536,-1.464c0.937,-0.938 1.464,-2.21 1.464,-3.536c0,-3.486 0,-8.514 0,-12c0,-1.326 -0.527,-2.598 -1.464,-3.536c-0.938,-0.937 -2.21,-1.464 -3.536,-1.464c-0,0 -10.586,0 -10.586,0c0,-0 -3.707,-3.707 -3.707,-3.707c-0.187,-0.188 -0.442,-0.293 -0.707,-0.293l-5.002,0c-2.76,0 -4.998,2.238 -4.998,4.998Zm2,-0l-0,16.002c-0,0.796 0.316,1.559 0.879,2.121c0.562,0.563 1.325,0.879 2.121,0.879l20,0c0.796,0 1.559,-0.316 2.121,-0.879c0.563,-0.562 0.879,-1.325 0.879,-2.121c0,-3.486 0,-8.514 0,-12c0,-0.796 -0.316,-1.559 -0.879,-2.121c-0.562,-0.563 -1.325,-0.879 -2.121,-0.879c-7.738,0 -11,0 -11,0c-0.265,0 -0.52,-0.105 -0.707,-0.293c-0,0 -3.707,-3.707 -3.707,-3.707c-0,0 -4.588,0 -4.588,0c-1.656,0 -2.998,1.342 -2.998,2.998Z"/>
</g>
<g style="fill:#4665A2;stroke-width:0;">
<path d="M 5.6063709,24.951908 C 4.3924646,24.775461 3.4197129,23.899792 3.1031586,22.698521 L 3.0216155,22.389078 V 13.997725 5.6063709 L 3.1037477,5.2982247 C 3.3956682,4.2029881 4.1802788,3.412126 5.2787258,3.105917 5.5646428,3.0262132 5.6154982,3.0244963 8.0611641,3.0119829 l 2.4911989,-0.012746 1.932009,1.9300342 c 1.344142,1.3427669 1.976319,1.9498819 2.07763,1.9952626 0.137456,0.061571 0.474218,0.066269 6.006826,0.083795 l 5.861206,0.018568 0.29124,0.081916 c 1.094895,0.3079569 1.890116,1.109428 2.175567,2.192667 l 0.08154,0.3094425 V 16 22.389078 l -0.08154,0.309443 c -0.28446,1.079482 -1.086411,1.888085 -2.175567,2.193614 l -0.29124,0.0817 -10.302616,0.0049 c -5.700217,0.0027 -10.4001945,-0.0093 -10.5210471,-0.02684 z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" width="16" height="24" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
<g style="fill:#4665A2;">
<path
d="M1,5.998l0,16.002c-0,1.326 0.527,2.598 1.464,3.536c0.938,0.937 2.21,1.464 3.536,1.464c5.322,0 14.678,-0 20,0c1.326,0 2.598,-0.527 3.536,-1.464c0.937,-0.938 1.464,-2.21 1.464,-3.536c0,-3.486 0,-8.514 0,-12c0,-1.326 -0.527,-2.598 -1.464,-3.536c-0.938,-0.937 -2.21,-1.464 -3.536,-1.464c-0,0 -10.586,0 -10.586,0c0,-0 -3.707,-3.707 -3.707,-3.707c-0.187,-0.188 -0.442,-0.293 -0.707,-0.293l-5.002,0c-2.76,0 -4.998,2.238 -4.998,4.998Zm28,14.415l-3.456,-5.925c-0.538,-0.921 -1.524,-1.488 -2.591,-1.488c-0,0 -12.905,0 -12.906,0c-1.067,0 -2.053,0.567 -2.591,1.488l-4.453,7.635c0.03,0.751 0.342,1.465 0.876,1.998c0.562,0.563 1.325,0.879 2.121,0.879l20,0c0.796,0 1.559,-0.316 2.121,-0.879c0.563,-0.562 0.879,-1.325 0.879,-2.121l0,-1.587Zm0,-3.969l0,-6.444c0,-0.796 -0.316,-1.559 -0.879,-2.121c-0.562,-0.563 -1.325,-0.879 -2.121,-0.879c-7.738,0 -11,0 -11,0c-0.265,0 -0.52,-0.105 -0.707,-0.293c-0,0 -3.707,-3.707 -3.707,-3.707c-0,0 -4.588,0 -4.588,0c-1.656,0 -2.998,1.342 -2.998,2.998l0,12.16l2.729,-4.677c0.896,-1.536 2.54,-2.481 4.318,-2.481c3.354,0 9.552,0 12.906,0c1.778,0 3.422,0.945 4.318,2.481l1.729,2.963Z"
id="path2" />
</g>
<g style="fill:#D8DFEE;stroke-width:0;">
<path
d="M 5.3879408,24.913408 C 4.1598821,24.650818 3.1571088,23.558656 3.053503,22.370876 L 3.0312746,22.116041 5.2606813,18.293515 C 6.486855,16.191126 7.5598351,14.372696 7.6450818,14.25256 8.0043056,13.746312 8.5423079,13.363007 9.2104664,13.137285 l 0.2548351,-0.08609 6.9294785,-0.0097 c 6.805096,-0.0095 6.934944,-0.0084 7.234011,0.06267 0.695577,0.165199 1.290483,0.557253 1.714887,1.130141 0.08158,0.110125 0.938747,1.556711 1.90481,3.214634 l 1.756479,3.014406 -0.0186,0.971942 c -0.01387,0.724723 -0.03365,1.032131 -0.07778,1.208575 -0.242792,0.970733 -0.88732,1.735415 -1.772382,2.102793 -0.58835,0.244217 0.247209,0.227436 -11.161974,0.224159 -9.0281537,-0.0026 -10.3636023,-0.0098 -10.5862902,-0.05746 z"
id="path199" /><path
d="M 3.0126385,11.849829 3.0235061,5.5881684 3.1020974,5.2969283 C 3.3478146,4.3863605 3.93576,3.6757372 4.756668,3.2971229 5.3293315,3.0330025 5.1813272,3.0450949 8.0130385,3.0310668 l 2.5522875,-0.012644 1.918693,1.9107086 c 1.404146,1.3983023 1.964459,1.9332518 2.089351,1.9947704 l 0.170657,0.084062 5.897611,0.019367 c 5.553257,0.018236 5.910365,0.023213 6.116041,0.085231 1.102257,0.3323708 1.857042,1.1184422 2.154229,2.2435244 0.05645,0.2137228 0.06373,0.5643981 0.07519,3.6220748 0.0076,2.032169 -5.42e-4,3.370979 -0.02041,3.349261 -0.0182,-0.0199 -0.414296,-0.691472 -0.880217,-1.492382 -0.46592,-0.80091 -0.93093,-1.577954 -1.033354,-1.726764 -0.735716,-1.0689 -1.983568,-1.844244 -3.315972,-2.060353 -0.280375,-0.04548 -1.345158,-0.05334 -7.238708,-0.05347 -4.713933,-1.09e-4 -6.9931825,0.01221 -7.1717862,0.03874 -1.3002273,0.193134 -2.4770512,0.889916 -3.283628,1.944192 -0.1076466,0.140705 -0.8359664,1.353438 -1.6184885,2.694963 L 3.0017709,18.11149 Z"
id="path201" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" width="16" height="24" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
<g style="fill:#C4CFE5;">
<path d="M1,5.998l0,16.002c-0,1.326 0.527,2.598 1.464,3.536c0.938,0.937 2.21,1.464 3.536,1.464c5.322,0 14.678,-0 20,0c1.326,0 2.598,-0.527 3.536,-1.464c0.937,-0.938 1.464,-2.21 1.464,-3.536c0,-3.486 0,-8.514 0,-12c0,-1.326 -0.527,-2.598 -1.464,-3.536c-0.938,-0.937 -2.21,-1.464 -3.536,-1.464c-0,0 -10.586,0 -10.586,0c0,-0 -3.707,-3.707 -3.707,-3.707c-0.187,-0.188 -0.442,-0.293 -0.707,-0.293l-5.002,0c-2.76,0 -4.998,2.238 -4.998,4.998Zm28,14.415l-3.456,-5.925c-0.538,-0.921 -1.524,-1.488 -2.591,-1.488c-0,0 -12.905,0 -12.906,0c-1.067,0 -2.053,0.567 -2.591,1.488l-4.453,7.635c0.03,0.751 0.342,1.465 0.876,1.998c0.562,0.563 1.325,0.879 2.121,0.879l20,0c0.796,0 1.559,-0.316 2.121,-0.879c0.563,-0.562 0.879,-1.325 0.879,-2.121l0,-1.587Zm0,-3.969l0,-6.444c0,-0.796 -0.316,-1.559 -0.879,-2.121c-0.562,-0.563 -1.325,-0.879 -2.121,-0.879c-7.738,0 -11,0 -11,0c-0.265,0 -0.52,-0.105 -0.707,-0.293c-0,0 -3.707,-3.707 -3.707,-3.707c-0,0 -4.588,0 -4.588,0c-1.656,0 -2.998,1.342 -2.998,2.998l0,12.16l2.729,-4.677c0.896,-1.536 2.54,-2.481 4.318,-2.481c3.354,0 9.552,0 12.906,0c1.778,0 3.422,0.945 4.318,2.481l1.729,2.963Z"/>
</g>
<g style="fill:#4665A2;stroke-width:0;">
<path d="M 5.3879408,24.913408 C 4.1598821,24.650818 3.1571088,23.558656 3.053503,22.370876 L 3.0312746,22.116041 5.2606813,18.293515 C 6.486855,16.191126 7.5598351,14.372696 7.6450818,14.25256 8.0043056,13.746312 8.5423079,13.363007 9.2104664,13.137285 l 0.2548351,-0.08609 6.9294785,-0.0097 c 6.805096,-0.0095 6.934944,-0.0084 7.234011,0.06267 0.695577,0.165199 1.290483,0.557253 1.714887,1.130141 0.08158,0.110125 0.938747,1.556711 1.90481,3.214634 l 1.756479,3.014406 -0.0186,0.971942 c -0.01387,0.724723 -0.03365,1.032131 -0.07778,1.208575 -0.242792,0.970733 -0.88732,1.735415 -1.772382,2.102793 -0.58835,0.244217 0.247209,0.227436 -11.161974,0.224159 -9.0281537,-0.0026 -10.3636023,-0.0098 -10.5862902,-0.05746 z" />
<path d="M 3.0126385,11.849829 3.0235061,5.5881684 3.1020974,5.2969283 C 3.3478146,4.3863605 3.93576,3.6757372 4.756668,3.2971229 5.3293315,3.0330025 5.1813272,3.0450949 8.0130385,3.0310668 l 2.5522875,-0.012644 1.918693,1.9107086 c 1.404146,1.3983023 1.964459,1.9332518 2.089351,1.9947704 l 0.170657,0.084062 5.897611,0.019367 c 5.553257,0.018236 5.910365,0.023213 6.116041,0.085231 1.102257,0.3323708 1.857042,1.1184422 2.154229,2.2435244 0.05645,0.2137228 0.06373,0.5643981 0.07519,3.6220748 0.0076,2.032169 -5.42e-4,3.370979 -0.02041,3.349261 -0.0182,-0.0199 -0.414296,-0.691472 -0.880217,-1.492382 -0.46592,-0.80091 -0.93093,-1.577954 -1.033354,-1.726764 -0.735716,-1.0689 -1.983568,-1.844244 -3.315972,-2.060353 -0.280375,-0.04548 -1.345158,-0.05334 -7.238708,-0.05347 -4.713933,-1.09e-4 -6.9931825,0.01221 -7.1717862,0.03874 -1.3002273,0.193134 -2.4770512,0.889916 -3.283628,1.944192 -0.1076466,0.140705 -0.8359664,1.353438 -1.6184885,2.694963 L 3.0017709,18.11149 Z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -0,0 +1,188 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GOL: Class Members</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo_64.png"/></td>
<td id="projectalign">
<div id="projectname">GOL
</div>
<div id="projectbrief">Game Of Life</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="contents">
<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div>
<h3><a id="index_a" name="index_a"></a>- a -</h3><ul>
<li>answers&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_implementation_information.html#ae17a4cf1efe7db0c0191a2e1ce9b0ea3">GOL::ImplementationInformation</a></li>
<li>authors&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_implementation_information.html#a74518907e65d8c8d469032ee52bb574d">GOL::ImplementationInformation</a></li>
</ul>
<h3><a id="index_b" name="index_b"></a>- b -</h3><ul>
<li>blue&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_color.html#af5ba4c4c2734b3de66dc3d5ddfd33067">GOL::Color</a></li>
<li>BorderManagement&#160;:&#160;<a class="el" href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5">GOL</a></li>
<li>borderManagement()&#160;:&#160;<a class="el" href="class_g_o_l.html#acb7eb9dfd0d705bcd3093374a65071e9">GOL</a>, <a class="el" href="struct_g_o_l_1_1_statistics.html#aaf2de20f90d08fe72e7c19bafdabf9a7">GOL::Statistics</a></li>
</ul>
<h3><a id="index_c" name="index_c"></a>- c -</h3><ul>
<li>color()&#160;:&#160;<a class="el" href="class_g_o_l.html#a034f2b25cdb174e8db8b45c19c6ff227">GOL</a></li>
<li>ColorChannelType&#160;:&#160;<a class="el" href="class_g_o_l.html#a8dfa284246f15ca8b2fe3b72d39398c4">GOL</a></li>
</ul>
<h3><a id="index_f" name="index_f"></a>- f -</h3><ul>
<li>fill()&#160;:&#160;<a class="el" href="class_g_o_l.html#a7fd8fe0cc3c4ea6e0234f165e0ae0909">GOL</a></li>
<li>fillAlternately()&#160;:&#160;<a class="el" href="class_g_o_l.html#ae15588c452004483dd12ed01f63ebb7a">GOL</a></li>
<li>firstName&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_author.html#a852b5f97cd31f1c698bdec4ac123efb0">GOL::Author</a></li>
</ul>
<h3><a id="index_g" name="index_g"></a>- g -</h3><ul>
<li>GOL()&#160;:&#160;<a class="el" href="class_g_o_l.html#a2d1ce427c1902aa396385b78aa5faacd">GOL</a></li>
<li>green&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_color.html#a024ce041fb574f2531e8c3ccedfdf872">GOL::Color</a></li>
</ul>
<h3><a id="index_h" name="index_h"></a>- h -</h3><ul>
<li>height()&#160;:&#160;<a class="el" href="class_g_o_l.html#a639614c14d19f9f200208c1b1d13e610">GOL</a>, <a class="el" href="struct_g_o_l_1_1_statistics.html#acc45f6dc5a08918b5a2a4a4a54c0efd3">GOL::Statistics</a></li>
</ul>
<h3><a id="index_i" name="index_i"></a>- i -</h3><ul>
<li>information()&#160;:&#160;<a class="el" href="class_g_o_l.html#aee16ffdbff2b3fe49bdfb961cf85a7af">GOL</a></li>
<li>iteration&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#a94192cc3db009bc06ce178bc70093f52">GOL::Statistics</a></li>
<li>IterationType&#160;:&#160;<a class="el" href="class_g_o_l.html#a63f73ea2245fe25688a8f2b8ad444498">GOL</a></li>
</ul>
<h3><a id="index_l" name="index_l"></a>- l -</h3><ul>
<li>lastName&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_author.html#a789800726a95c045b18135641bdd4a0d">GOL::Author</a></li>
</ul>
<h3><a id="index_o" name="index_o"></a>- o -</h3><ul>
<li>optionnalComments&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_implementation_information.html#ad0179a43523be2c9a96a930413457cc0">GOL::ImplementationInformation</a></li>
</ul>
<h3><a id="index_p" name="index_p"></a>- p -</h3><ul>
<li>processOneStep()&#160;:&#160;<a class="el" href="class_g_o_l.html#a163e43658479f589311944e45f9d2f7d">GOL</a></li>
</ul>
<h3><a id="index_r" name="index_r"></a>- r -</h3><ul>
<li>randomize()&#160;:&#160;<a class="el" href="class_g_o_l.html#a48a750d5e715c35bcddc1c5702a1c1bd">GOL</a></li>
<li>red&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_color.html#a8f580a1ff7d2037d9f78bb6dcaf98a0c">GOL::Color</a></li>
<li>resize()&#160;:&#160;<a class="el" href="class_g_o_l.html#aeeb68a308596df6cc833915fe25b8b31">GOL</a></li>
<li>rule()&#160;:&#160;<a class="el" href="class_g_o_l.html#a3e7c43805a2ffbc09d0c76a20953d40d">GOL</a>, <a class="el" href="struct_g_o_l_1_1_statistics.html#ace8337d109af59325bdcb5d58b801df4">GOL::Statistics</a></li>
</ul>
<h3><a id="index_s" name="index_s"></a>- s -</h3><ul>
<li>setBorderManagement()&#160;:&#160;<a class="el" href="class_g_o_l.html#a4e05013566674a629cb5046be9c4fd53">GOL</a></li>
<li>setFromPattern()&#160;:&#160;<a class="el" href="class_g_o_l.html#af09cbd32232ddf08296e4709f2a7b7b7">GOL</a></li>
<li>setRule()&#160;:&#160;<a class="el" href="class_g_o_l.html#aed680727507df7541f28b1b3be099364">GOL</a></li>
<li>setSolidColor()&#160;:&#160;<a class="el" href="class_g_o_l.html#a98dbb31bb7d7ab708f69f276a0849361">GOL</a></li>
<li>setState()&#160;:&#160;<a class="el" href="class_g_o_l.html#ae421e565fbf6ba31db44d71eba7227b3">GOL</a></li>
<li>size()&#160;:&#160;<a class="el" href="class_g_o_l.html#a7e362245fec1c4411835b6ca5eb1a62b">GOL</a></li>
<li>State&#160;:&#160;<a class="el" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">GOL</a></li>
<li>state()&#160;:&#160;<a class="el" href="class_g_o_l.html#a33f034838a60adb25e1ef26a3eb309aa">GOL</a></li>
<li>statistics()&#160;:&#160;<a class="el" href="class_g_o_l.html#ac1855e686984d4533fc2442f6f3b89f2">GOL</a></li>
<li>studentEmail&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_author.html#ab0d7c78b1dbe43191bc19a08a3632630">GOL::Author</a></li>
</ul>
<h3><a id="index_t" name="index_t"></a>- t -</h3><ul>
<li>tendencyAbs&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#ae96e52cf979cb8cfe8841b92c2bbc9eb">GOL::Statistics</a></li>
<li>tendencyRel&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#ae981c7b738fd3cf1b4c6cbf006f425b0">GOL::Statistics</a></li>
<li>title&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_implementation_information.html#a537522ac3ca67d3c0f8495558e9ec82c">GOL::ImplementationInformation</a></li>
<li>totalAliveAbs&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#ab27d09a97457ede162c76476105e13e1">GOL::Statistics</a></li>
<li>totalAliveRel&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#af9cead801f8e57055bb74ec119aa4908">GOL::Statistics</a></li>
<li>totalCells&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#a980f0bf8ca7d7838f29c18069b406284">GOL::Statistics</a></li>
<li>totalDeadAbs&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#a0c7ac4a263ba69f0e1a453039037b3b9">GOL::Statistics</a></li>
<li>totalDeadRel&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#a0eb0a1aaa2d76c389b3d49ea1c6c9bed">GOL::Statistics</a></li>
</ul>
<h3><a id="index_u" name="index_u"></a>- u -</h3><ul>
<li>updateImage()&#160;:&#160;<a class="el" href="class_g_o_l.html#a023f299fa22d29d595ce8f5b559556eb">GOL</a></li>
</ul>
<h3><a id="index_w" name="index_w"></a>- w -</h3><ul>
<li>width&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#a26d329b7b472a18fda78e9e4399effbc">GOL::Statistics</a>, <a class="el" href="class_g_o_l.html#a0f9371c1d919e8731a00f72c9e7e5338">GOL</a></li>
</ul>
<h3><a id="index__7E" name="index__7E"></a>- ~ -</h3><ul>
<li>~GOL()&#160;:&#160;<a class="el" href="class_g_o_l.html#a71f920566f6053820e4a39c1c0ffe14a">GOL</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>

View File

@ -0,0 +1,84 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GOL: Class Members - Enumerations</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo_64.png"/></td>
<td id="projectalign">
<div id="projectname">GOL
</div>
<div id="projectbrief">Game Of Life</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="contents">
<div class="textblock">Here is a list of all documented enums with links to the class documentation for each member:</div><ul>
<li>BorderManagement&#160;:&#160;<a class="el" href="class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5">GOL</a></li>
<li>State&#160;:&#160;<a class="el" href="class_g_o_l.html#ab40533a07f138789826faa52a6f644aa">GOL</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>

View File

@ -0,0 +1,104 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GOL: Class Members - Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo_64.png"/></td>
<td id="projectalign">
<div id="projectname">GOL
</div>
<div id="projectbrief">Game Of Life</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="contents">
<div class="textblock">Here is a list of all documented functions with links to the class documentation for each member:</div><ul>
<li>borderManagement()&#160;:&#160;<a class="el" href="class_g_o_l.html#acb7eb9dfd0d705bcd3093374a65071e9">GOL</a></li>
<li>color()&#160;:&#160;<a class="el" href="class_g_o_l.html#a034f2b25cdb174e8db8b45c19c6ff227">GOL</a></li>
<li>fill()&#160;:&#160;<a class="el" href="class_g_o_l.html#a7fd8fe0cc3c4ea6e0234f165e0ae0909">GOL</a></li>
<li>fillAlternately()&#160;:&#160;<a class="el" href="class_g_o_l.html#ae15588c452004483dd12ed01f63ebb7a">GOL</a></li>
<li>GOL()&#160;:&#160;<a class="el" href="class_g_o_l.html#a2d1ce427c1902aa396385b78aa5faacd">GOL</a></li>
<li>height()&#160;:&#160;<a class="el" href="class_g_o_l.html#a639614c14d19f9f200208c1b1d13e610">GOL</a></li>
<li>information()&#160;:&#160;<a class="el" href="class_g_o_l.html#aee16ffdbff2b3fe49bdfb961cf85a7af">GOL</a></li>
<li>processOneStep()&#160;:&#160;<a class="el" href="class_g_o_l.html#a163e43658479f589311944e45f9d2f7d">GOL</a></li>
<li>randomize()&#160;:&#160;<a class="el" href="class_g_o_l.html#a48a750d5e715c35bcddc1c5702a1c1bd">GOL</a></li>
<li>resize()&#160;:&#160;<a class="el" href="class_g_o_l.html#aeeb68a308596df6cc833915fe25b8b31">GOL</a></li>
<li>rule()&#160;:&#160;<a class="el" href="class_g_o_l.html#a3e7c43805a2ffbc09d0c76a20953d40d">GOL</a></li>
<li>setBorderManagement()&#160;:&#160;<a class="el" href="class_g_o_l.html#a4e05013566674a629cb5046be9c4fd53">GOL</a></li>
<li>setFromPattern()&#160;:&#160;<a class="el" href="class_g_o_l.html#af09cbd32232ddf08296e4709f2a7b7b7">GOL</a></li>
<li>setRule()&#160;:&#160;<a class="el" href="class_g_o_l.html#aed680727507df7541f28b1b3be099364">GOL</a></li>
<li>setSolidColor()&#160;:&#160;<a class="el" href="class_g_o_l.html#a98dbb31bb7d7ab708f69f276a0849361">GOL</a></li>
<li>setState()&#160;:&#160;<a class="el" href="class_g_o_l.html#ae421e565fbf6ba31db44d71eba7227b3">GOL</a></li>
<li>size()&#160;:&#160;<a class="el" href="class_g_o_l.html#a7e362245fec1c4411835b6ca5eb1a62b">GOL</a></li>
<li>state()&#160;:&#160;<a class="el" href="class_g_o_l.html#a33f034838a60adb25e1ef26a3eb309aa">GOL</a></li>
<li>statistics()&#160;:&#160;<a class="el" href="class_g_o_l.html#ac1855e686984d4533fc2442f6f3b89f2">GOL</a></li>
<li>updateImage()&#160;:&#160;<a class="el" href="class_g_o_l.html#a023f299fa22d29d595ce8f5b559556eb">GOL</a></li>
<li>width()&#160;:&#160;<a class="el" href="class_g_o_l.html#a0f9371c1d919e8731a00f72c9e7e5338">GOL</a></li>
<li>~GOL()&#160;:&#160;<a class="el" href="class_g_o_l.html#a71f920566f6053820e4a39c1c0ffe14a">GOL</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>

View File

@ -0,0 +1,84 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GOL: Class Members - Typedefs</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo_64.png"/></td>
<td id="projectalign">
<div id="projectname">GOL
</div>
<div id="projectbrief">Game Of Life</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="contents">
<div class="textblock">Here is a list of all documented typedefs with links to the class documentation for each member:</div><ul>
<li>ColorChannelType&#160;:&#160;<a class="el" href="class_g_o_l.html#a8dfa284246f15ca8b2fe3b72d39398c4">GOL</a></li>
<li>IterationType&#160;:&#160;<a class="el" href="class_g_o_l.html#a63f73ea2245fe25688a8f2b8ad444498">GOL</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>

View File

@ -0,0 +1,104 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GOL: Class Members - Variables</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo_64.png"/></td>
<td id="projectalign">
<div id="projectname">GOL
</div>
<div id="projectbrief">Game Of Life</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="contents">
<div class="textblock">Here is a list of all documented variables with links to the class documentation for each member:</div><ul>
<li>answers&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_implementation_information.html#ae17a4cf1efe7db0c0191a2e1ce9b0ea3">GOL::ImplementationInformation</a></li>
<li>authors&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_implementation_information.html#a74518907e65d8c8d469032ee52bb574d">GOL::ImplementationInformation</a></li>
<li>blue&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_color.html#af5ba4c4c2734b3de66dc3d5ddfd33067">GOL::Color</a></li>
<li>borderManagement&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#aaf2de20f90d08fe72e7c19bafdabf9a7">GOL::Statistics</a></li>
<li>firstName&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_author.html#a852b5f97cd31f1c698bdec4ac123efb0">GOL::Author</a></li>
<li>green&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_color.html#a024ce041fb574f2531e8c3ccedfdf872">GOL::Color</a></li>
<li>height&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#acc45f6dc5a08918b5a2a4a4a54c0efd3">GOL::Statistics</a></li>
<li>iteration&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#a94192cc3db009bc06ce178bc70093f52">GOL::Statistics</a></li>
<li>lastName&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_author.html#a789800726a95c045b18135641bdd4a0d">GOL::Author</a></li>
<li>optionnalComments&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_implementation_information.html#ad0179a43523be2c9a96a930413457cc0">GOL::ImplementationInformation</a></li>
<li>red&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_color.html#a8f580a1ff7d2037d9f78bb6dcaf98a0c">GOL::Color</a></li>
<li>rule&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#ace8337d109af59325bdcb5d58b801df4">GOL::Statistics</a></li>
<li>studentEmail&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_author.html#ab0d7c78b1dbe43191bc19a08a3632630">GOL::Author</a></li>
<li>tendencyAbs&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#ae96e52cf979cb8cfe8841b92c2bbc9eb">GOL::Statistics</a></li>
<li>tendencyRel&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#ae981c7b738fd3cf1b4c6cbf006f425b0">GOL::Statistics</a></li>
<li>title&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_implementation_information.html#a537522ac3ca67d3c0f8495558e9ec82c">GOL::ImplementationInformation</a></li>
<li>totalAliveAbs&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#ab27d09a97457ede162c76476105e13e1">GOL::Statistics</a></li>
<li>totalAliveRel&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#af9cead801f8e57055bb74ec119aa4908">GOL::Statistics</a></li>
<li>totalCells&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#a980f0bf8ca7d7838f29c18069b406284">GOL::Statistics</a></li>
<li>totalDeadAbs&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#a0c7ac4a263ba69f0e1a453039037b3b9">GOL::Statistics</a></li>
<li>totalDeadRel&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#a0eb0a1aaa2d76c389b3d49ea1c6c9bed">GOL::Statistics</a></li>
<li>width&#160;:&#160;<a class="el" href="struct_g_o_l_1_1_statistics.html#a26d329b7b472a18fda78e9e4399effbc">GOL::Statistics</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>

View File

@ -0,0 +1,118 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GOL: GOL</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo_64.png"/></td>
<td id="projectalign">
<div id="projectname">GOL
</div>
<div id="projectbrief">Game Of Life</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div><div class="header">
<div class="headertitle"><div class="title"><a class="el" href="class_g_o_l.html" title="Moteur de simulation d&#39;un automate cellulaire à 2 dimensions.">GOL</a> </div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>Fichier de présentation du projet de simulation d'automate cellulaire. </p><dl class="section author"><dt>Author</dt><dd>GPA675</dd></dl>
<p>Ce projet met en œuvre une simulation d'automate cellulaire à 2 dimensions basée sur la classe <a class="el" href="class_g_o_l.html" title="Moteur de simulation d&#39;un automate cellulaire à 2 dimensions.">GOL</a>. Cette classe représente une interface abstraite pour une implémentation d'un automate cellulaire. Elle définit des types utilitaires et plusieurs fonctions abstraites.</p>
<p>Ce projet vise le développement de structures de données et d'algorithmes. De plus, il illustre un exemple de développement modulaire pertinent utilisant le polymorphisme.</p>
<h2><a class="anchor" id="autotoc_md0"></a>
Fonctionnalités principales</h2>
<ul>
<li>Implémentation complète d'un moteur de simulation d'automate cellulaire.</li>
<li>Gestion d'une grille 2D avec des dimensions finies et diverses stratégies de gestion des bords.</li>
<li>Capacité à gérer n'importe quelle règle définie dans le format <code>B###.../S###...</code>.</li>
<li>Possibilité d'initialiser la grille de multiples façons (uniforme, damier, aléatoire, avec un patron, ou manuellement).</li>
<li>Représentation visuelle de la simulation à l'écran.</li>
</ul>
<h2><a class="anchor" id="autotoc_md1"></a>
Utilisation</h2>
<p>Ce projet est destiné à être étendu et personnalisé. Pour créer votre propre simulateur, vous devez hériter de la classe <a class="el" href="class_g_o_l.html" title="Moteur de simulation d&#39;un automate cellulaire à 2 dimensions.">GOL</a> et implémenter toutes les fonctions virtuelles pures. Vous pouvez également ajuster les paramètres de simulation, tels que les règles de naissance/survie des cellules, la gestion des bords, et la représentation graphique.</p>
<h2><a class="anchor" id="autotoc_md2"></a>
Exemple d'implémentation</h2>
<div class="fragment"><div class="line"><span class="keyword">class </span>MySimulator : <span class="keyword">public</span> <a class="code hl_class" href="class_g_o_l.html">GOL</a> {</div>
<div class="line"> <span class="comment">// Implémentation des fonctions virtuelles pures...</span></div>
<div class="line">};</div>
<div class="ttc" id="aclass_g_o_l_html"><div class="ttname"><a href="class_g_o_l.html">GOL</a></div><div class="ttdoc">Moteur de simulation d'un automate cellulaire à 2 dimensions.</div><div class="ttdef"><b>Definition</b> GOL.h:124</div></div>
</div><!-- fragment --><p>Pour plus de détails sur l'utilisation et l'implémentation, veuillez consulter la documentation complète de chaque classe et fonction.</p>
<h2><a class="anchor" id="autotoc_md3"></a>
Dépendances</h2>
<ul>
<li>C++20</li>
<li>La solution Visual Studio donné en exemple permet d'intégrer votre travail dans un logiciel existant utilisant une interface graphique utilisateur.</li>
<li>Visual Studio 2022</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>Ce projet est un exemple éducatif qui vise la fonctionnalité mais aussi les compromis nécessaire à la production d'un logiciel de qualité et performant.</dd>
<dd>
Cette documentation est complémentaire à l'énoncé donné.</dd>
<dd>
Cette documentation a été générée automatiquement à l'aide de Doxygen. </dd></dl>
</div></div><!-- PageDoc -->
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>

34
GOLAppLib/doc/html/jquery.js vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

136
GOLAppLib/doc/html/menu.js Normal file
View File

@ -0,0 +1,136 @@
/*
@licstart The following is the entire license notice for the JavaScript code in this file.
The MIT License (MIT)
Copyright (C) 1997-2020 by Dimitri van Heesch
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@licend The above is the entire license notice for the JavaScript code in this file
*/
function initMenu(relPath,searchEnabled,serverSide,searchPage,search) {
function makeTree(data,relPath) {
var result='';
if ('children' in data) {
result+='<ul>';
for (var i in data.children) {
var url;
var link;
link = data.children[i].url;
if (link.substring(0,1)=='^') {
url = link.substring(1);
} else {
url = relPath+link;
}
result+='<li><a href="'+url+'">'+
data.children[i].text+'</a>'+
makeTree(data.children[i],relPath)+'</li>';
}
result+='</ul>';
}
return result;
}
var searchBoxHtml;
if (searchEnabled) {
if (serverSide) {
searchBoxHtml='<div id="MSearchBox" class="MSearchBoxInactive">'+
'<div class="left">'+
'<form id="FSearchBox" action="'+relPath+searchPage+
'" method="get"><span id="MSearchSelectExt">&#160;</span>'+
'<input type="text" id="MSearchField" name="query" value="" placeholder="'+search+
'" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)"'+
' onblur="searchBox.OnSearchFieldFocus(false)"/>'+
'</form>'+
'</div>'+
'<div class="right"></div>'+
'</div>';
} else {
searchBoxHtml='<div id="MSearchBox" class="MSearchBoxInactive">'+
'<span class="left">'+
'<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()"'+
' onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>'+
'<input type="text" id="MSearchField" value="" placeholder="'+search+
'" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" '+
'onblur="searchBox.OnSearchFieldFocus(false)" '+
'onkeyup="searchBox.OnSearchFieldChange(event)"/>'+
'</span>'+
'<span class="right"><a id="MSearchClose" '+
'href="javascript:searchBox.CloseResultsWindow()">'+
'<img id="MSearchCloseImg" border="0" src="'+relPath+
'search/close.svg" alt=""/></a>'+
'</span>'+
'</div>';
}
}
$('#main-nav').before('<div class="sm sm-dox"><input id="main-menu-state" type="checkbox"/>'+
'<label class="main-menu-btn" for="main-menu-state">'+
'<span class="main-menu-btn-icon"></span> '+
'Toggle main menu visibility</label>'+
'<span id="searchBoxPos1" style="position:absolute;right:8px;top:8px;height:36px;"></span>'+
'</div>');
$('#main-nav').append(makeTree(menudata,relPath));
$('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu');
if (searchBoxHtml) {
$('#main-menu').append('<li id="searchBoxPos2" style="float:right"></li>');
}
var $mainMenuState = $('#main-menu-state');
var prevWidth = 0;
if ($mainMenuState.length) {
function initResizableIfExists() {
if (typeof initResizable==='function') initResizable();
}
// animate mobile menu
$mainMenuState.change(function(e) {
var $menu = $('#main-menu');
var options = { duration: 250, step: initResizableIfExists };
if (this.checked) {
options['complete'] = function() { $menu.css('display', 'block') };
$menu.hide().slideDown(options);
} else {
options['complete'] = function() { $menu.css('display', 'none') };
$menu.show().slideUp(options);
}
});
// set default menu visibility
function resetState() {
var $menu = $('#main-menu');
var $mainMenuState = $('#main-menu-state');
var newWidth = $(window).outerWidth();
if (newWidth!=prevWidth) {
if ($(window).outerWidth()<768) {
$mainMenuState.prop('checked',false); $menu.hide();
$('#searchBoxPos1').html(searchBoxHtml);
$('#searchBoxPos2').hide();
} else {
$menu.show();
$('#searchBoxPos1').empty();
$('#searchBoxPos2').html(searchBoxHtml);
$('#searchBoxPos2').show();
}
if (typeof searchBox!=='undefined') {
searchBox.CloseResultsWindow();
}
prevWidth = newWidth;
}
}
$(window).ready(function() { resetState(); initResizableIfExists(); });
$(window).resize(resetState);
}
$('#main-menu').smartmenus();
}
/* @license-end */

View File

@ -0,0 +1,51 @@
/*
@licstart The following is the entire license notice for the JavaScript code in this file.
The MIT License (MIT)
Copyright (C) 1997-2020 by Dimitri van Heesch
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@licend The above is the entire license notice for the JavaScript code in this file
*/
var menudata={children:[
{text:"Main Page",url:"index.html"},
{text:"Classes",url:"annotated.html",children:[
{text:"Class List",url:"annotated.html"},
{text:"Class Index",url:"classes.html"},
{text:"Class Members",url:"functions.html",children:[
{text:"All",url:"functions.html",children:[
{text:"a",url:"functions.html#index_a"},
{text:"b",url:"functions.html#index_b"},
{text:"c",url:"functions.html#index_c"},
{text:"f",url:"functions.html#index_f"},
{text:"g",url:"functions.html#index_g"},
{text:"h",url:"functions.html#index_h"},
{text:"i",url:"functions.html#index_i"},
{text:"l",url:"functions.html#index_l"},
{text:"o",url:"functions.html#index_o"},
{text:"p",url:"functions.html#index_p"},
{text:"r",url:"functions.html#index_r"},
{text:"s",url:"functions.html#index_s"},
{text:"t",url:"functions.html#index_t"},
{text:"u",url:"functions.html#index_u"},
{text:"w",url:"functions.html#index_w"},
{text:"~",url:"functions.html#index__7E"}]},
{text:"Functions",url:"functions_func.html"},
{text:"Variables",url:"functions_vars.html"},
{text:"Typedefs",url:"functions_type.html"},
{text:"Enumerations",url:"functions_enum.html"}]}]}]}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="12px" height="12px" viewBox="0 0 105.83333 105.83333" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<rect style="fill:#808080;stroke-width:0" width="105.83333" height="105.83334" x="4.2409692e-08" y="-1.2701158e-06" ry="0" />
<rect style="fill:#fcfcfc;stroke-width:0" width="79.375" height="79.375" x="13.229166" y="13.229166" />
<rect style="fill:#808080;stroke-width:0" width="52.916668" height="15.874998" x="26.458332" y="44.979168" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 582 B

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="12px" height="12px" viewBox="0 0 105.83333 105.83333" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<rect style="fill:#808080;stroke-width:0" width="105.83333" height="105.83334" x="4.2409692e-08" y="-1.2701158e-06" ry="0" />
<rect style="fill:#000000;stroke-width:0" width="79.375" height="79.375" x="13.229166" y="13.229166" />
<rect style="fill:#808080;stroke-width:0" width="52.916668" height="15.874998" x="26.458332" y="44.979168" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

BIN
GOLAppLib/doc/html/open.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="12px" height="12px" viewBox="0 0 105.83333 105.83333" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<rect style="fill:#808080;stroke-width:0" width="105.83333" height="105.83334" x="4.2409692e-08" y="-1.2701158e-06" ry="0" />
<rect style="fill:#fcfcfc;stroke-width:0" width="79.375" height="79.375" x="13.229166" y="13.229166" />
<rect style="fill:#808080;stroke-width:0" width="52.916668" height="15.874998" x="26.458332" y="44.979168" />
<rect style="fill:#808080;stroke-width:0" width="15.874998" height="52.916668" x="44.979168" y="26.458332" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 696 B

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="12px" height="12px" viewBox="0 0 105.83333 105.83333" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<rect style="fill:#808080;stroke-width:0" width="105.83333" height="105.83334" x="4.2409692e-08" y="-1.2701158e-06" ry="0" />
<rect style="fill:#000000;stroke-width:0" width="79.375" height="79.375" x="13.229166" y="13.229166" />
<rect style="fill:#808080;stroke-width:0" width="52.916668" height="15.874998" x="26.458332" y="44.979168" />
<rect style="fill:#808080;stroke-width:0" width="15.874998" height="52.916668" x="44.979168" y="26.458332" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 696 B

View File

@ -0,0 +1,7 @@
var searchData=
[
['alive_0',['alive',['../class_g_o_l.html#ab40533a07f138789826faa52a6f644aaa7bd3d5f5b3cdb13aed632121206e729c',1,'GOL']]],
['answers_1',['answers',['../struct_g_o_l_1_1_implementation_information.html#ae17a4cf1efe7db0c0191a2e1ce9b0ea3',1,'GOL::ImplementationInformation']]],
['author_2',['Author',['../struct_g_o_l_1_1_author.html',1,'GOL']]],
['authors_3',['authors',['../struct_g_o_l_1_1_implementation_information.html#a74518907e65d8c8d469032ee52bb574d',1,'GOL::ImplementationInformation']]]
];

View File

@ -0,0 +1,5 @@
var searchData=
[
['blue_0',['blue',['../struct_g_o_l_1_1_color.html#af5ba4c4c2734b3de66dc3d5ddfd33067',1,'GOL::Color']]],
['bordermanagement_1',['bordermanagement',['../class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5',1,'GOL::BorderManagement'],['../struct_g_o_l_1_1_statistics.html#aaf2de20f90d08fe72e7c19bafdabf9a7',1,'GOL::Statistics::borderManagement'],['../class_g_o_l.html#acb7eb9dfd0d705bcd3093374a65071e9',1,'GOL::borderManagement()']]]
];

View File

@ -0,0 +1,5 @@
var searchData=
[
['updateimage_0',['updateImage',['../class_g_o_l.html#a023f299fa22d29d595ce8f5b559556eb',1,'GOL']]],
['utilisation_1',['Utilisation',['../index.html#autotoc_md1',1,'']]]
];

View File

@ -0,0 +1,5 @@
var searchData=
[
['warping_0',['warping',['../class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5ad26fea1f666f50ab33e246806ed4829b',1,'GOL']]],
['width_1',['width',['../struct_g_o_l_1_1_statistics.html#a26d329b7b472a18fda78e9e4399effbc',1,'GOL::Statistics::width'],['../class_g_o_l.html#a0f9371c1d919e8731a00f72c9e7e5338',1,'GOL::width()']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['_7egol_0',['~GOL',['../class_g_o_l.html#a71f920566f6053820e4a39c1c0ffe14a',1,'GOL']]]
];

View File

@ -0,0 +1,5 @@
var searchData=
[
['color_0',['color',['../struct_g_o_l_1_1_color.html',1,'GOL::Color'],['../class_g_o_l.html#a034f2b25cdb174e8db8b45c19c6ff227',1,'GOL::color(State state) const =0']]],
['colorchanneltype_1',['ColorChannelType',['../class_g_o_l.html#a8dfa284246f15ca8b2fe3b72d39398c4',1,'GOL']]]
];

View File

@ -0,0 +1,6 @@
var searchData=
[
['dépendances_0',['Dépendances',['../index.html#autotoc_md3',1,'']]],
['d_20implémentation_1',['Exemple d&apos;implémentation',['../index.html#autotoc_md2',1,'']]],
['dead_2',['dead',['../class_g_o_l.html#ab40533a07f138789826faa52a6f644aaaf58e6a506c76fc2c90a7d29cbc631c2f',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['exemple_20d_20implémentation_0',['Exemple d&apos;implémentation',['../index.html#autotoc_md2',1,'']]]
];

View File

@ -0,0 +1,9 @@
var searchData=
[
['fill_0',['fill',['../class_g_o_l.html#a7fd8fe0cc3c4ea6e0234f165e0ae0909',1,'GOL']]],
['fillalternately_1',['fillAlternately',['../class_g_o_l.html#ae15588c452004483dd12ed01f63ebb7a',1,'GOL']]],
['firstname_2',['firstName',['../struct_g_o_l_1_1_author.html#a852b5f97cd31f1c698bdec4ac123efb0',1,'GOL::Author']]],
['fonctionnalités_20principales_3',['Fonctionnalités principales',['../index.html#autotoc_md0',1,'']]],
['foreveralive_4',['foreverAlive',['../class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5a6845ed92fb9b5afe34b3cb58a03143bb',1,'GOL']]],
['foreverdead_5',['foreverDead',['../class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5a303cf94b70e6f7dffb1e094570e1759f',1,'GOL']]]
];

View File

@ -0,0 +1,5 @@
var searchData=
[
['gol_0',['gol',['../class_g_o_l.html',1,'GOL'],['../class_g_o_l.html#a2d1ce427c1902aa396385b78aa5faacd',1,'GOL::GOL()=default'],['../class_g_o_l.html#ab93d6b83a53990fd27e6fc152b549e41',1,'GOL::GOL(size_t width, size_t height, State defaultState=State::dead)'],['../index.html',1,'GOL']]],
['green_1',['green',['../struct_g_o_l_1_1_color.html#a024ce041fb574f2531e8c3ccedfdf872',1,'GOL::Color']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['height_0',['height',['../struct_g_o_l_1_1_statistics.html#acc45f6dc5a08918b5a2a4a4a54c0efd3',1,'GOL::Statistics::height'],['../class_g_o_l.html#a639614c14d19f9f200208c1b1d13e610',1,'GOL::height()']]]
];

View File

@ -0,0 +1,9 @@
var searchData=
[
['immutableasis_0',['immutableAsIs',['../class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5a1959daeb0273318781b4aa35f118676d',1,'GOL']]],
['implémentation_1',['Exemple d&apos;implémentation',['../index.html#autotoc_md2',1,'']]],
['implementationinformation_2',['ImplementationInformation',['../struct_g_o_l_1_1_implementation_information.html',1,'GOL']]],
['information_3',['information',['../class_g_o_l.html#aee16ffdbff2b3fe49bdfb961cf85a7af',1,'GOL']]],
['iteration_4',['iteration',['../struct_g_o_l_1_1_statistics.html#a94192cc3db009bc06ce178bc70093f52',1,'GOL::Statistics']]],
['iterationtype_5',['IterationType',['../class_g_o_l.html#a63f73ea2245fe25688a8f2b8ad444498',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['lastname_0',['lastName',['../struct_g_o_l_1_1_author.html#a789800726a95c045b18135641bdd4a0d',1,'GOL::Author']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['mirror_0',['mirror',['../class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5afbe322a89bc0ba531c3f0050e3935f28',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['optionnalcomments_0',['optionnalComments',['../struct_g_o_l_1_1_implementation_information.html#ad0179a43523be2c9a96a930413457cc0',1,'GOL::ImplementationInformation']]]
];

View File

@ -0,0 +1,5 @@
var searchData=
[
['principales_0',['Fonctionnalités principales',['../index.html#autotoc_md0',1,'']]],
['processonestep_1',['processOneStep',['../class_g_o_l.html#a163e43658479f589311944e45f9d2f7d',1,'GOL']]]
];

View File

@ -0,0 +1,7 @@
var searchData=
[
['randomize_0',['randomize',['../class_g_o_l.html#a48a750d5e715c35bcddc1c5702a1c1bd',1,'GOL']]],
['red_1',['red',['../struct_g_o_l_1_1_color.html#a8f580a1ff7d2037d9f78bb6dcaf98a0c',1,'GOL::Color']]],
['resize_2',['resize',['../class_g_o_l.html#aeeb68a308596df6cc833915fe25b8b31',1,'GOL']]],
['rule_3',['rule',['../struct_g_o_l_1_1_statistics.html#ace8337d109af59325bdcb5d58b801df4',1,'GOL::Statistics::rule'],['../class_g_o_l.html#a3e7c43805a2ffbc09d0c76a20953d40d',1,'GOL::rule()']]]
];

View File

@ -0,0 +1,12 @@
var searchData=
[
['setbordermanagement_0',['setBorderManagement',['../class_g_o_l.html#a4e05013566674a629cb5046be9c4fd53',1,'GOL']]],
['setfrompattern_1',['setfrompattern',['../class_g_o_l.html#af09cbd32232ddf08296e4709f2a7b7b7',1,'GOL::setFromPattern(std::string const &amp;pattern, int centerX, int centerY)=0'],['../class_g_o_l.html#ad7f2161a93817f8eda610319a9593f82',1,'GOL::setFromPattern(std::string const &amp;pattern)=0']]],
['setrule_2',['setRule',['../class_g_o_l.html#aed680727507df7541f28b1b3be099364',1,'GOL']]],
['setsolidcolor_3',['setSolidColor',['../class_g_o_l.html#a98dbb31bb7d7ab708f69f276a0849361',1,'GOL']]],
['setstate_4',['setState',['../class_g_o_l.html#ae421e565fbf6ba31db44d71eba7227b3',1,'GOL']]],
['size_5',['size',['../class_g_o_l.html#a7e362245fec1c4411835b6ca5eb1a62b',1,'GOL']]],
['state_6',['state',['../class_g_o_l.html#ab40533a07f138789826faa52a6f644aa',1,'GOL::State'],['../class_g_o_l.html#a33f034838a60adb25e1ef26a3eb309aa',1,'GOL::state(int x, int y) const =0']]],
['statistics_7',['statistics',['../struct_g_o_l_1_1_statistics.html',1,'GOL::Statistics'],['../class_g_o_l.html#ac1855e686984d4533fc2442f6f3b89f2',1,'GOL::statistics() const =0']]],
['studentemail_8',['studentEmail',['../struct_g_o_l_1_1_author.html#ab0d7c78b1dbe43191bc19a08a3632630',1,'GOL::Author']]]
];

View File

@ -0,0 +1,11 @@
var searchData=
[
['tendencyabs_0',['tendencyAbs',['../struct_g_o_l_1_1_statistics.html#ae96e52cf979cb8cfe8841b92c2bbc9eb',1,'GOL::Statistics']]],
['tendencyrel_1',['tendencyRel',['../struct_g_o_l_1_1_statistics.html#ae981c7b738fd3cf1b4c6cbf006f425b0',1,'GOL::Statistics']]],
['title_2',['title',['../struct_g_o_l_1_1_implementation_information.html#a537522ac3ca67d3c0f8495558e9ec82c',1,'GOL::ImplementationInformation']]],
['totalaliveabs_3',['totalAliveAbs',['../struct_g_o_l_1_1_statistics.html#ab27d09a97457ede162c76476105e13e1',1,'GOL::Statistics']]],
['totalaliverel_4',['totalAliveRel',['../struct_g_o_l_1_1_statistics.html#af9cead801f8e57055bb74ec119aa4908',1,'GOL::Statistics']]],
['totalcells_5',['totalCells',['../struct_g_o_l_1_1_statistics.html#a980f0bf8ca7d7838f29c18069b406284',1,'GOL::Statistics']]],
['totaldeadabs_6',['totalDeadAbs',['../struct_g_o_l_1_1_statistics.html#a0c7ac4a263ba69f0e1a453039037b3b9',1,'GOL::Statistics']]],
['totaldeadrel_7',['totalDeadRel',['../struct_g_o_l_1_1_statistics.html#a0eb0a1aaa2d76c389b3d49ea1c6c9bed',1,'GOL::Statistics']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['author_0',['Author',['../struct_g_o_l_1_1_author.html',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['color_0',['Color',['../struct_g_o_l_1_1_color.html',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['gol_0',['GOL',['../class_g_o_l.html',1,'']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['implementationinformation_0',['ImplementationInformation',['../struct_g_o_l_1_1_implementation_information.html',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['statistics_0',['Statistics',['../struct_g_o_l_1_1_statistics.html',1,'GOL']]]
];

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 11 11"
height="11"
width="11"
id="svg2"
version="1.1">
<defs
id="defs6" />
<path
id="path12"
d="M 5.5 0.5 A 5 5 0 0 0 0.5 5.5 A 5 5 0 0 0 5.5 10.5 A 5 5 0 0 0 10.5 5.5 A 5 5 0 0 0 5.5 0.5 z M 3.5820312 3 A 0.58291923 0.58291923 0 0 1 4 3.1757812 L 5.5 4.6757812 L 7 3.1757812 A 0.58291923 0.58291923 0 0 1 7.4003906 3 A 0.58291923 0.58291923 0 0 1 7.8242188 4 L 6.3242188 5.5 L 7.8242188 7 A 0.58291923 0.58291923 0 1 1 7 7.8242188 L 5.5 6.3242188 L 4 7.8242188 A 0.58291923 0.58291923 0 1 1 3.1757812 7 L 4.6757812 5.5 L 3.1757812 4 A 0.58291923 0.58291923 0 0 1 3.5820312 3 z "
style="stroke-width:1.09870648;fill:#bababa;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 947 B

View File

@ -0,0 +1,4 @@
var searchData=
[
['bordermanagement_0',['BorderManagement',['../class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['state_0',['State',['../class_g_o_l.html#ab40533a07f138789826faa52a6f644aa',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['alive_0',['alive',['../class_g_o_l.html#ab40533a07f138789826faa52a6f644aaa7bd3d5f5b3cdb13aed632121206e729c',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['dead_0',['dead',['../class_g_o_l.html#ab40533a07f138789826faa52a6f644aaaf58e6a506c76fc2c90a7d29cbc631c2f',1,'GOL']]]
];

View File

@ -0,0 +1,5 @@
var searchData=
[
['foreveralive_0',['foreverAlive',['../class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5a6845ed92fb9b5afe34b3cb58a03143bb',1,'GOL']]],
['foreverdead_1',['foreverDead',['../class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5a303cf94b70e6f7dffb1e094570e1759f',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['immutableasis_0',['immutableAsIs',['../class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5a1959daeb0273318781b4aa35f118676d',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['mirror_0',['mirror',['../class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5afbe322a89bc0ba531c3f0050e3935f28',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['warping_0',['warping',['../class_g_o_l.html#a8f80ecf85fb6970fb8aa19fdc72488c5ad26fea1f666f50ab33e246806ed4829b',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['bordermanagement_0',['borderManagement',['../class_g_o_l.html#acb7eb9dfd0d705bcd3093374a65071e9',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['color_0',['color',['../class_g_o_l.html#a034f2b25cdb174e8db8b45c19c6ff227',1,'GOL']]]
];

View File

@ -0,0 +1,5 @@
var searchData=
[
['fill_0',['fill',['../class_g_o_l.html#a7fd8fe0cc3c4ea6e0234f165e0ae0909',1,'GOL']]],
['fillalternately_1',['fillAlternately',['../class_g_o_l.html#ae15588c452004483dd12ed01f63ebb7a',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['gol_0',['gol',['../class_g_o_l.html#a2d1ce427c1902aa396385b78aa5faacd',1,'GOL::GOL()=default'],['../class_g_o_l.html#ab93d6b83a53990fd27e6fc152b549e41',1,'GOL::GOL(size_t width, size_t height, State defaultState=State::dead)']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['height_0',['height',['../class_g_o_l.html#a639614c14d19f9f200208c1b1d13e610',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['information_0',['information',['../class_g_o_l.html#aee16ffdbff2b3fe49bdfb961cf85a7af',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['processonestep_0',['processOneStep',['../class_g_o_l.html#a163e43658479f589311944e45f9d2f7d',1,'GOL']]]
];

View File

@ -0,0 +1,6 @@
var searchData=
[
['randomize_0',['randomize',['../class_g_o_l.html#a48a750d5e715c35bcddc1c5702a1c1bd',1,'GOL']]],
['resize_1',['resize',['../class_g_o_l.html#aeeb68a308596df6cc833915fe25b8b31',1,'GOL']]],
['rule_2',['rule',['../class_g_o_l.html#a3e7c43805a2ffbc09d0c76a20953d40d',1,'GOL']]]
];

View File

@ -0,0 +1,11 @@
var searchData=
[
['setbordermanagement_0',['setBorderManagement',['../class_g_o_l.html#a4e05013566674a629cb5046be9c4fd53',1,'GOL']]],
['setfrompattern_1',['setfrompattern',['../class_g_o_l.html#af09cbd32232ddf08296e4709f2a7b7b7',1,'GOL::setFromPattern(std::string const &amp;pattern, int centerX, int centerY)=0'],['../class_g_o_l.html#ad7f2161a93817f8eda610319a9593f82',1,'GOL::setFromPattern(std::string const &amp;pattern)=0']]],
['setrule_2',['setRule',['../class_g_o_l.html#aed680727507df7541f28b1b3be099364',1,'GOL']]],
['setsolidcolor_3',['setSolidColor',['../class_g_o_l.html#a98dbb31bb7d7ab708f69f276a0849361',1,'GOL']]],
['setstate_4',['setState',['../class_g_o_l.html#ae421e565fbf6ba31db44d71eba7227b3',1,'GOL']]],
['size_5',['size',['../class_g_o_l.html#a7e362245fec1c4411835b6ca5eb1a62b',1,'GOL']]],
['state_6',['state',['../class_g_o_l.html#a33f034838a60adb25e1ef26a3eb309aa',1,'GOL']]],
['statistics_7',['statistics',['../class_g_o_l.html#ac1855e686984d4533fc2442f6f3b89f2',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['updateimage_0',['updateImage',['../class_g_o_l.html#a023f299fa22d29d595ce8f5b559556eb',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['width_0',['width',['../class_g_o_l.html#a0f9371c1d919e8731a00f72c9e7e5338',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['_7egol_0',['~GOL',['../class_g_o_l.html#a71f920566f6053820e4a39c1c0ffe14a',1,'GOL']]]
];

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 20 19"
height="19"
width="20"
id="svg2"
version="1.1">
<defs
id="defs6" />
<circle
r="3.5"
cy="8.5"
cx="5.5"
id="path4611"
style="fill:#000000;fill-opacity:0;stroke:#656565;stroke-width:1.4;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
<path
id="path4630"
d="m 8.1085854,11.109059 2.7823556,2.782356"
style="fill:none;stroke:#656565;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 804 B

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 20 19"
height="19"
width="20"
id="svg2"
version="1.1">
<defs
id="defs6" />
<circle
r="3.5"
cy="8.5"
cx="5.5"
id="path4611"
style="fill:#000000;fill-opacity:0;stroke:#C5C5C5;stroke-width:1.4;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
<path
id="path4630"
d="m 8.1085854,11.109059 2.7823556,2.782356"
style="fill:none;stroke:#C5C5C5;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 804 B

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
xmlns="http://www.w3.org/2000/svg"
version="1.1"
id="svg2"
width="20"
height="19"
viewBox="0 0 20 19"
>
<defs
id="defs6" />
<circle
style="fill:#000000;fill-opacity:0;stroke:#656565;stroke-width:1.4;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
id="path4611"
cx="5.5"
cy="8.5"
r="3.5" />
<path
style="fill:#656565;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 11,7 13.5,10 16,7 Z"
id="path4609"
/>
<path
style="fill:none;stroke:#656565;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 8.1085854,11.109059 2.7823556,2.782356"
id="path4630"
/>
</svg>

After

Width:  |  Height:  |  Size: 1019 B

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
xmlns="http://www.w3.org/2000/svg"
version="1.1"
id="svg2"
width="20"
height="19"
viewBox="0 0 20 19"
>
<defs
id="defs6" />
<circle
style="fill:#000000;fill-opacity:0;stroke:#c5C5C5;stroke-width:1.4;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
id="path4611"
cx="5.5"
cy="8.5"
r="3.5" />
<path
style="fill:#c5C5C5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 11,7 13.5,10 16,7 Z"
id="path4609"
/>
<path
style="fill:none;stroke:#c5C5C5;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 8.1085854,11.109059 2.7823556,2.782356"
id="path4630"
/>
</svg>

After

Width:  |  Height:  |  Size: 1019 B

View File

@ -0,0 +1,4 @@
var searchData=
[
['gol_0',['GOL',['../index.html',1,'']]]
];

View File

@ -0,0 +1,291 @@
/*---------------- Search Box positioning */
#main-menu > li:last-child {
/* This <li> object is the parent of the search bar */
display: flex;
justify-content: center;
align-items: center;
height: 36px;
margin-right: 1em;
}
/*---------------- Search box styling */
.SRPage * {
font-weight: normal;
line-height: normal;
}
dark-mode-toggle {
margin-left: 5px;
display: flex;
float: right;
}
#MSearchBox {
display: inline-block;
white-space : nowrap;
background: var(--search-background-color);
border-radius: 0.65em;
box-shadow: var(--search-box-shadow);
z-index: 102;
}
#MSearchBox .left {
display: inline-block;
vertical-align: middle;
height: 1.4em;
}
#MSearchSelect {
display: inline-block;
vertical-align: middle;
width: 20px;
height: 19px;
background-image: var(--search-magnification-select-image);
margin: 0 0 0 0.3em;
padding: 0;
}
#MSearchSelectExt {
display: inline-block;
vertical-align: middle;
width: 10px;
height: 19px;
background-image: var(--search-magnification-image);
margin: 0 0 0 0.5em;
padding: 0;
}
#MSearchField {
display: inline-block;
vertical-align: middle;
width: 7.5em;
height: 19px;
margin: 0 0.15em;
padding: 0;
line-height: 1em;
border:none;
color: var(--search-foreground-color);
outline: none;
font-family: var(--font-family-search);
-webkit-border-radius: 0px;
border-radius: 0px;
background: none;
}
@media(hover: none) {
/* to avoid zooming on iOS */
#MSearchField {
font-size: 16px;
}
}
#MSearchBox .right {
display: inline-block;
vertical-align: middle;
width: 1.4em;
height: 1.4em;
}
#MSearchClose {
display: none;
font-size: inherit;
background : none;
border: none;
margin: 0;
padding: 0;
outline: none;
}
#MSearchCloseImg {
padding: 0.3em;
margin: 0;
}
.MSearchBoxActive #MSearchField {
color: var(--search-active-color);
}
/*---------------- Search filter selection */
#MSearchSelectWindow {
display: none;
position: absolute;
left: 0; top: 0;
border: 1px solid var(--search-filter-border-color);
background-color: var(--search-filter-background-color);
z-index: 10001;
padding-top: 4px;
padding-bottom: 4px;
-moz-border-radius: 4px;
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
}
.SelectItem {
font: 8pt var(--font-family-search);
padding-left: 2px;
padding-right: 12px;
border: 0px;
}
span.SelectionMark {
margin-right: 4px;
font-family: var(--font-family-monospace);
outline-style: none;
text-decoration: none;
}
a.SelectItem {
display: block;
outline-style: none;
color: var(--search-filter-foreground-color);
text-decoration: none;
padding-left: 6px;
padding-right: 12px;
}
a.SelectItem:focus,
a.SelectItem:active {
color: var(--search-filter-foreground-color);
outline-style: none;
text-decoration: none;
}
a.SelectItem:hover {
color: var(--search-filter-highlight-text-color);
background-color: var(--search-filter-highlight-bg-color);
outline-style: none;
text-decoration: none;
cursor: pointer;
display: block;
}
/*---------------- Search results window */
iframe#MSearchResults {
/*width: 60ex;*/
height: 15em;
}
#MSearchResultsWindow {
display: none;
position: absolute;
left: 0; top: 0;
border: 1px solid var(--search-results-border-color);
background-color: var(--search-results-background-color);
z-index:10000;
width: 300px;
height: 400px;
overflow: auto;
}
/* ----------------------------------- */
#SRIndex {
clear:both;
}
.SREntry {
font-size: 10pt;
padding-left: 1ex;
}
.SRPage .SREntry {
font-size: 8pt;
padding: 1px 5px;
}
div.SRPage {
margin: 5px 2px;
background-color: var(--search-results-background-color);
}
.SRChildren {
padding-left: 3ex; padding-bottom: .5em
}
.SRPage .SRChildren {
display: none;
}
.SRSymbol {
font-weight: bold;
color: var(--search-results-foreground-color);
font-family: var(--font-family-search);
text-decoration: none;
outline: none;
}
a.SRScope {
display: block;
color: var(--search-results-foreground-color);
font-family: var(--font-family-search);
font-size: 8pt;
text-decoration: none;
outline: none;
}
a.SRSymbol:focus, a.SRSymbol:active,
a.SRScope:focus, a.SRScope:active {
text-decoration: underline;
}
span.SRScope {
padding-left: 4px;
font-family: var(--font-family-search);
}
.SRPage .SRStatus {
padding: 2px 5px;
font-size: 8pt;
font-style: italic;
font-family: var(--font-family-search);
}
.SRResult {
display: none;
}
div.searchresults {
margin-left: 10px;
margin-right: 10px;
}
/*---------------- External search page results */
.pages b {
color: white;
padding: 5px 5px 3px 5px;
background-image: var(--nav-gradient-active-image-parent);
background-repeat: repeat-x;
text-shadow: 0 1px 1px #000000;
}
.pages {
line-height: 17px;
margin-left: 4px;
text-decoration: none;
}
.hl {
font-weight: bold;
}
#searchresults {
margin-bottom: 20px;
}
.searchpages {
margin-top: 10px;
}

View File

@ -0,0 +1,840 @@
/*
@licstart The following is the entire license notice for the JavaScript code in this file.
The MIT License (MIT)
Copyright (C) 1997-2020 by Dimitri van Heesch
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@licend The above is the entire license notice for the JavaScript code in this file
*/
function convertToId(search)
{
var result = '';
for (i=0;i<search.length;i++)
{
var c = search.charAt(i);
var cn = c.charCodeAt(0);
if (c.match(/[a-z0-9\u0080-\uFFFF]/))
{
result+=c;
}
else if (cn<16)
{
result+="_0"+cn.toString(16);
}
else
{
result+="_"+cn.toString(16);
}
}
return result;
}
function getXPos(item)
{
var x = 0;
if (item.offsetWidth)
{
while (item && item!=document.body)
{
x += item.offsetLeft;
item = item.offsetParent;
}
}
return x;
}
function getYPos(item)
{
var y = 0;
if (item.offsetWidth)
{
while (item && item!=document.body)
{
y += item.offsetTop;
item = item.offsetParent;
}
}
return y;
}
var searchResults = new SearchResults("searchResults");
/* A class handling everything associated with the search panel.
Parameters:
name - The name of the global variable that will be
storing this instance. Is needed to be able to set timeouts.
resultPath - path to use for external files
*/
function SearchBox(name, resultsPath, extension)
{
if (!name || !resultsPath) { alert("Missing parameters to SearchBox."); }
if (!extension || extension == "") { extension = ".html"; }
// ---------- Instance variables
this.name = name;
this.resultsPath = resultsPath;
this.keyTimeout = 0;
this.keyTimeoutLength = 500;
this.closeSelectionTimeout = 300;
this.lastSearchValue = "";
this.lastResultsPage = "";
this.hideTimeout = 0;
this.searchIndex = 0;
this.searchActive = false;
this.extension = extension;
// ----------- DOM Elements
this.DOMSearchField = function()
{ return document.getElementById("MSearchField"); }
this.DOMSearchSelect = function()
{ return document.getElementById("MSearchSelect"); }
this.DOMSearchSelectWindow = function()
{ return document.getElementById("MSearchSelectWindow"); }
this.DOMPopupSearchResults = function()
{ return document.getElementById("MSearchResults"); }
this.DOMPopupSearchResultsWindow = function()
{ return document.getElementById("MSearchResultsWindow"); }
this.DOMSearchClose = function()
{ return document.getElementById("MSearchClose"); }
this.DOMSearchBox = function()
{ return document.getElementById("MSearchBox"); }
// ------------ Event Handlers
// Called when focus is added or removed from the search field.
this.OnSearchFieldFocus = function(isActive)
{
this.Activate(isActive);
}
this.OnSearchSelectShow = function()
{
var searchSelectWindow = this.DOMSearchSelectWindow();
var searchField = this.DOMSearchSelect();
var left = getXPos(searchField);
var top = getYPos(searchField);
top += searchField.offsetHeight;
// show search selection popup
searchSelectWindow.style.display='block';
searchSelectWindow.style.left = left + 'px';
searchSelectWindow.style.top = top + 'px';
// stop selection hide timer
if (this.hideTimeout)
{
clearTimeout(this.hideTimeout);
this.hideTimeout=0;
}
return false; // to avoid "image drag" default event
}
this.OnSearchSelectHide = function()
{
this.hideTimeout = setTimeout(this.CloseSelectionWindow.bind(this),
this.closeSelectionTimeout);
}
// Called when the content of the search field is changed.
this.OnSearchFieldChange = function(evt)
{
if (this.keyTimeout) // kill running timer
{
clearTimeout(this.keyTimeout);
this.keyTimeout = 0;
}
var e = (evt) ? evt : window.event; // for IE
if (e.keyCode==40 || e.keyCode==13)
{
if (e.shiftKey==1)
{
this.OnSearchSelectShow();
var win=this.DOMSearchSelectWindow();
for (i=0;i<win.childNodes.length;i++)
{
var child = win.childNodes[i]; // get span within a
if (child.className=='SelectItem')
{
child.focus();
return;
}
}
return;
}
else
{
var elem = searchResults.NavNext(0);
if (elem) elem.focus();
}
}
else if (e.keyCode==27) // Escape out of the search field
{
e.stopPropagation();
this.DOMSearchField().blur();
this.DOMPopupSearchResultsWindow().style.display = 'none';
this.DOMSearchClose().style.display = 'none';
this.lastSearchValue = '';
this.Activate(false);
return;
}
// strip whitespaces
var searchValue = this.DOMSearchField().value.replace(/ +/g, "");
if (searchValue != this.lastSearchValue) // search value has changed
{
if (searchValue != "") // non-empty search
{
// set timer for search update
this.keyTimeout = setTimeout(this.Search.bind(this),
this.keyTimeoutLength);
}
else // empty search field
{
this.DOMPopupSearchResultsWindow().style.display = 'none';
this.DOMSearchClose().style.display = 'none';
this.lastSearchValue = '';
}
}
}
this.SelectItemCount = function(id)
{
var count=0;
var win=this.DOMSearchSelectWindow();
for (i=0;i<win.childNodes.length;i++)
{
var child = win.childNodes[i]; // get span within a
if (child.className=='SelectItem')
{
count++;
}
}
return count;
}
this.SelectItemSet = function(id)
{
var i,j=0;
var win=this.DOMSearchSelectWindow();
for (i=0;i<win.childNodes.length;i++)
{
var child = win.childNodes[i]; // get span within a
if (child.className=='SelectItem')
{
var node = child.firstChild;
if (j==id)
{
node.innerHTML='&#8226;';
}
else
{
node.innerHTML='&#160;';
}
j++;
}
}
}
// Called when an search filter selection is made.
// set item with index id as the active item
this.OnSelectItem = function(id)
{
this.searchIndex = id;
this.SelectItemSet(id);
var searchValue = this.DOMSearchField().value.replace(/ +/g, "");
if (searchValue!="" && this.searchActive) // something was found -> do a search
{
this.Search();
}
}
this.OnSearchSelectKey = function(evt)
{
var e = (evt) ? evt : window.event; // for IE
if (e.keyCode==40 && this.searchIndex<this.SelectItemCount()) // Down
{
this.searchIndex++;
this.OnSelectItem(this.searchIndex);
}
else if (e.keyCode==38 && this.searchIndex>0) // Up
{
this.searchIndex--;
this.OnSelectItem(this.searchIndex);
}
else if (e.keyCode==13 || e.keyCode==27)
{
e.stopPropagation();
this.OnSelectItem(this.searchIndex);
this.CloseSelectionWindow();
this.DOMSearchField().focus();
}
return false;
}
// --------- Actions
// Closes the results window.
this.CloseResultsWindow = function()
{
this.DOMPopupSearchResultsWindow().style.display = 'none';
this.DOMSearchClose().style.display = 'none';
this.Activate(false);
}
this.CloseSelectionWindow = function()
{
this.DOMSearchSelectWindow().style.display = 'none';
}
// Performs a search.
this.Search = function()
{
this.keyTimeout = 0;
// strip leading whitespace
var searchValue = this.DOMSearchField().value.replace(/^ +/, "");
var code = searchValue.toLowerCase().charCodeAt(0);
var idxChar = searchValue.substr(0, 1).toLowerCase();
if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair
{
idxChar = searchValue.substr(0, 2);
}
var jsFile;
var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar);
if (idx!=-1)
{
var hexCode=idx.toString(16);
jsFile = this.resultsPath + indexSectionNames[this.searchIndex] + '_' + hexCode + '.js';
}
var loadJS = function(url, impl, loc){
var scriptTag = document.createElement('script');
scriptTag.src = url;
scriptTag.onload = impl;
scriptTag.onreadystatechange = impl;
loc.appendChild(scriptTag);
}
var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow();
var domSearchBox = this.DOMSearchBox();
var domPopupSearchResults = this.DOMPopupSearchResults();
var domSearchClose = this.DOMSearchClose();
var resultsPath = this.resultsPath;
var handleResults = function() {
document.getElementById("Loading").style.display="none";
if (typeof searchData !== 'undefined') {
createResults(resultsPath);
document.getElementById("NoMatches").style.display="none";
}
if (idx!=-1) {
searchResults.Search(searchValue);
} else { // no file with search results => force empty search results
searchResults.Search('====');
}
if (domPopupSearchResultsWindow.style.display!='block')
{
domSearchClose.style.display = 'inline-block';
var left = getXPos(domSearchBox) + 150;
var top = getYPos(domSearchBox) + 20;
domPopupSearchResultsWindow.style.display = 'block';
left -= domPopupSearchResults.offsetWidth;
var maxWidth = document.body.clientWidth;
var maxHeight = document.body.clientHeight;
var width = 300;
if (left<10) left=10;
if (width+left+8>maxWidth) width=maxWidth-left-8;
var height = 400;
if (height+top+8>maxHeight) height=maxHeight-top-8;
domPopupSearchResultsWindow.style.top = top + 'px';
domPopupSearchResultsWindow.style.left = left + 'px';
domPopupSearchResultsWindow.style.width = width + 'px';
domPopupSearchResultsWindow.style.height = height + 'px';
}
}
if (jsFile) {
loadJS(jsFile, handleResults, this.DOMPopupSearchResultsWindow());
} else {
handleResults();
}
this.lastSearchValue = searchValue;
}
// -------- Activation Functions
// Activates or deactivates the search panel, resetting things to
// their default values if necessary.
this.Activate = function(isActive)
{
if (isActive || // open it
this.DOMPopupSearchResultsWindow().style.display == 'block'
)
{
this.DOMSearchBox().className = 'MSearchBoxActive';
this.searchActive = true;
}
else if (!isActive) // directly remove the panel
{
this.DOMSearchBox().className = 'MSearchBoxInactive';
this.searchActive = false;
this.lastSearchValue = ''
this.lastResultsPage = '';
this.DOMSearchField().value = '';
}
}
}
// -----------------------------------------------------------------------
// The class that handles everything on the search results page.
function SearchResults(name)
{
// The number of matches from the last run of <Search()>.
this.lastMatchCount = 0;
this.lastKey = 0;
this.repeatOn = false;
// Toggles the visibility of the passed element ID.
this.FindChildElement = function(id)
{
var parentElement = document.getElementById(id);
var element = parentElement.firstChild;
while (element && element!=parentElement)
{
if (element.nodeName.toLowerCase() == 'div' && element.className == 'SRChildren')
{
return element;
}
if (element.nodeName.toLowerCase() == 'div' && element.hasChildNodes())
{
element = element.firstChild;
}
else if (element.nextSibling)
{
element = element.nextSibling;
}
else
{
do
{
element = element.parentNode;
}
while (element && element!=parentElement && !element.nextSibling);
if (element && element!=parentElement)
{
element = element.nextSibling;
}
}
}
}
this.Toggle = function(id)
{
var element = this.FindChildElement(id);
if (element)
{
if (element.style.display == 'block')
{
element.style.display = 'none';
}
else
{
element.style.display = 'block';
}
}
}
// Searches for the passed string. If there is no parameter,
// it takes it from the URL query.
//
// Always returns true, since other documents may try to call it
// and that may or may not be possible.
this.Search = function(search)
{
if (!search) // get search word from URL
{
search = window.location.search;
search = search.substring(1); // Remove the leading '?'
search = unescape(search);
}
search = search.replace(/^ +/, ""); // strip leading spaces
search = search.replace(/ +$/, ""); // strip trailing spaces
search = search.toLowerCase();
search = convertToId(search);
var resultRows = document.getElementsByTagName("div");
var matches = 0;
var i = 0;
while (i < resultRows.length)
{
var row = resultRows.item(i);
if (row.className == "SRResult")
{
var rowMatchName = row.id.toLowerCase();
rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_'
if (search.length<=rowMatchName.length &&
rowMatchName.substr(0, search.length)==search)
{
row.style.display = 'block';
matches++;
}
else
{
row.style.display = 'none';
}
}
i++;
}
document.getElementById("Searching").style.display='none';
if (matches == 0) // no results
{
document.getElementById("NoMatches").style.display='block';
}
else // at least one result
{
document.getElementById("NoMatches").style.display='none';
}
this.lastMatchCount = matches;
return true;
}
// return the first item with index index or higher that is visible
this.NavNext = function(index)
{
var focusItem;
while (1)
{
var focusName = 'Item'+index;
focusItem = document.getElementById(focusName);
if (focusItem && focusItem.parentNode.parentNode.style.display=='block')
{
break;
}
else if (!focusItem) // last element
{
break;
}
focusItem=null;
index++;
}
return focusItem;
}
this.NavPrev = function(index)
{
var focusItem;
while (1)
{
var focusName = 'Item'+index;
focusItem = document.getElementById(focusName);
if (focusItem && focusItem.parentNode.parentNode.style.display=='block')
{
break;
}
else if (!focusItem) // last element
{
break;
}
focusItem=null;
index--;
}
return focusItem;
}
this.ProcessKeys = function(e)
{
if (e.type == "keydown")
{
this.repeatOn = false;
this.lastKey = e.keyCode;
}
else if (e.type == "keypress")
{
if (!this.repeatOn)
{
if (this.lastKey) this.repeatOn = true;
return false; // ignore first keypress after keydown
}
}
else if (e.type == "keyup")
{
this.lastKey = 0;
this.repeatOn = false;
}
return this.lastKey!=0;
}
this.Nav = function(evt,itemIndex)
{
var e = (evt) ? evt : window.event; // for IE
if (e.keyCode==13) return true;
if (!this.ProcessKeys(e)) return false;
if (this.lastKey==38) // Up
{
var newIndex = itemIndex-1;
var focusItem = this.NavPrev(newIndex);
if (focusItem)
{
var child = this.FindChildElement(focusItem.parentNode.parentNode.id);
if (child && child.style.display == 'block') // children visible
{
var n=0;
var tmpElem;
while (1) // search for last child
{
tmpElem = document.getElementById('Item'+newIndex+'_c'+n);
if (tmpElem)
{
focusItem = tmpElem;
}
else // found it!
{
break;
}
n++;
}
}
}
if (focusItem)
{
focusItem.focus();
}
else // return focus to search field
{
document.getElementById("MSearchField").focus();
}
}
else if (this.lastKey==40) // Down
{
var newIndex = itemIndex+1;
var focusItem;
var item = document.getElementById('Item'+itemIndex);
var elem = this.FindChildElement(item.parentNode.parentNode.id);
if (elem && elem.style.display == 'block') // children visible
{
focusItem = document.getElementById('Item'+itemIndex+'_c0');
}
if (!focusItem) focusItem = this.NavNext(newIndex);
if (focusItem) focusItem.focus();
}
else if (this.lastKey==39) // Right
{
var item = document.getElementById('Item'+itemIndex);
var elem = this.FindChildElement(item.parentNode.parentNode.id);
if (elem) elem.style.display = 'block';
}
else if (this.lastKey==37) // Left
{
var item = document.getElementById('Item'+itemIndex);
var elem = this.FindChildElement(item.parentNode.parentNode.id);
if (elem) elem.style.display = 'none';
}
else if (this.lastKey==27) // Escape
{
e.stopPropagation();
searchBox.CloseResultsWindow();
document.getElementById("MSearchField").focus();
}
else if (this.lastKey==13) // Enter
{
return true;
}
return false;
}
this.NavChild = function(evt,itemIndex,childIndex)
{
var e = (evt) ? evt : window.event; // for IE
if (e.keyCode==13) return true;
if (!this.ProcessKeys(e)) return false;
if (this.lastKey==38) // Up
{
if (childIndex>0)
{
var newIndex = childIndex-1;
document.getElementById('Item'+itemIndex+'_c'+newIndex).focus();
}
else // already at first child, jump to parent
{
document.getElementById('Item'+itemIndex).focus();
}
}
else if (this.lastKey==40) // Down
{
var newIndex = childIndex+1;
var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex);
if (!elem) // last child, jump to parent next parent
{
elem = this.NavNext(itemIndex+1);
}
if (elem)
{
elem.focus();
}
}
else if (this.lastKey==27) // Escape
{
e.stopPropagation();
searchBox.CloseResultsWindow();
document.getElementById("MSearchField").focus();
}
else if (this.lastKey==13) // Enter
{
return true;
}
return false;
}
}
function setKeyActions(elem,action)
{
elem.setAttribute('onkeydown',action);
elem.setAttribute('onkeypress',action);
elem.setAttribute('onkeyup',action);
}
function setClassAttr(elem,attr)
{
elem.setAttribute('class',attr);
elem.setAttribute('className',attr);
}
function createResults(resultsPath)
{
var results = document.getElementById("SRResults");
results.innerHTML = '';
for (var e=0; e<searchData.length; e++)
{
var id = searchData[e][0];
var srResult = document.createElement('div');
srResult.setAttribute('id','SR_'+id);
setClassAttr(srResult,'SRResult');
var srEntry = document.createElement('div');
setClassAttr(srEntry,'SREntry');
var srLink = document.createElement('a');
srLink.setAttribute('id','Item'+e);
setKeyActions(srLink,'return searchResults.Nav(event,'+e+')');
setClassAttr(srLink,'SRSymbol');
srLink.innerHTML = searchData[e][1][0];
srEntry.appendChild(srLink);
if (searchData[e][1].length==2) // single result
{
srLink.setAttribute('href',resultsPath+searchData[e][1][1][0]);
srLink.setAttribute('onclick','searchBox.CloseResultsWindow()');
if (searchData[e][1][1][1])
{
srLink.setAttribute('target','_parent');
}
else
{
srLink.setAttribute('target','_blank');
}
var srScope = document.createElement('span');
setClassAttr(srScope,'SRScope');
srScope.innerHTML = searchData[e][1][1][2];
srEntry.appendChild(srScope);
}
else // multiple results
{
srLink.setAttribute('href','javascript:searchResults.Toggle("SR_'+id+'")');
var srChildren = document.createElement('div');
setClassAttr(srChildren,'SRChildren');
for (var c=0; c<searchData[e][1].length-1; c++)
{
var srChild = document.createElement('a');
srChild.setAttribute('id','Item'+e+'_c'+c);
setKeyActions(srChild,'return searchResults.NavChild(event,'+e+','+c+')');
setClassAttr(srChild,'SRScope');
srChild.setAttribute('href',resultsPath+searchData[e][1][c+1][0]);
srChild.setAttribute('onclick','searchBox.CloseResultsWindow()');
if (searchData[e][1][c+1][1])
{
srChild.setAttribute('target','_parent');
}
else
{
srChild.setAttribute('target','_blank');
}
srChild.innerHTML = searchData[e][1][c+1][2];
srChildren.appendChild(srChild);
}
srEntry.appendChild(srChildren);
}
srResult.appendChild(srEntry);
results.appendChild(srResult);
}
}
function init_search()
{
var results = document.getElementById("MSearchSelectWindow");
results.tabIndex=0;
for (var key in indexSectionLabels)
{
var link = document.createElement('a');
link.setAttribute('class','SelectItem');
link.setAttribute('onclick','searchBox.OnSelectItem('+key+')');
link.href='javascript:void(0)';
link.innerHTML='<span class="SelectionMark">&#160;</span>'+indexSectionLabels[key];
results.appendChild(link);
}
searchBox.OnSelectItem(0);
var input = document.getElementById("MSearchSelect");
var searchSelectWindow = document.getElementById("MSearchSelectWindow");
input.tabIndex=0;
input.addEventListener("keydown", function(event) {
if (event.keyCode==13 || event.keyCode==40) {
event.preventDefault();
if (searchSelectWindow.style.display == 'block') {
searchBox.CloseSelectionWindow();
} else {
searchBox.OnSearchSelectShow();
searchBox.DOMSearchSelectWindow().focus();
}
}
});
}
/* @license-end */

View File

@ -0,0 +1,36 @@
var indexSectionsWithContent =
{
0: "abcdefghilmoprstuw~",
1: "acgis",
2: "bcfghiprsuw~",
3: "abfghilorstw",
4: "ci",
5: "bs",
6: "adfimw",
7: "g"
};
var indexSectionNames =
{
0: "all",
1: "classes",
2: "functions",
3: "variables",
4: "typedefs",
5: "enums",
6: "enumvalues",
7: "pages"
};
var indexSectionLabels =
{
0: "All",
1: "Classes",
2: "Functions",
3: "Variables",
4: "Typedefs",
5: "Enumerations",
6: "Enumerator",
7: "Pages"
};

View File

@ -0,0 +1,4 @@
var searchData=
[
['colorchanneltype_0',['ColorChannelType',['../class_g_o_l.html#a8dfa284246f15ca8b2fe3b72d39398c4',1,'GOL']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['iterationtype_0',['IterationType',['../class_g_o_l.html#a63f73ea2245fe25688a8f2b8ad444498',1,'GOL']]]
];

View File

@ -0,0 +1,5 @@
var searchData=
[
['answers_0',['answers',['../struct_g_o_l_1_1_implementation_information.html#ae17a4cf1efe7db0c0191a2e1ce9b0ea3',1,'GOL::ImplementationInformation']]],
['authors_1',['authors',['../struct_g_o_l_1_1_implementation_information.html#a74518907e65d8c8d469032ee52bb574d',1,'GOL::ImplementationInformation']]]
];

View File

@ -0,0 +1,5 @@
var searchData=
[
['blue_0',['blue',['../struct_g_o_l_1_1_color.html#af5ba4c4c2734b3de66dc3d5ddfd33067',1,'GOL::Color']]],
['bordermanagement_1',['borderManagement',['../struct_g_o_l_1_1_statistics.html#aaf2de20f90d08fe72e7c19bafdabf9a7',1,'GOL::Statistics']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['firstname_0',['firstName',['../struct_g_o_l_1_1_author.html#a852b5f97cd31f1c698bdec4ac123efb0',1,'GOL::Author']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['green_0',['green',['../struct_g_o_l_1_1_color.html#a024ce041fb574f2531e8c3ccedfdf872',1,'GOL::Color']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['height_0',['height',['../struct_g_o_l_1_1_statistics.html#acc45f6dc5a08918b5a2a4a4a54c0efd3',1,'GOL::Statistics']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['iteration_0',['iteration',['../struct_g_o_l_1_1_statistics.html#a94192cc3db009bc06ce178bc70093f52',1,'GOL::Statistics']]]
];

View File

@ -0,0 +1,4 @@
var searchData=
[
['lastname_0',['lastName',['../struct_g_o_l_1_1_author.html#a789800726a95c045b18135641bdd4a0d',1,'GOL::Author']]]
];

Some files were not shown because too many files have changed in this diff Show More