1
0
Fork 0

Update documentation

master
madlabunimib 3 years ago
parent f696b1063f
commit 0844174c38
  1. BIN
      docs-out/_build/doctrees/PyCTBN.PyCTBN.structure_graph.doctree
  2. BIN
      docs-out/_build/doctrees/PyCTBN.PyCTBN.utility.doctree
  3. BIN
      docs-out/_build/doctrees/PyCTBN.doctree
  4. BIN
      docs-out/_build/doctrees/PyCTBN.tests.structure_graph.doctree
  5. BIN
      docs-out/_build/doctrees/environment.pickle
  6. BIN
      docs-out/_build/doctrees/example.doctree
  7. BIN
      docs-out/_build/doctrees/modules.doctree
  8. 4
      docs-out/_build/html/PyCTBN.PyCTBN.html
  9. 152
      docs-out/_build/html/PyCTBN.PyCTBN.structure_graph.html
  10. 88
      docs-out/_build/html/PyCTBN.PyCTBN.utility.html
  11. 54
      docs-out/_build/html/PyCTBN.html
  12. 2
      docs-out/_build/html/PyCTBN.tests.html
  13. 54
      docs-out/_build/html/PyCTBN.tests.structure_graph.html
  14. 16
      docs-out/_build/html/_sources/PyCTBN.PyCTBN.structure_graph.rst.txt
  15. 16
      docs-out/_build/html/_sources/PyCTBN.PyCTBN.utility.rst.txt
  16. 17
      docs-out/_build/html/_sources/PyCTBN.rst.txt
  17. 16
      docs-out/_build/html/_sources/PyCTBN.tests.structure_graph.rst.txt
  18. 7
      docs-out/_build/html/_sources/example.rst.txt
  19. 5
      docs-out/_build/html/_sources/modules.rst.txt
  20. 179
      docs-out/_build/html/example.html
  21. 131
      docs-out/_build/html/genindex.html
  22. 4
      docs-out/_build/html/index.html
  23. 59
      docs-out/_build/html/modules.html
  24. BIN
      docs-out/_build/html/objects.inv
  25. 30
      docs-out/_build/html/py-modindex.html
  26. 2
      docs-out/_build/html/searchindex.js
  27. 138
      docs/PyCTBN.PyCTBN.estimators.html
  28. 10
      docs/PyCTBN.PyCTBN.html
  29. 42
      docs/PyCTBN.PyCTBN.optimizers.html
  30. 441
      docs/PyCTBN.PyCTBN.structure_graph.html
  31. 232
      docs/PyCTBN.PyCTBN.utility.html
  32. 30
      docs/PyCTBN.html
  33. 81
      docs/PyCTBN.tests.estimators.html
  34. 22
      docs/PyCTBN.tests.html
  35. 10
      docs/PyCTBN.tests.optimizers.html
  36. 295
      docs/PyCTBN.tests.structure_graph.html
  37. 134
      docs/PyCTBN.tests.utility.html
  38. 106
      docs/_static/basic.css
  39. 9
      docs/_static/doctools.js
  40. 6
      docs/_static/language_data.js
  41. 10
      docs/_static/pygments.css
  42. 30
      docs/_static/searchtools.js
  43. 2042
      docs/_static/underscore-1.13.1.js
  44. 37
      docs/_static/underscore.js
  45. 10
      docs/basic_main.html
  46. 23
      docs/example.html
  47. 10
      docs/examples.html
  48. 209
      docs/genindex.html
  49. 10
      docs/index.html
  50. 10
      docs/modules.html
  51. BIN
      docs/objects.inv
  52. 49
      docs/py-modindex.html
  53. 10
      docs/search.html
  54. 2
      docs/searchindex.js
  55. 10
      docs/setup.html

@ -142,18 +142,22 @@
<li class="toctree-l1"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html">PyCTBN.PyCTBN.structure_graph package</a><ul> <li class="toctree-l1"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html">PyCTBN.PyCTBN.structure_graph package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#submodules">Submodules</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_generator">PyCTBN.PyCTBN.structure_graph.network_generator module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_graph">PyCTBN.PyCTBN.structure_graph.network_graph module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_graph">PyCTBN.PyCTBN.structure_graph.network_graph module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.sample_path">PyCTBN.PyCTBN.structure_graph.sample_path module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.sample_path">PyCTBN.PyCTBN.structure_graph.sample_path module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.set_of_cims">PyCTBN.PyCTBN.structure_graph.set_of_cims module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.set_of_cims">PyCTBN.PyCTBN.structure_graph.set_of_cims module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.structure">PyCTBN.PyCTBN.structure_graph.structure module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.structure">PyCTBN.PyCTBN.structure_graph.structure module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory">PyCTBN.PyCTBN.structure_graph.trajectory module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory">PyCTBN.PyCTBN.structure_graph.trajectory module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory_generator">PyCTBN.PyCTBN.structure_graph.trajectory_generator module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph">Module contents</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph">Module contents</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l1"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html">PyCTBN.PyCTBN.utility package</a><ul> <li class="toctree-l1"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html">PyCTBN.PyCTBN.utility package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#submodules">Submodules</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_exporter">PyCTBN.PyCTBN.utility.abstract_exporter module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_importer">PyCTBN.PyCTBN.utility.abstract_importer module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_importer">PyCTBN.PyCTBN.utility.abstract_importer module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache">PyCTBN.PyCTBN.utility.cache module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache">PyCTBN.PyCTBN.utility.cache module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_exporter">PyCTBN.PyCTBN.utility.json_exporter module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_importer">PyCTBN.PyCTBN.utility.json_importer module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_importer">PyCTBN.PyCTBN.utility.json_importer module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.sample_importer">PyCTBN.PyCTBN.utility.sample_importer module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.sample_importer">PyCTBN.PyCTBN.utility.sample_importer module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility">Module contents</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility">Module contents</a></li>

@ -124,7 +124,7 @@
<span id="pyctbn-pyctbn-structure-graph-conditional-intensity-matrix-module"></span><h2>PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-structure-graph-conditional-intensity-matrix-module"></span><h2>PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt id="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix"> <dt id="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.</code><code class="sig-name descname">ConditionalIntensityMatrix</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">state_residence_times</span><span class="p">:</span> <span class="n">numpy.array</span></em>, <em class="sig-param"><span class="n">state_transition_matrix</span><span class="p">:</span> <span class="n">numpy.array</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.</code><code class="sig-name descname">ConditionalIntensityMatrix</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">state_residence_times</span><span class="p">:</span> <span class="n">numpy.array</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">state_transition_matrix</span><span class="p">:</span> <span class="n">numpy.array</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">cim</span><span class="p">:</span> <span class="n">numpy.array</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Abstracts the Conditional Intesity matrix of a node as aggregation of the state residence times vector <p>Abstracts the Conditional Intesity matrix of a node as aggregation of the state residence times vector
and state transition matrix and the actual CIM matrix.</p> and state transition matrix and the actual CIM matrix.</p>
@ -163,6 +163,83 @@ The class member <code class="docutils literal notranslate"><span class="pre">_c
</dd></dl> </dd></dl>
</section>
<section id="module-PyCTBN.PyCTBN.structure_graph.network_generator">
<span id="pyctbn-pyctbn-structure-graph-network-generator-module"></span><h2>PyCTBN.PyCTBN.structure_graph.network_generator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.network_generator" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.network_generator.</code><code class="sig-name descname">NetworkGenerator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">labels</span></em>, <em class="sig-param"><span class="n">vals</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Provides the methods to generate a network graph and the CIMs related to it
Items in _labels, _vals and _indxs are related, and therefore respect the same order</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>_labels</strong> (<em>List</em>) – List of variables labels that will be part of the network</p></li>
<li><p><strong>_vals</strong> (<em>List</em>) – List of cardinalities of the variables in network (defined in the same order as _labels)</p></li>
<li><p><strong>_indxs</strong> (<em>List</em>) – List of the nodes indexes</p></li>
<li><p><strong>_cims</strong> (<em>Dict</em>) – It contains, for each variable label (the key), the SetOfCims object related to it</p></li>
<li><p><strong>_graph</strong> (<a class="reference internal" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph" title="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph"><em>NetworkGraph</em></a>) – The NetworkGraph object representing the generated structure</p></li>
</ul>
</dd>
</dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.cims">
<em class="property">property </em><code class="sig-name descname">cims</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.cims" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.dyn_str">
<em class="property">property </em><code class="sig-name descname">dyn_str</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.dyn_str" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_cims">
<code class="sig-name descname">generate_cims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">min_val</span></em>, <em class="sig-param"><span class="n">max_val</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_cims" title="Permalink to this definition"></a></dt>
<dd><dl class="simple">
<dt>For each node, generate the corresponding SetOfCims. The objective is to group the CIMs </dt><dd><p>(actually generated by private method __generate_cim) according to parents possibles states of every node.
This method must obviously be executed after the graph has been generated.</p>
</dd>
</dl>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>min_val</strong> (<em>float</em>) – Minimum value allowed for the coefficients in the CIMs</p></li>
<li><p><strong>max_val</strong> (<em>float</em>) – Maximum value allowed for the coefficients in the CIMs</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_graph">
<code class="sig-name descname">generate_graph</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">density</span></em>, <em class="sig-param"><span class="n">fixed</span><span class="p">:</span> <span class="n">bool</span> <span class="o">=</span> <span class="default_value">False</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_graph" title="Permalink to this definition"></a></dt>
<dd><dl class="simple">
<dt>Generate the edges according to specified density, and then instantiate the NetworkGraph object</dt><dd><p>to represent the network</p>
</dd>
</dl>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>density</strong> (<em>float</em>) – Probability of an edge between two nodes to exist</p></li>
<li><p><strong>fixed</strong> (<em>bool</em>) – Specifies whether the required density is mandatory or it’s just a probability</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.graph">
<em class="property">property </em><code class="sig-name descname">graph</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.graph" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.variables">
<em class="property">property </em><code class="sig-name descname">variables</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.variables" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</section> </section>
<section id="module-PyCTBN.PyCTBN.structure_graph.network_graph"> <section id="module-PyCTBN.PyCTBN.structure_graph.network_graph">
<span id="pyctbn-pyctbn-structure-graph-network-graph-module"></span><h2>PyCTBN.PyCTBN.structure_graph.network_graph module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.network_graph" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-structure-graph-network-graph-module"></span><h2>PyCTBN.PyCTBN.structure_graph.network_graph module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.network_graph" title="Permalink to this headline"></a></h2>
@ -525,7 +602,7 @@ Clears all the unused dataframes in <code class="docutils literal notranslate"><
<span id="pyctbn-pyctbn-structure-graph-set-of-cims-module"></span><h2>PyCTBN.PyCTBN.structure_graph.set_of_cims module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.set_of_cims" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-structure-graph-set-of-cims-module"></span><h2>PyCTBN.PyCTBN.structure_graph.set_of_cims module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.set_of_cims" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims"> <dt id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.set_of_cims.</code><code class="sig-name descname">SetOfCims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">parents_states_number</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">node_states_number</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">p_combs</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.set_of_cims.</code><code class="sig-name descname">SetOfCims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">parents_states_number</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">node_states_number</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">p_combs</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">cims</span><span class="p">:</span> <span class="n">numpy.ndarray</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Aggregates all the CIMS of the node identified by the label _node_id.</p> <p>Aggregates all the CIMS of the node identified by the label _node_id.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -780,6 +857,77 @@ The class member <code class="docutils literal notranslate"><span class="pre">_t
</dd></dl> </dd></dl>
</section>
<section id="module-PyCTBN.PyCTBN.structure_graph.trajectory_generator">
<span id="pyctbn-pyctbn-structure-graph-trajectory-generator-module"></span><h2>PyCTBN.PyCTBN.structure_graph.trajectory_generator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.trajectory_generator" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt id="PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.trajectory_generator.</code><code class="sig-name descname">TrajectoryGenerator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">importer</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter">PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter</a></span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">variables</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">dyn_str</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">dyn_cims</span><span class="p">:</span> <span class="n">dict</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Provides the methods to generate a trajectory basing on the network defined
in the importer.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>_importer</strong> (<a class="reference internal" href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"><em>AbstractImporter</em></a>) – the Importer object which contains the imported and processed data</p></li>
<li><p><strong>_vnames</strong> (<em>List</em>) – List of the variables labels that belong to the network</p></li>
<li><p><strong>_parents</strong> (<em>Dict</em>) – It contains, for each variable label (the key), the list of related parents labels</p></li>
<li><p><strong>_cims</strong> (<em>Dict</em>) – It contains, for each variable label (the key), the SetOfCims object related to it</p></li>
<li><p><strong>_generated_trajectory</strong> (<em>pandas.DataFrame</em>) – Result of the execution of CTBN_Sample, contains the output trajectory</p></li>
</ul>
</dd>
</dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.CTBN_Sample">
<code class="sig-name descname">CTBN_Sample</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">t_end</span><span class="o">=</span><span class="default_value">- 1</span></em>, <em class="sig-param"><span class="n">max_tr</span><span class="o">=</span><span class="default_value">- 1</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.CTBN_Sample" title="Permalink to this definition"></a></dt>
<dd><dl class="simple">
<dt>This method implements the generation of a trajectory, basing on the network structure and</dt><dd><p>on the coefficients defined in the CIMs.
The variables are initialized with value 0, and the method takes care of adding the
conventional last row made up of -1.</p>
</dd>
</dl>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>t_end</strong> (<em>float</em>) – If defined, the sampling ends when end time is reached</p></li>
<li><p><strong>max_tr</strong> (<em>int</em>) – Parameter taken in consideration in case that t_end isn’t defined. It specifies the number of transitions to execute</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.multi_trajectory">
<code class="sig-name descname">multi_trajectory</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">t_ends</span><span class="p">:</span> <span class="n">list</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">max_trs</span><span class="p">:</span> <span class="n">list</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.multi_trajectory" title="Permalink to this definition"></a></dt>
<dd><p>Generate n trajectories in parallel, where n is the number of items in
t_ends, if defined, or the number of items in max_trs otherwise</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>t_ends</strong> (<em>list</em>) – List of t_end values for the trajectories that will be generated</p></li>
<li><p><strong>max_trs</strong> (<em>list</em>) – List of max_tr values for the trajectories that will be generated</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.worker">
<code class="sig-name descname">worker</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">t_end</span></em>, <em class="sig-param"><span class="n">max_tr</span></em>, <em class="sig-param"><span class="n">trajectories</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.worker" title="Permalink to this definition"></a></dt>
<dd><p>Single process that will be executed in parallel in order to generate one trajectory.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>t_end</strong> (<em>float</em>) – If defined, the sampling ends when end time is reached</p></li>
<li><p><strong>max_tr</strong> (<em>int</em>) – Parameter taken in consideration in case that t_end isn’t defined. It specifies the number of transitions to execute</p></li>
<li><p><strong>trajectories</strong> (<em>list</em>) – Shared list that contains to which the generated trajectory is added</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section> </section>
<section id="module-PyCTBN.PyCTBN.structure_graph"> <section id="module-PyCTBN.PyCTBN.structure_graph">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph" title="Permalink to this headline"></a></h2> <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph" title="Permalink to this headline"></a></h2>

@ -119,6 +119,52 @@
<h1>PyCTBN.PyCTBN.utility package<a class="headerlink" href="#pyctbn-pyctbn-utility-package" title="Permalink to this headline"></a></h1> <h1>PyCTBN.PyCTBN.utility package<a class="headerlink" href="#pyctbn-pyctbn-utility-package" title="Permalink to this headline"></a></h1>
<section id="submodules"> <section id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2> <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2>
</section>
<section id="module-PyCTBN.PyCTBN.utility.abstract_exporter">
<span id="pyctbn-pyctbn-utility-abstract-exporter-module"></span><h2>PyCTBN.PyCTBN.utility.abstract_exporter module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.abstract_exporter" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt id="PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.utility.abstract_exporter.</code><code class="sig-name descname">AbstractExporter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">variables</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">dyn_str</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">dyn_cims</span><span class="p">:</span> <span class="n">dict</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">abc.ABC</span></code></p>
<p>Abstract class that exposes the methods to save in json format a network information
along with one or more trajectories generated basing on it</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>_variables</strong> (<em>pandas.DataFrame</em>) – Dataframe containing the nodes labels and cardinalities</p></li>
<li><p><strong>_dyn_str</strong> (<em>pandas.DataFrame</em>) – Dataframe containing the structure of the network (edges)</p></li>
<li><p><strong>_dyn_cims</strong> (<em>dict</em>) – It contains, for every variable (label is the key), the SetOfCims object related to it</p></li>
<li><p><strong>_trajectories</strong> (<em>List</em>) – List of trajectories, that can be added subsequently</p></li>
</ul>
</dd>
</dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter.add_trajectory">
<code class="sig-name descname">add_trajectory</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">trajectory</span><span class="p">:</span> <span class="n">list</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter.add_trajectory" title="Permalink to this definition"></a></dt>
<dd><p>Add a new trajectory to the current list</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>trajectory</strong> (<em>pandas.DataFrame</em>) – The trajectory to add</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter.out_file">
<em class="property">abstract </em><code class="sig-name descname">out_file</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">filename</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter.out_file" title="Permalink to this definition"></a></dt>
<dd><dl class="simple">
<dt>Create a file in current directory and write on it the previously added data </dt><dd><p>(variables, dyn_str, dyn_cims and trajectories)</p>
</dd>
</dl>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>filename</strong> (<em>string</em>) – Name of the output file (it must include json extension)</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section> </section>
<section id="module-PyCTBN.PyCTBN.utility.abstract_importer"> <section id="module-PyCTBN.PyCTBN.utility.abstract_importer">
<span id="pyctbn-pyctbn-utility-abstract-importer-module"></span><h2>PyCTBN.PyCTBN.utility.abstract_importer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.abstract_importer" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-utility-abstract-importer-module"></span><h2>PyCTBN.PyCTBN.utility.abstract_importer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.abstract_importer" title="Permalink to this headline"></a></h2>
@ -340,12 +386,52 @@ None otherwise.</p>
</dd></dl> </dd></dl>
</section>
<section id="module-PyCTBN.PyCTBN.utility.json_exporter">
<span id="pyctbn-pyctbn-utility-json-exporter-module"></span><h2>PyCTBN.PyCTBN.utility.json_exporter module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.json_exporter" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt id="PyCTBN.PyCTBN.utility.json_exporter.JsonExporter">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.utility.json_exporter.</code><code class="sig-name descname">JsonExporter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">variables</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">dyn_str</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">dyn_cims</span><span class="p">:</span> <span class="n">dict</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_exporter.JsonExporter" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter" title="PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter</span></code></a></p>
<p>Provides the methods to save in json format a network information
along with one or more trajectories generated basing on it</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>_variables</strong> (<em>pandas.DataFrame</em>) – Dataframe containing the nodes labels and cardinalities</p></li>
<li><p><strong>_dyn_str</strong> (<em>pandas.DataFrame</em>) – Dataframe containing the structure of the network (edges)</p></li>
<li><p><strong>_dyn_cims</strong> (<em>dict</em>) – It contains, for every variable (label is the key), the SetOfCims object related to it</p></li>
<li><p><strong>_trajectories</strong> (<em>List</em>) – List of trajectories, that can be added subsequently</p></li>
</ul>
</dd>
</dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.utility.json_exporter.JsonExporter.cims_to_json">
<code class="sig-name descname">cims_to_json</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; dict<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_exporter.JsonExporter.cims_to_json" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.utility.json_exporter.JsonExporter.out_file">
<code class="sig-name descname">out_file</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">filename</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_exporter.JsonExporter.out_file" title="Permalink to this definition"></a></dt>
<dd><dl class="simple">
<dt>Create a file in current directory and write on it the previously added data </dt><dd><p>(variables, dyn_str, dyn_cims and trajectories)</p>
</dd>
</dl>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>filename</strong> (<em>string</em>) – Name of the output file (it must include json extension)</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section> </section>
<section id="module-PyCTBN.PyCTBN.utility.json_importer"> <section id="module-PyCTBN.PyCTBN.utility.json_importer">
<span id="pyctbn-pyctbn-utility-json-importer-module"></span><h2>PyCTBN.PyCTBN.utility.json_importer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.json_importer" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-utility-json-importer-module"></span><h2>PyCTBN.PyCTBN.utility.json_importer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.json_importer" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.utility.json_importer.</code><code class="sig-name descname">JsonImporter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">file_path</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">samples_label</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">structure_label</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">variables_label</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">time_key</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">variables_key</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.utility.json_importer.</code><code class="sig-name descname">JsonImporter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">file_path</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">samples_label</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">structure_label</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">variables_label</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">time_key</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">variables_key</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">cims_label</span><span class="p">:</span> <span class="n">str</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter</span></code></a></p> <dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter</span></code></a></p>
<p>Implements the abstracts methods of AbstractImporter and adds all the necessary methods to process and prepare <p>Implements the abstracts methods of AbstractImporter and adds all the necessary methods to process and prepare
the data in json extension.</p> the data in json extension.</p>

@ -142,18 +142,22 @@
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html">PyCTBN.PyCTBN.structure_graph package</a><ul> <li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html">PyCTBN.PyCTBN.structure_graph package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#submodules">Submodules</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_generator">PyCTBN.PyCTBN.structure_graph.network_generator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_graph">PyCTBN.PyCTBN.structure_graph.network_graph module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_graph">PyCTBN.PyCTBN.structure_graph.network_graph module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.sample_path">PyCTBN.PyCTBN.structure_graph.sample_path module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.sample_path">PyCTBN.PyCTBN.structure_graph.sample_path module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.set_of_cims">PyCTBN.PyCTBN.structure_graph.set_of_cims module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.set_of_cims">PyCTBN.PyCTBN.structure_graph.set_of_cims module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.structure">PyCTBN.PyCTBN.structure_graph.structure module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.structure">PyCTBN.PyCTBN.structure_graph.structure module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory">PyCTBN.PyCTBN.structure_graph.trajectory module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory">PyCTBN.PyCTBN.structure_graph.trajectory module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory_generator">PyCTBN.PyCTBN.structure_graph.trajectory_generator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph">Module contents</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph">Module contents</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html">PyCTBN.PyCTBN.utility package</a><ul> <li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html">PyCTBN.PyCTBN.utility package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#submodules">Submodules</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_exporter">PyCTBN.PyCTBN.utility.abstract_exporter module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_importer">PyCTBN.PyCTBN.utility.abstract_importer module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_importer">PyCTBN.PyCTBN.utility.abstract_importer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache">PyCTBN.PyCTBN.utility.cache module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache">PyCTBN.PyCTBN.utility.cache module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_exporter">PyCTBN.PyCTBN.utility.json_exporter module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_importer">PyCTBN.PyCTBN.utility.json_importer module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_importer">PyCTBN.PyCTBN.utility.json_importer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.sample_importer">PyCTBN.PyCTBN.utility.sample_importer module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.sample_importer">PyCTBN.PyCTBN.utility.sample_importer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility">Module contents</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility">Module contents</a></li>
@ -164,12 +168,62 @@
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.html#module-PyCTBN.PyCTBN">Module contents</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.html#module-PyCTBN.PyCTBN">Module contents</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l1"><a class="reference internal" href="PyCTBN.tests.html">PyCTBN.tests package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.html#subpackages">Subpackages</a><ul>
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.tests.estimators.html">PyCTBN.tests.estimators package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_parameters_estimator">PyCTBN.tests.estimators.test_parameters_estimator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_constraint_based_estimator">PyCTBN.tests.estimators.test_structure_constraint_based_estimator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_estimator">PyCTBN.tests.estimators.test_structure_estimator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_score_based_estimator">PyCTBN.tests.estimators.test_structure_score_based_estimator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators">Module contents</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.tests.optimizers.html">PyCTBN.tests.optimizers package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.optimizers.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers.test_hill_climbing_search">PyCTBN.tests.optimizers.test_hill_climbing_search module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers.test_tabu_search">PyCTBN.tests.optimizers.test_tabu_search module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers">Module contents</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.tests.structure_graph.html">PyCTBN.tests.structure_graph package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">PyCTBN.tests.structure_graph.test_cim module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgenerator">PyCTBN.tests.structure_graph.test_networkgenerator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgraph">PyCTBN.tests.structure_graph.test_networkgraph module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_sample_path">PyCTBN.tests.structure_graph.test_sample_path module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_setofcims">PyCTBN.tests.structure_graph.test_setofcims module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_structure">PyCTBN.tests.structure_graph.test_structure module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">PyCTBN.tests.structure_graph.test_trajectory module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectorygenerator">PyCTBN.tests.structure_graph.test_trajectorygenerator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph">Module contents</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.tests.utility.html">PyCTBN.tests.utility package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.utility.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.utility.html#module-PyCTBN.tests.utility.test_cache">PyCTBN.tests.utility.test_cache module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.utility.html#module-PyCTBN.tests.utility.test_json_importer">PyCTBN.tests.utility.test_json_importer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.utility.html#module-PyCTBN.tests.utility.test_sample_importer">PyCTBN.tests.utility.test_sample_importer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.utility.html#module-PyCTBN.tests.utility">Module contents</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.html#module-PyCTBN.tests">Module contents</a></li>
</ul>
</li>
</ul> </ul>
</div> </div>
</section> </section>
<section id="submodules"> <section id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2> <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2>
</section> </section>
<section id="pyctbn-basic-main-module">
<h2>PyCTBN.basic_main module<a class="headerlink" href="#pyctbn-basic-main-module" title="Permalink to this headline"></a></h2>
</section>
<section id="pyctbn-setup-module">
<h2>PyCTBN.setup module<a class="headerlink" href="#pyctbn-setup-module" title="Permalink to this headline"></a></h2>
</section>
<section id="module-PyCTBN"> <section id="module-PyCTBN">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-PyCTBN" title="Permalink to this headline"></a></h2> <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-PyCTBN" title="Permalink to this headline"></a></h2>
</section> </section>

@ -137,11 +137,13 @@
<li class="toctree-l1"><a class="reference internal" href="PyCTBN.tests.structure_graph.html">PyCTBN.tests.structure_graph package</a><ul> <li class="toctree-l1"><a class="reference internal" href="PyCTBN.tests.structure_graph.html">PyCTBN.tests.structure_graph package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#submodules">Submodules</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">PyCTBN.tests.structure_graph.test_cim module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">PyCTBN.tests.structure_graph.test_cim module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgenerator">PyCTBN.tests.structure_graph.test_networkgenerator module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgraph">PyCTBN.tests.structure_graph.test_networkgraph module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgraph">PyCTBN.tests.structure_graph.test_networkgraph module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_sample_path">PyCTBN.tests.structure_graph.test_sample_path module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_sample_path">PyCTBN.tests.structure_graph.test_sample_path module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_setofcims">PyCTBN.tests.structure_graph.test_setofcims module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_setofcims">PyCTBN.tests.structure_graph.test_setofcims module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_structure">PyCTBN.tests.structure_graph.test_structure module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_structure">PyCTBN.tests.structure_graph.test_structure module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">PyCTBN.tests.structure_graph.test_trajectory module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">PyCTBN.tests.structure_graph.test_trajectory module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectorygenerator">PyCTBN.tests.structure_graph.test_trajectorygenerator module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph">Module contents</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph">Module contents</a></li>
</ul> </ul>
</li> </li>

@ -146,6 +146,25 @@
</dd></dl> </dd></dl>
</section>
<section id="module-PyCTBN.tests.structure_graph.test_networkgenerator">
<span id="pyctbn-tests-structure-graph-test-networkgenerator-module"></span><h2>PyCTBN.tests.structure_graph.test_networkgenerator module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_networkgenerator" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt id="PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.structure_graph.test_networkgenerator.</code><code class="sig-name descname">TestNetworkGenerator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator.test_generate_cims">
<code class="sig-name descname">test_generate_cims</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator.test_generate_cims" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator.test_generate_graph">
<code class="sig-name descname">test_generate_graph</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator.test_generate_graph" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</section> </section>
<section id="module-PyCTBN.tests.structure_graph.test_networkgraph"> <section id="module-PyCTBN.tests.structure_graph.test_networkgraph">
<span id="pyctbn-tests-structure-graph-test-networkgraph-module"></span><h2>PyCTBN.tests.structure_graph.test_networkgraph module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_networkgraph" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-structure-graph-test-networkgraph-module"></span><h2>PyCTBN.tests.structure_graph.test_networkgraph module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_networkgraph" title="Permalink to this headline"></a></h2>
@ -443,6 +462,41 @@
</dd></dl> </dd></dl>
</section>
<section id="module-PyCTBN.tests.structure_graph.test_trajectorygenerator">
<span id="pyctbn-tests-structure-graph-test-trajectorygenerator-module"></span><h2>PyCTBN.tests.structure_graph.test_trajectorygenerator module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_trajectorygenerator" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt id="PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.structure_graph.test_trajectorygenerator.</code><code class="sig-name descname">TestTrajectoryGenerator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.setUpClass">
<em class="property">classmethod </em><code class="sig-name descname">setUpClass</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.setUpClass" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up class fixture before running tests in the class.</p>
</dd></dl>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_generated_trajectory">
<code class="sig-name descname">test_generated_trajectory</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_generated_trajectory" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_generated_trajectory_max_tr">
<code class="sig-name descname">test_generated_trajectory_max_tr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_generated_trajectory_max_tr" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_init">
<code class="sig-name descname">test_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_multi_trajectory">
<code class="sig-name descname">test_multi_trajectory</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_multi_trajectory" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</section> </section>
<section id="module-PyCTBN.tests.structure_graph"> <section id="module-PyCTBN.tests.structure_graph">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-PyCTBN.tests.structure_graph" title="Permalink to this headline"></a></h2> <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-PyCTBN.tests.structure_graph" title="Permalink to this headline"></a></h2>

@ -12,6 +12,14 @@ PyCTBN.PyCTBN.structure\_graph.conditional\_intensity\_matrix module
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
PyCTBN.PyCTBN.structure\_graph.network\_generator module
--------------------------------------------------------
.. automodule:: PyCTBN.PyCTBN.structure_graph.network_generator
:members:
:undoc-members:
:show-inheritance:
PyCTBN.PyCTBN.structure\_graph.network\_graph module PyCTBN.PyCTBN.structure\_graph.network\_graph module
---------------------------------------------------- ----------------------------------------------------
@ -52,6 +60,14 @@ PyCTBN.PyCTBN.structure\_graph.trajectory module
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
PyCTBN.PyCTBN.structure\_graph.trajectory\_generator module
-----------------------------------------------------------
.. automodule:: PyCTBN.PyCTBN.structure_graph.trajectory_generator
:members:
:undoc-members:
:show-inheritance:
Module contents Module contents
--------------- ---------------

@ -4,6 +4,14 @@ PyCTBN.PyCTBN.utility package
Submodules Submodules
---------- ----------
PyCTBN.PyCTBN.utility.abstract\_exporter module
-----------------------------------------------
.. automodule:: PyCTBN.PyCTBN.utility.abstract_exporter
:members:
:undoc-members:
:show-inheritance:
PyCTBN.PyCTBN.utility.abstract\_importer module PyCTBN.PyCTBN.utility.abstract\_importer module
----------------------------------------------- -----------------------------------------------
@ -20,6 +28,14 @@ PyCTBN.PyCTBN.utility.cache module
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
PyCTBN.PyCTBN.utility.json\_exporter module
-------------------------------------------
.. automodule:: PyCTBN.PyCTBN.utility.json_exporter
:members:
:undoc-members:
:show-inheritance:
PyCTBN.PyCTBN.utility.json\_importer module PyCTBN.PyCTBN.utility.json\_importer module
------------------------------------------- -------------------------------------------

@ -8,10 +8,27 @@ Subpackages
:maxdepth: 4 :maxdepth: 4
PyCTBN.PyCTBN PyCTBN.PyCTBN
PyCTBN.tests
Submodules Submodules
---------- ----------
PyCTBN.basic\_main module
-------------------------
.. automodule:: PyCTBN.basic_main
:members:
:undoc-members:
:show-inheritance:
PyCTBN.setup module
-------------------
.. automodule:: PyCTBN.setup
:members:
:undoc-members:
:show-inheritance:
Module contents Module contents
--------------- ---------------

@ -12,6 +12,14 @@ PyCTBN.tests.structure\_graph.test\_cim module
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
PyCTBN.tests.structure\_graph.test\_networkgenerator module
-----------------------------------------------------------
.. automodule:: PyCTBN.tests.structure_graph.test_networkgenerator
:members:
:undoc-members:
:show-inheritance:
PyCTBN.tests.structure\_graph.test\_networkgraph module PyCTBN.tests.structure\_graph.test\_networkgraph module
------------------------------------------------------- -------------------------------------------------------
@ -52,6 +60,14 @@ PyCTBN.tests.structure\_graph.test\_trajectory module
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
PyCTBN.tests.structure\_graph.test\_trajectorygenerator module
--------------------------------------------------------------
.. automodule:: PyCTBN.tests.structure_graph.test_trajectorygenerator
:members:
:undoc-members:
:show-inheritance:
Module contents Module contents
--------------- ---------------

@ -0,0 +1,7 @@
example module
==============
.. automodule:: example
:members:
:undoc-members:
:show-inheritance:

@ -4,5 +4,6 @@ PyCTBN
.. toctree:: .. toctree::
:maxdepth: 4 :maxdepth: 4
PyCTBN.PyCTBN PyCTBN
examples example
setup

@ -0,0 +1,179 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="" lang="" version="-//W3C//DTD XHTML 1.1//EN" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>example module &mdash; PyCTBN 2.0 documentation</title>
<link href='https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'/>
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="index" title="Index"
href="genindex.html"/>
<link rel="search" title="Search" href="search.html"/>
<link rel="top" title="PyCTBN 2.0 documentation" href="index.html"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="cache-control" content="public" />
<meta name="robots" content="follow, all" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Add jQuery library -->
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-nav-search">
<a href="index.html" class="fa fa-home"> PyCTBN </a>
<div role="search">
<form id ="rtd-search-form" class="wy-form"
action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<p><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="PyCTBN.PyCTBN.html">PyCTBN.PyCTBN package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.html#subpackages">Subpackages</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.html#module-PyCTBN.PyCTBN">Module contents</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="examples.html">Examples</a><ul>
<li class="toctree-l2"><a class="reference internal" href="examples.html#installation-usage">Installation/Usage</a></li>
<li class="toctree-l2"><a class="reference internal" href="examples.html#implementing-your-own-data-importer">Implementing your own data importer</a></li>
<li class="toctree-l2"><a class="reference internal" href="examples.html#parameters-estimation-example">Parameters Estimation Example</a></li>
<li class="toctree-l2"><a class="reference internal" href="examples.html#structure-estimation-example">Structure Estimation Example</a></li>
</ul>
</li>
</ul>
</div>
&nbsp;
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" id="barra-mobile" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="#">Porão do Juca</a>
</nav>
<div class="wy-nav-content">
<div class="fundo-claro">
</div>
<div class="fundo-escuro">
</div>
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<!-- <ul class="wy-breadcrumbs"> -->
<!-- <li><a href="#">Docs</a> &raquo;</li> -->
<!-- <li>Features</li> -->
<!-- <li class="wy-breadcrumbs-aside"> -->
<!-- <a href="_sources/index.txt" rel="nofollow"> View page source</a> -->
<!-- </li> -->
<!-- </ul> -->
<!-- <hr/> -->
</div>
<div role="main" class="">
<div id="content" class="hfeed entry-container hentry">
<section id="example-module">
<h1>example module<a class="headerlink" href="#example-module" title="Permalink to this headline"></a></h1>
</section>
</div>
<footer>
<hr/>
<div role="contentinfo">
<p>
&copy; Copyright 2021, Bregoli Alessandro, Martini Filippo, Moretti Luca.
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/jucacrispim/sphinx_pdj_theme">theme</a> provided by <a href="http://poraodojuca.net">Porão do Juca</a>.
</footer>
</div>
</div>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'2.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js">
</script>
<script type="text/javascript" src="_static/underscore.js">
</script>
<script type="text/javascript" src="_static/doctools.js">
</script>
<script type="text/javascript" src="_static/language_data.js">
</script>
<script type="text/javascript"
src="_static/js/theme.js"></script>
<script type="text/javascript"
src="_static/js/pdj.js"></script>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.StickyNav.enable();
});
</script>
</body>
</html>

@ -134,11 +134,14 @@
| <a href="#S"><strong>S</strong></a> | <a href="#S"><strong>S</strong></a>
| <a href="#T"><strong>T</strong></a> | <a href="#T"><strong>T</strong></a>
| <a href="#V"><strong>V</strong></a> | <a href="#V"><strong>V</strong></a>
| <a href="#W"><strong>W</strong></a>
</div> </div>
<h2 id="A">A</h2> <h2 id="A">A</h2>
<table style="width: 100%" class="indextable genindextable"><tr> <table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter">AbstractExporter (class in PyCTBN.PyCTBN.utility.abstract_exporter)</a>
</li>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter">AbstractImporter (class in PyCTBN.PyCTBN.utility.abstract_importer)</a> <li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter">AbstractImporter (class in PyCTBN.PyCTBN.utility.abstract_importer)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.actual_cims">actual_cims() (PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.actual_cims">actual_cims() (PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims property)</a>
@ -149,12 +152,14 @@
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.add_nodes">add_nodes() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph method)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.add_nodes">add_nodes() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph method)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.adjacency_matrix">adjacency_matrix() (PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator method)</a> <li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter.add_trajectory">add_trajectory() (PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter method)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.another_filtering_method">another_filtering_method() (PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims method)</a> <li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.adjacency_matrix">adjacency_matrix() (PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator method)</a>
</li> </li>
</ul></td> </ul></td>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.another_filtering_method">another_filtering_method() (PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_p_combs_structure">aux_build_p_combs_structure() (PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_p_combs_structure">aux_build_p_combs_structure() (PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph method)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_time_columns_filtering_structure_for_a_node">aux_build_time_columns_filtering_structure_for_a_node() (PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_time_columns_filtering_structure_for_a_node">aux_build_time_columns_filtering_structure_for_a_node() (PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph method)</a>
@ -226,6 +231,10 @@
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.cim">cim() (PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.cim">cim() (PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix property)</a>
</li> </li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.cim_equality_test">cim_equality_test() (PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior method)</a> <li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.cim_equality_test">cim_equality_test() (PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior method)</a>
</li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.cims">cims() (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator property)</a>
</li>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.json_exporter.JsonExporter.cims_to_json">cims_to_json() (PyCTBN.PyCTBN.utility.json_exporter.JsonExporter method)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.clean_structure_edges">clean_structure_edges() (PyCTBN.PyCTBN.structure_graph.structure.Structure method)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.clean_structure_edges">clean_structure_edges() (PyCTBN.PyCTBN.structure_graph.structure.Structure method)</a>
</li> </li>
@ -266,6 +275,8 @@
<li><a href="PyCTBN.PyCTBN.optimizers.html#PyCTBN.PyCTBN.optimizers.constraint_based_optimizer.ConstraintBasedOptimizer">ConstraintBasedOptimizer (class in PyCTBN.PyCTBN.optimizers.constraint_based_optimizer)</a> <li><a href="PyCTBN.PyCTBN.optimizers.html#PyCTBN.PyCTBN.optimizers.constraint_based_optimizer.ConstraintBasedOptimizer">ConstraintBasedOptimizer (class in PyCTBN.PyCTBN.optimizers.constraint_based_optimizer)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.contains_edge">contains_edge() (PyCTBN.PyCTBN.structure_graph.structure.Structure method)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.contains_edge">contains_edge() (PyCTBN.PyCTBN.structure_graph.structure.Structure method)</a>
</li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.CTBN_Sample">CTBN_Sample() (PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator method)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.ctpc_algorithm">ctpc_algorithm() (PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator method)</a> <li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.ctpc_algorithm">ctpc_algorithm() (PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator method)</a>
</li> </li>
@ -284,6 +295,10 @@
</li> </li>
</ul></li> </ul></li>
</ul></td> </ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.dyn_str">dyn_str() (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator property)</a>
</li>
</ul></td>
</tr></table> </tr></table>
<h2 id="E">E</h2> <h2 id="E">E</h2>
@ -337,6 +352,10 @@
<h2 id="G">G</h2> <h2 id="G">G</h2>
<table style="width: 100%" class="indextable genindextable"><tr> <table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_cims">generate_cims() (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator method)</a>
</li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_graph">generate_graph() (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator method)</a>
</li>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.generate_possible_sub_sets_of_size">generate_possible_sub_sets_of_size() (PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator static method)</a> <li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.generate_possible_sub_sets_of_size">generate_possible_sub_sets_of_size() (PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator static method)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.get_cims_number">get_cims_number() (PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims method)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.get_cims_number">get_cims_number() (PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims method)</a>
@ -371,6 +390,8 @@
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_states_number">(PyCTBN.PyCTBN.structure_graph.structure.Structure method)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_states_number">(PyCTBN.PyCTBN.structure_graph.structure.Structure method)</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.graph">graph() (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator property)</a>
</li>
</ul></td> </ul></td>
</tr></table> </tr></table>
@ -414,6 +435,10 @@
<h2 id="J">J</h2> <h2 id="J">J</h2>
<table style="width: 100%" class="indextable genindextable"><tr> <table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.json_exporter.JsonExporter">JsonExporter (class in PyCTBN.PyCTBN.utility.json_exporter)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.json_importer.JsonImporter">JsonImporter (class in PyCTBN.PyCTBN.utility.json_importer)</a> <li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.json_importer.JsonImporter">JsonImporter (class in PyCTBN.PyCTBN.utility.json_importer)</a>
</li> </li>
@ -460,6 +485,8 @@
<li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph">PyCTBN.PyCTBN.structure_graph</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph">PyCTBN.PyCTBN.structure_graph</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix</a>
</li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_generator">PyCTBN.PyCTBN.structure_graph.network_generator</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_graph">PyCTBN.PyCTBN.structure_graph.network_graph</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_graph">PyCTBN.PyCTBN.structure_graph.network_graph</a>
</li> </li>
@ -470,12 +497,18 @@
<li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.structure">PyCTBN.PyCTBN.structure_graph.structure</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.structure">PyCTBN.PyCTBN.structure_graph.structure</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory">PyCTBN.PyCTBN.structure_graph.trajectory</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory">PyCTBN.PyCTBN.structure_graph.trajectory</a>
</li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory_generator">PyCTBN.PyCTBN.structure_graph.trajectory_generator</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility">PyCTBN.PyCTBN.utility</a> <li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility">PyCTBN.PyCTBN.utility</a>
</li>
<li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_exporter">PyCTBN.PyCTBN.utility.abstract_exporter</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_importer">PyCTBN.PyCTBN.utility.abstract_importer</a> <li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_importer">PyCTBN.PyCTBN.utility.abstract_importer</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache">PyCTBN.PyCTBN.utility.cache</a> <li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache">PyCTBN.PyCTBN.utility.cache</a>
</li>
<li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_exporter">PyCTBN.PyCTBN.utility.json_exporter</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_importer">PyCTBN.PyCTBN.utility.json_importer</a> <li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_importer">PyCTBN.PyCTBN.utility.json_importer</a>
</li> </li>
@ -502,6 +535,8 @@
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph">PyCTBN.tests.structure_graph</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph">PyCTBN.tests.structure_graph</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">PyCTBN.tests.structure_graph.test_cim</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">PyCTBN.tests.structure_graph.test_cim</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgenerator">PyCTBN.tests.structure_graph.test_networkgenerator</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgraph">PyCTBN.tests.structure_graph.test_networkgraph</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgraph">PyCTBN.tests.structure_graph.test_networkgraph</a>
</li> </li>
@ -512,6 +547,8 @@
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_structure">PyCTBN.tests.structure_graph.test_structure</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_structure">PyCTBN.tests.structure_graph.test_structure</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">PyCTBN.tests.structure_graph.test_trajectory</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">PyCTBN.tests.structure_graph.test_trajectory</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectorygenerator">PyCTBN.tests.structure_graph.test_trajectorygenerator</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#module-PyCTBN.tests.utility">PyCTBN.tests.utility</a> <li><a href="PyCTBN.tests.utility.html#module-PyCTBN.tests.utility">PyCTBN.tests.utility</a>
</li> </li>
@ -523,11 +560,17 @@
</li> </li>
</ul></li> </ul></li>
</ul></td> </ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.multi_trajectory">multi_trajectory() (PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator method)</a>
</li>
</ul></td>
</tr></table> </tr></table>
<h2 id="N">N</h2> <h2 id="N">N</h2>
<table style="width: 100%" class="indextable genindextable"><tr> <table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator">NetworkGenerator (class in PyCTBN.PyCTBN.structure_graph.network_generator)</a>
</li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph">NetworkGraph (class in PyCTBN.PyCTBN.structure_graph.network_graph)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph">NetworkGraph (class in PyCTBN.PyCTBN.structure_graph.network_graph)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes">nodes() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes">nodes() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a>
@ -578,6 +621,12 @@
<ul> <ul>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.ordered">(PyCTBN.tests.utility.test_sample_importer.TestSampleImporter method)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.ordered">(PyCTBN.tests.utility.test_sample_importer.TestSampleImporter method)</a>
</li>
</ul></li>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter.out_file">out_file() (PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter method)</a>
<ul>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.json_exporter.JsonExporter.out_file">(PyCTBN.PyCTBN.utility.json_exporter.JsonExporter method)</a>
</li> </li>
</ul></li> </ul></li>
</ul></td> </ul></td>
@ -699,6 +748,13 @@
<ul> <ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix">module</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix">module</a>
</li>
</ul></li>
<li>
PyCTBN.PyCTBN.structure_graph.network_generator
<ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_generator">module</a>
</li> </li>
</ul></li> </ul></li>
<li> <li>
@ -734,6 +790,13 @@
<ul> <ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory">module</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory">module</a>
</li>
</ul></li>
<li>
PyCTBN.PyCTBN.structure_graph.trajectory_generator
<ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory_generator">module</a>
</li> </li>
</ul></li> </ul></li>
<li> <li>
@ -741,6 +804,13 @@
<ul> <ul>
<li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility">module</a> <li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility">module</a>
</li>
</ul></li>
<li>
PyCTBN.PyCTBN.utility.abstract_exporter
<ul>
<li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_exporter">module</a>
</li> </li>
</ul></li> </ul></li>
<li> <li>
@ -757,6 +827,13 @@
<ul> <ul>
<li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache">module</a> <li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache">module</a>
</li>
</ul></li>
<li>
PyCTBN.PyCTBN.utility.json_exporter
<ul>
<li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_exporter">module</a>
</li> </li>
</ul></li> </ul></li>
<li> <li>
@ -848,6 +925,13 @@
<ul> <ul>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">module</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">module</a>
</li>
</ul></li>
<li>
PyCTBN.tests.structure_graph.test_networkgenerator
<ul>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgenerator">module</a>
</li> </li>
</ul></li> </ul></li>
<li> <li>
@ -883,6 +967,13 @@
<ul> <ul>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">module</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">module</a>
</li>
</ul></li>
<li>
PyCTBN.tests.structure_graph.test_trajectorygenerator
<ul>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectorygenerator">module</a>
</li> </li>
</ul></li> </ul></li>
<li> <li>
@ -973,6 +1064,8 @@
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure.setUpClass">(PyCTBN.tests.structure_graph.test_structure.TestStructure class method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure.setUpClass">(PyCTBN.tests.structure_graph.test_structure.TestStructure class method)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.setUpClass">(PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory class method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.setUpClass">(PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory class method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.setUpClass">(PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator class method)</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.setUpClass">(PyCTBN.tests.utility.test_json_importer.TestJsonImporter class method)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.setUpClass">(PyCTBN.tests.utility.test_json_importer.TestJsonImporter class method)</a>
</li> </li>
@ -1088,8 +1181,16 @@
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_filter_cims_with_mask">test_filter_cims_with_mask() (PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_filter_cims_with_mask">test_filter_cims_with_mask() (PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims method)</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_cache.TestCache.test_find">test_find() (PyCTBN.tests.utility.test_cache.TestCache method)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_cache.TestCache.test_find">test_find() (PyCTBN.tests.utility.test_cache.TestCache method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator.test_generate_cims">test_generate_cims() (PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator.test_generate_graph">test_generate_graph() (PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator method)</a>
</li> </li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_generate_possible_sub_sets_of_size">test_generate_possible_sub_sets_of_size() (PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator method)</a> <li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_generate_possible_sub_sets_of_size">test_generate_possible_sub_sets_of_size() (PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_generated_trajectory">test_generated_trajectory() (PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_generated_trajectory_max_tr">test_generated_trajectory_max_tr() (PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator method)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_node_id">test_get_node_id() (PyCTBN.tests.structure_graph.test_structure.TestStructure method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_node_id">test_get_node_id() (PyCTBN.tests.structure_graph.test_structure.TestStructure method)</a>
</li> </li>
@ -1133,6 +1234,8 @@
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_init">(PyCTBN.tests.structure_graph.test_structure.TestStructure method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_init">(PyCTBN.tests.structure_graph.test_structure.TestStructure method)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.test_init">(PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.test_init">(PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_init">(PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator method)</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_cache.TestCache.test_init">(PyCTBN.tests.utility.test_cache.TestCache method)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_cache.TestCache.test_init">(PyCTBN.tests.utility.test_cache.TestCache method)</a>
</li> </li>
@ -1146,6 +1249,8 @@
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_filled_dataframse">test_init_not_filled_dataframse() (PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_filled_dataframse">test_init_not_filled_dataframse() (PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath method)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_initialized_importer">test_init_not_initialized_importer() (PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_initialized_importer">test_init_not_initialized_importer() (PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_multi_trajectory">test_multi_trajectory() (PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator method)</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories">test_normalize_trajectories() (PyCTBN.tests.utility.test_json_importer.TestJsonImporter method)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories">test_normalize_trajectories() (PyCTBN.tests.utility.test_json_importer.TestJsonImporter method)</a>
</li> </li>
@ -1210,6 +1315,8 @@
<li><a href="PyCTBN.tests.optimizers.html#PyCTBN.tests.optimizers.test_hill_climbing_search.TestHillClimbingSearch">TestHillClimbingSearch (class in PyCTBN.tests.optimizers.test_hill_climbing_search)</a> <li><a href="PyCTBN.tests.optimizers.html#PyCTBN.tests.optimizers.test_hill_climbing_search.TestHillClimbingSearch">TestHillClimbingSearch (class in PyCTBN.tests.optimizers.test_hill_climbing_search)</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter">TestJsonImporter (class in PyCTBN.tests.utility.test_json_importer)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter">TestJsonImporter (class in PyCTBN.tests.utility.test_json_importer)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator">TestNetworkGenerator (class in PyCTBN.tests.structure_graph.test_networkgenerator)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph">TestNetworkGraph (class in PyCTBN.tests.structure_graph.test_networkgraph)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph">TestNetworkGraph (class in PyCTBN.tests.structure_graph.test_networkgraph)</a>
</li> </li>
@ -1232,6 +1339,8 @@
<li><a href="PyCTBN.tests.optimizers.html#PyCTBN.tests.optimizers.test_tabu_search.TestTabuSearch">TestTabuSearch (class in PyCTBN.tests.optimizers.test_tabu_search)</a> <li><a href="PyCTBN.tests.optimizers.html#PyCTBN.tests.optimizers.test_tabu_search.TestTabuSearch">TestTabuSearch (class in PyCTBN.tests.optimizers.test_tabu_search)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory">TestTrajectory (class in PyCTBN.tests.structure_graph.test_trajectory)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory">TestTrajectory (class in PyCTBN.tests.structure_graph.test_trajectory)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator">TestTrajectoryGenerator (class in PyCTBN.tests.structure_graph.test_trajectorygenerator)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_filtering">time_filtering() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_filtering">time_filtering() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a>
</li> </li>
@ -1248,6 +1357,8 @@
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory">Trajectory (class in PyCTBN.PyCTBN.structure_graph.trajectory)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory">Trajectory (class in PyCTBN.PyCTBN.structure_graph.trajectory)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.trajectory">trajectory() (PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.trajectory">trajectory() (PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory property)</a>
</li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator">TrajectoryGenerator (class in PyCTBN.PyCTBN.structure_graph.trajectory_generator)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_filtering">transition_filtering() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_filtering">transition_filtering() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a>
</li> </li>
@ -1260,12 +1371,24 @@
<table style="width: 100%" class="indextable genindextable"><tr> <table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.variable_cim_xu_marginal_likelihood_q">variable_cim_xu_marginal_likelihood_q() (PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator method)</a> <li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.variable_cim_xu_marginal_likelihood_q">variable_cim_xu_marginal_likelihood_q() (PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator method)</a>
</li>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.variable_cim_xu_marginal_likelihood_theta">variable_cim_xu_marginal_likelihood_theta() (PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator method)</a>
</li> </li>
</ul></td> </ul></td>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.variable_cim_xu_marginal_likelihood_theta">variable_cim_xu_marginal_likelihood_theta() (PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator method)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.variables">variables() (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator property)</a>
<ul>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.variables">(PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.variables">variables() (PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter property)</a> </ul></li>
</ul></td>
</tr></table>
<h2 id="W">W</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.worker">worker() (PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator method)</a>
</li> </li>
</ul></td> </ul></td>
</tr></table> </tr></table>

@ -142,18 +142,22 @@
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html">PyCTBN.PyCTBN.structure_graph package</a><ul> <li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html">PyCTBN.PyCTBN.structure_graph package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#submodules">Submodules</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_generator">PyCTBN.PyCTBN.structure_graph.network_generator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_graph">PyCTBN.PyCTBN.structure_graph.network_graph module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_graph">PyCTBN.PyCTBN.structure_graph.network_graph module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.sample_path">PyCTBN.PyCTBN.structure_graph.sample_path module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.sample_path">PyCTBN.PyCTBN.structure_graph.sample_path module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.set_of_cims">PyCTBN.PyCTBN.structure_graph.set_of_cims module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.set_of_cims">PyCTBN.PyCTBN.structure_graph.set_of_cims module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.structure">PyCTBN.PyCTBN.structure_graph.structure module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.structure">PyCTBN.PyCTBN.structure_graph.structure module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory">PyCTBN.PyCTBN.structure_graph.trajectory module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory">PyCTBN.PyCTBN.structure_graph.trajectory module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory_generator">PyCTBN.PyCTBN.structure_graph.trajectory_generator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph">Module contents</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph">Module contents</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html">PyCTBN.PyCTBN.utility package</a><ul> <li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html">PyCTBN.PyCTBN.utility package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#submodules">Submodules</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_exporter">PyCTBN.PyCTBN.utility.abstract_exporter module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_importer">PyCTBN.PyCTBN.utility.abstract_importer module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_importer">PyCTBN.PyCTBN.utility.abstract_importer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache">PyCTBN.PyCTBN.utility.cache module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache">PyCTBN.PyCTBN.utility.cache module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_exporter">PyCTBN.PyCTBN.utility.json_exporter module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_importer">PyCTBN.PyCTBN.utility.json_importer module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_importer">PyCTBN.PyCTBN.utility.json_importer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.sample_importer">PyCTBN.PyCTBN.utility.sample_importer module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.sample_importer">PyCTBN.PyCTBN.utility.sample_importer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility">Module contents</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility">Module contents</a></li>

@ -116,59 +116,28 @@
<h1>PyCTBN<a class="headerlink" href="#pyctbn" title="Permalink to this headline"></a></h1> <h1>PyCTBN<a class="headerlink" href="#pyctbn" title="Permalink to this headline"></a></h1>
<div class="toctree-wrapper compound"> <div class="toctree-wrapper compound">
<ul> <ul>
<li class="toctree-l1"><a class="reference internal" href="PyCTBN.PyCTBN.html">PyCTBN.PyCTBN package</a><ul> <li class="toctree-l1"><a class="reference internal" href="PyCTBN.html">PyCTBN package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.html#subpackages">Subpackages</a><ul> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.html#subpackages">Subpackages</a><ul>
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html">PyCTBN.PyCTBN.estimators package</a><ul> <li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.html">PyCTBN.PyCTBN package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#submodules">Submodules</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.html#subpackages">Subpackages</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#module-PyCTBN.PyCTBN.estimators.fam_score_calculator">PyCTBN.PyCTBN.estimators.fam_score_calculator module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.html#module-PyCTBN.PyCTBN">Module contents</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#module-PyCTBN.PyCTBN.estimators.parameters_estimator">PyCTBN.PyCTBN.estimators.parameters_estimator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#module-PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator">PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#module-PyCTBN.PyCTBN.estimators.structure_estimator">PyCTBN.PyCTBN.estimators.structure_estimator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#module-PyCTBN.PyCTBN.estimators.structure_score_based_estimator">PyCTBN.PyCTBN.estimators.structure_score_based_estimator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#module-PyCTBN.PyCTBN.estimators">Module contents</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.optimizers.html">PyCTBN.PyCTBN.optimizers package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.optimizers.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.optimizers.html#module-PyCTBN.PyCTBN.optimizers.constraint_based_optimizer">PyCTBN.PyCTBN.optimizers.constraint_based_optimizer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.optimizers.html#module-PyCTBN.PyCTBN.optimizers.hill_climbing_search">PyCTBN.PyCTBN.optimizers.hill_climbing_search module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.optimizers.html#module-PyCTBN.PyCTBN.optimizers.optimizer">PyCTBN.PyCTBN.optimizers.optimizer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.optimizers.html#module-PyCTBN.PyCTBN.optimizers.tabu_search">PyCTBN.PyCTBN.optimizers.tabu_search module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.optimizers.html#module-PyCTBN.PyCTBN.optimizers">Module contents</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html">PyCTBN.PyCTBN.structure_graph package</a><ul> <li class="toctree-l3"><a class="reference internal" href="PyCTBN.tests.html">PyCTBN.tests package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#submodules">Submodules</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.html#subpackages">Subpackages</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.html#module-PyCTBN.tests">Module contents</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_graph">PyCTBN.PyCTBN.structure_graph.network_graph module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.sample_path">PyCTBN.PyCTBN.structure_graph.sample_path module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.set_of_cims">PyCTBN.PyCTBN.structure_graph.set_of_cims module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.structure">PyCTBN.PyCTBN.structure_graph.structure module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory">PyCTBN.PyCTBN.structure_graph.trajectory module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph">Module contents</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html">PyCTBN.PyCTBN.utility package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_importer">PyCTBN.PyCTBN.utility.abstract_importer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache">PyCTBN.PyCTBN.utility.cache module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_importer">PyCTBN.PyCTBN.utility.json_importer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.sample_importer">PyCTBN.PyCTBN.utility.sample_importer module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility">Module contents</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.html#pyctbn-basic-main-module">PyCTBN.basic_main module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.html#pyctbn-setup-module">PyCTBN.setup module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.html#module-PyCTBN">Module contents</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.html#module-PyCTBN.PyCTBN">Module contents</a></li> <li class="toctree-l1"><a class="reference internal" href="example.html">example module</a></li>
</ul> <li class="toctree-l1"><a class="reference internal" href="setup.html">setup module</a></li>
</li>
<li class="toctree-l1"><a class="reference internal" href="examples.html">Examples</a><ul>
<li class="toctree-l2"><a class="reference internal" href="examples.html#installation-usage">Installation/Usage</a></li>
<li class="toctree-l2"><a class="reference internal" href="examples.html#implementing-your-own-data-importer">Implementing your own data importer</a></li>
<li class="toctree-l2"><a class="reference internal" href="examples.html#parameters-estimation-example">Parameters Estimation Example</a></li>
<li class="toctree-l2"><a class="reference internal" href="examples.html#structure-estimation-example">Structure Estimation Example</a></li>
</ul>
</li>
</ul> </ul>
</div> </div>
</section> </section>

Binary file not shown.

@ -202,6 +202,11 @@
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
<a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix"><code class="xref">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix</code></a></td><td> <a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix"><code class="xref">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix</code></a></td><td>
<em></em></td></tr> <em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.network_generator"><code class="xref">PyCTBN.PyCTBN.structure_graph.network_generator</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1"> <tr class="cg-1">
<td></td> <td></td>
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
@ -227,11 +232,21 @@
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
<a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory"><code class="xref">PyCTBN.PyCTBN.structure_graph.trajectory</code></a></td><td> <a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory"><code class="xref">PyCTBN.PyCTBN.structure_graph.trajectory</code></a></td><td>
<em></em></td></tr> <em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory_generator"><code class="xref">PyCTBN.PyCTBN.structure_graph.trajectory_generator</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1"> <tr class="cg-1">
<td></td> <td></td>
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
<a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility"><code class="xref">PyCTBN.PyCTBN.utility</code></a></td><td> <a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility"><code class="xref">PyCTBN.PyCTBN.utility</code></a></td><td>
<em></em></td></tr> <em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_exporter"><code class="xref">PyCTBN.PyCTBN.utility.abstract_exporter</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1"> <tr class="cg-1">
<td></td> <td></td>
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
@ -242,6 +257,11 @@
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
<a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache"><code class="xref">PyCTBN.PyCTBN.utility.cache</code></a></td><td> <a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.cache"><code class="xref">PyCTBN.PyCTBN.utility.cache</code></a></td><td>
<em></em></td></tr> <em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.json_exporter"><code class="xref">PyCTBN.PyCTBN.utility.json_exporter</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1"> <tr class="cg-1">
<td></td> <td></td>
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
@ -307,6 +327,11 @@
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
<a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim"><code class="xref">PyCTBN.tests.structure_graph.test_cim</code></a></td><td> <a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim"><code class="xref">PyCTBN.tests.structure_graph.test_cim</code></a></td><td>
<em></em></td></tr> <em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgenerator"><code class="xref">PyCTBN.tests.structure_graph.test_networkgenerator</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1"> <tr class="cg-1">
<td></td> <td></td>
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
@ -332,6 +357,11 @@
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
<a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory"><code class="xref">PyCTBN.tests.structure_graph.test_trajectory</code></a></td><td> <a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory"><code class="xref">PyCTBN.tests.structure_graph.test_trajectory</code></a></td><td>
<em></em></td></tr> <em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectorygenerator"><code class="xref">PyCTBN.tests.structure_graph.test_trajectorygenerator</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1"> <tr class="cg-1">
<td></td> <td></td>
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;

File diff suppressed because one or more lines are too long

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -127,13 +123,13 @@
<section id="module-PyCTBN.PyCTBN.estimators.fam_score_calculator"> <section id="module-PyCTBN.PyCTBN.estimators.fam_score_calculator">
<span id="pyctbn-pyctbn-estimators-fam-score-calculator-module"></span><h2>PyCTBN.PyCTBN.estimators.fam_score_calculator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.estimators.fam_score_calculator" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-estimators-fam-score-calculator-module"></span><h2>PyCTBN.PyCTBN.estimators.fam_score_calculator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.estimators.fam_score_calculator" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator"> <dt id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.estimators.fam_score_calculator.</span></span><span class="sig-name descname"><span class="pre">FamScoreCalculator</span></span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.estimators.fam_score_calculator.</code><code class="sig-name descname">FamScoreCalculator</code><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Has the task of calculating the FamScore of a node by using a Bayesian score function</p> <p>Has the task of calculating the FamScore of a node by using a Bayesian score function</p>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.get_fam_score"> <dt id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.get_fam_score">
<span class="sig-name descname"><span class="pre">get_fam_score</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cims</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.array</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tau_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">0.1</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">alpha_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">1</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.get_fam_score" title="Permalink to this definition"></a></dt> <code class="sig-name descname">get_fam_score</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">cims</span><span class="p">:</span> <span class="n">numpy.array</span></em>, <em class="sig-param"><span class="n">tau_xu</span><span class="p">:</span> <span class="n">float</span> <span class="o">=</span> <span class="default_value">0.1</span></em>, <em class="sig-param"><span class="n">alpha_xu</span><span class="p">:</span> <span class="n">float</span> <span class="o">=</span> <span class="default_value">1</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.get_fam_score" title="Permalink to this definition"></a></dt>
<dd><p>Calculate the FamScore value of the node</p> <dd><p>Calculate the FamScore value of the node</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -153,8 +149,8 @@
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.marginal_likelihood_q"> <dt id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.marginal_likelihood_q">
<span class="sig-name descname"><span class="pre">marginal_likelihood_q</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cims</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.array</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tau_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">0.1</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">alpha_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">1</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.marginal_likelihood_q" title="Permalink to this definition"></a></dt> <code class="sig-name descname">marginal_likelihood_q</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">cims</span><span class="p">:</span> <span class="n">numpy.array</span></em>, <em class="sig-param"><span class="n">tau_xu</span><span class="p">:</span> <span class="n">float</span> <span class="o">=</span> <span class="default_value">0.1</span></em>, <em class="sig-param"><span class="n">alpha_xu</span><span class="p">:</span> <span class="n">float</span> <span class="o">=</span> <span class="default_value">1</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.marginal_likelihood_q" title="Permalink to this definition"></a></dt>
<dd><p>Calculate the value of the marginal likelihood over q of the node identified by the label node_id</p> <dd><p>Calculate the value of the marginal likelihood over q of the node identified by the label node_id</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -174,8 +170,8 @@
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.marginal_likelihood_theta"> <dt id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.marginal_likelihood_theta">
<span class="sig-name descname"><span class="pre">marginal_likelihood_theta</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cims</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix"><span class="pre">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">alpha_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">alpha_xxu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.marginal_likelihood_theta" title="Permalink to this definition"></a></dt> <code class="sig-name descname">marginal_likelihood_theta</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">cims</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix</a></span></em>, <em class="sig-param"><span class="n">alpha_xu</span><span class="p">:</span> <span class="n">float</span></em>, <em class="sig-param"><span class="n">alpha_xxu</span><span class="p">:</span> <span class="n">float</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.marginal_likelihood_theta" title="Permalink to this definition"></a></dt>
<dd><p>Calculate the FamScore value of the node identified by the label node_id</p> <dd><p>Calculate the FamScore value of the node identified by the label node_id</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -195,8 +191,8 @@
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.single_cim_xu_marginal_likelihood_q"> <dt id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.single_cim_xu_marginal_likelihood_q">
<span class="sig-name descname"><span class="pre">single_cim_xu_marginal_likelihood_q</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">M_xu_suff_stats</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">T_xu_suff_stats</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tau_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">0.1</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">alpha_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">1</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.single_cim_xu_marginal_likelihood_q" title="Permalink to this definition"></a></dt> <code class="sig-name descname">single_cim_xu_marginal_likelihood_q</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">M_xu_suff_stats</span><span class="p">:</span> <span class="n">float</span></em>, <em class="sig-param"><span class="n">T_xu_suff_stats</span><span class="p">:</span> <span class="n">float</span></em>, <em class="sig-param"><span class="n">tau_xu</span><span class="p">:</span> <span class="n">float</span> <span class="o">=</span> <span class="default_value">0.1</span></em>, <em class="sig-param"><span class="n">alpha_xu</span><span class="p">:</span> <span class="n">float</span> <span class="o">=</span> <span class="default_value">1</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.single_cim_xu_marginal_likelihood_q" title="Permalink to this definition"></a></dt>
<dd><p>Calculate the marginal likelihood on q of the node when assumes a specif value <dd><p>Calculate the marginal likelihood on q of the node when assumes a specif value
and a specif parents’s assignment</p> and a specif parents’s assignment</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -219,8 +215,8 @@ and a specif parents’s assignment</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.single_cim_xu_marginal_likelihood_theta"> <dt id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.single_cim_xu_marginal_likelihood_theta">
<span class="sig-name descname"><span class="pre">single_cim_xu_marginal_likelihood_theta</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">index</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cim</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix"><span class="pre">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">alpha_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">alpha_xxu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.single_cim_xu_marginal_likelihood_theta" title="Permalink to this definition"></a></dt> <code class="sig-name descname">single_cim_xu_marginal_likelihood_theta</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">index</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">cim</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix</a></span></em>, <em class="sig-param"><span class="n">alpha_xu</span><span class="p">:</span> <span class="n">float</span></em>, <em class="sig-param"><span class="n">alpha_xxu</span><span class="p">:</span> <span class="n">float</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.single_cim_xu_marginal_likelihood_theta" title="Permalink to this definition"></a></dt>
<dd><p>Calculate the marginal likelihood on q of the node when assumes a specif value <dd><p>Calculate the marginal likelihood on q of the node when assumes a specif value
and a specif parents’s assignment</p> and a specif parents’s assignment</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -241,8 +237,8 @@ and a specif parents’s assignment</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.single_internal_cim_xxu_marginal_likelihood_theta"> <dt id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.single_internal_cim_xxu_marginal_likelihood_theta">
<span class="sig-name descname"><span class="pre">single_internal_cim_xxu_marginal_likelihood_theta</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">M_xxu_suff_stats</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">alpha_xxu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">1</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.single_internal_cim_xxu_marginal_likelihood_theta" title="Permalink to this definition"></a></dt> <code class="sig-name descname">single_internal_cim_xxu_marginal_likelihood_theta</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">M_xxu_suff_stats</span><span class="p">:</span> <span class="n">float</span></em>, <em class="sig-param"><span class="n">alpha_xxu</span><span class="p">:</span> <span class="n">float</span> <span class="o">=</span> <span class="default_value">1</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.single_internal_cim_xxu_marginal_likelihood_theta" title="Permalink to this definition"></a></dt>
<dd><p>Calculate the second part of the marginal likelihood over theta formula</p> <dd><p>Calculate the second part of the marginal likelihood over theta formula</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -261,8 +257,8 @@ and a specif parents’s assignment</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.variable_cim_xu_marginal_likelihood_q"> <dt id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.variable_cim_xu_marginal_likelihood_q">
<span class="sig-name descname"><span class="pre">variable_cim_xu_marginal_likelihood_q</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cim</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix"><span class="pre">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">tau_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">0.1</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">alpha_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">1</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.variable_cim_xu_marginal_likelihood_q" title="Permalink to this definition"></a></dt> <code class="sig-name descname">variable_cim_xu_marginal_likelihood_q</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">cim</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix</a></span></em>, <em class="sig-param"><span class="n">tau_xu</span><span class="p">:</span> <span class="n">float</span> <span class="o">=</span> <span class="default_value">0.1</span></em>, <em class="sig-param"><span class="n">alpha_xu</span><span class="p">:</span> <span class="n">float</span> <span class="o">=</span> <span class="default_value">1</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.variable_cim_xu_marginal_likelihood_q" title="Permalink to this definition"></a></dt>
<dd><p>Calculate the value of the marginal likelihood over q given a cim</p> <dd><p>Calculate the value of the marginal likelihood over q given a cim</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -282,8 +278,8 @@ and a specif parents’s assignment</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.variable_cim_xu_marginal_likelihood_theta"> <dt id="PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.variable_cim_xu_marginal_likelihood_theta">
<span class="sig-name descname"><span class="pre">variable_cim_xu_marginal_likelihood_theta</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cim</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix"><span class="pre">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">alpha_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">alpha_xxu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.variable_cim_xu_marginal_likelihood_theta" title="Permalink to this definition"></a></dt> <code class="sig-name descname">variable_cim_xu_marginal_likelihood_theta</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">cim</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix</a></span></em>, <em class="sig-param"><span class="n">alpha_xu</span><span class="p">:</span> <span class="n">float</span></em>, <em class="sig-param"><span class="n">alpha_xxu</span><span class="p">:</span> <span class="n">float</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.variable_cim_xu_marginal_likelihood_theta" title="Permalink to this definition"></a></dt>
<dd><p>Calculate the value of the marginal likelihood over theta given a cim</p> <dd><p>Calculate the value of the marginal likelihood over theta given a cim</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -308,8 +304,8 @@ and a specif parents’s assignment</p>
<section id="module-PyCTBN.PyCTBN.estimators.parameters_estimator"> <section id="module-PyCTBN.PyCTBN.estimators.parameters_estimator">
<span id="pyctbn-pyctbn-estimators-parameters-estimator-module"></span><h2>PyCTBN.PyCTBN.estimators.parameters_estimator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.estimators.parameters_estimator" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-estimators-parameters-estimator-module"></span><h2>PyCTBN.PyCTBN.estimators.parameters_estimator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.estimators.parameters_estimator" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator"> <dt id="PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.estimators.parameters_estimator.</span></span><span class="sig-name descname"><span class="pre">ParametersEstimator</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">trajectories</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory" title="PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory"><span class="pre">PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">net_graph</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph" title="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph"><span class="pre">PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph</span></a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.estimators.parameters_estimator.</code><code class="sig-name descname">ParametersEstimator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">trajectories</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory" title="PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory">PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory</a></span></em>, <em class="sig-param"><span class="n">net_graph</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph" title="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph">PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph</a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Has the task of computing the cims of particular node given the trajectories and the net structure <p>Has the task of computing the cims of particular node given the trajectories and the net structure
in the graph <code class="docutils literal notranslate"><span class="pre">_net_graph</span></code>.</p> in the graph <code class="docutils literal notranslate"><span class="pre">_net_graph</span></code>.</p>
@ -325,8 +321,8 @@ in the graph <code class="docutils literal notranslate"><span class="pre">_net_g
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.compute_parameters_for_node"> <dt id="PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.compute_parameters_for_node">
<span class="sig-name descname"><span class="pre">compute_parameters_for_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims" title="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims"><span class="pre">PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims</span></a><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.compute_parameters_for_node" title="Permalink to this definition"></a></dt> <code class="sig-name descname">compute_parameters_for_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; <a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims" title="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims">PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims</a><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.compute_parameters_for_node" title="Permalink to this definition"></a></dt>
<dd><p>Compute the CIMS of the node identified by the label <code class="docutils literal notranslate"><span class="pre">node_id</span></code>.</p> <dd><p>Compute the CIMS of the node identified by the label <code class="docutils literal notranslate"><span class="pre">node_id</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -342,8 +338,8 @@ in the graph <code class="docutils literal notranslate"><span class="pre">_net_g
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.compute_state_res_time_for_node"> <dt id="PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.compute_state_res_time_for_node">
<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">compute_state_res_time_for_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">times</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">trajectory</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cols_filter</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">scalar_indexes_struct</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">T</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.compute_state_res_time_for_node" title="Permalink to this definition"></a></dt> <em class="property">static </em><code class="sig-name descname">compute_state_res_time_for_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">times</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">trajectory</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">cols_filter</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">scalar_indexes_struct</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">T</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.compute_state_res_time_for_node" title="Permalink to this definition"></a></dt>
<dd><p>Compute the state residence times for a node and fill the matrix <code class="docutils literal notranslate"><span class="pre">T</span></code> with the results</p> <dd><p>Compute the state residence times for a node and fill the matrix <code class="docutils literal notranslate"><span class="pre">T</span></code> with the results</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -360,8 +356,8 @@ in the graph <code class="docutils literal notranslate"><span class="pre">_net_g
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.compute_state_transitions_for_a_node"> <dt id="PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.compute_state_transitions_for_a_node">
<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">compute_state_transitions_for_a_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_indx</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">trajectory</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cols_filter</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">scalar_indexing</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">M</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.compute_state_transitions_for_a_node" title="Permalink to this definition"></a></dt> <em class="property">static </em><code class="sig-name descname">compute_state_transitions_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_indx</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">trajectory</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">cols_filter</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">scalar_indexing</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">M</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.compute_state_transitions_for_a_node" title="Permalink to this definition"></a></dt>
<dd><p>Compute the state residence times for a node and fill the matrices <code class="docutils literal notranslate"><span class="pre">M</span></code> with the results.</p> <dd><p>Compute the state residence times for a node and fill the matrices <code class="docutils literal notranslate"><span class="pre">M</span></code> with the results.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -377,8 +373,8 @@ in the graph <code class="docutils literal notranslate"><span class="pre">_net_g
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.fast_init"> <dt id="PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.fast_init">
<span class="sig-name descname"><span class="pre">fast_init</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.fast_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">fast_init</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.parameters_estimator.ParametersEstimator.fast_init" title="Permalink to this definition"></a></dt>
<dd><p>Initializes all the necessary structures for the parameters estimation for the node <code class="docutils literal notranslate"><span class="pre">node_id</span></code>.</p> <dd><p>Initializes all the necessary structures for the parameters estimation for the node <code class="docutils literal notranslate"><span class="pre">node_id</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -393,8 +389,8 @@ in the graph <code class="docutils literal notranslate"><span class="pre">_net_g
<section id="module-PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator"> <section id="module-PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator">
<span id="pyctbn-pyctbn-estimators-structure-constraint-based-estimator-module"></span><h2>PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-estimators-structure-constraint-based-estimator-module"></span><h2>PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator"> <dt id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.</span></span><span class="sig-name descname"><span class="pre">StructureConstraintBasedEstimator</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sample_path</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath" title="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath"><span class="pre">PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">exp_test_alfa</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">chi_test_alfa</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">known_edges</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">[]</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">thumb_threshold</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">25</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.</code><code class="sig-name descname">StructureConstraintBasedEstimator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">sample_path</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath" title="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath">PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath</a></span></em>, <em class="sig-param"><span class="n">exp_test_alfa</span><span class="p">:</span> <span class="n">float</span></em>, <em class="sig-param"><span class="n">chi_test_alfa</span><span class="p">:</span> <span class="n">float</span></em>, <em class="sig-param"><span class="n">known_edges</span><span class="p">:</span> <span class="n">List</span> <span class="o">=</span> <span class="default_value">[]</span></em>, <em class="sig-param"><span class="n">thumb_threshold</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">25</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator</span></code></a></p> <dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator</span></code></a></p>
<p>Has the task of estimating the network structure given the trajectories in samplepath by using a constraint-based approach.</p> <p>Has the task of estimating the network structure given the trajectories in samplepath by using a constraint-based approach.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -424,8 +420,8 @@ in the graph <code class="docutils literal notranslate"><span class="pre">_net_g
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.complete_test"> <dt id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.complete_test">
<span class="sig-name descname"><span class="pre">complete_test</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">test_parent</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">test_child</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parent_set</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">child_states_numb</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tot_vars_count</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parent_indx</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">child_indx</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">bool</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.complete_test" title="Permalink to this definition"></a></dt> <code class="sig-name descname">complete_test</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">test_parent</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">test_child</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">parent_set</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">child_states_numb</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">tot_vars_count</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">parent_indx</span></em>, <em class="sig-param"><span class="n">child_indx</span></em><span class="sig-paren">)</span> &#x2192; bool<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.complete_test" title="Permalink to this definition"></a></dt>
<dd><p>Performs a complete independence test on the directed graphs G1 = {test_child U parent_set} <dd><p>Performs a complete independence test on the directed graphs G1 = {test_child U parent_set}
G2 = {G1 U test_parent} (added as an additional parent of the test_child). G2 = {G1 U test_parent} (added as an additional parent of the test_child).
Generates all the necessary structures and datas to perform the tests.</p> Generates all the necessary structures and datas to perform the tests.</p>
@ -449,8 +445,8 @@ Generates all the necessary structures and datas to perform the tests.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.compute_thumb_value"> <dt id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.compute_thumb_value">
<span class="sig-name descname"><span class="pre">compute_thumb_value</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">parent_val</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">child_val</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parent_set_vals</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.compute_thumb_value" title="Permalink to this definition"></a></dt> <code class="sig-name descname">compute_thumb_value</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">parent_val</span></em>, <em class="sig-param"><span class="n">child_val</span></em>, <em class="sig-param"><span class="n">parent_set_vals</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.compute_thumb_value" title="Permalink to this definition"></a></dt>
<dd><p>Compute the value to test against the thumb_threshold.</p> <dd><p>Compute the value to test against the thumb_threshold.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -470,10 +466,8 @@ Generates all the necessary structures and datas to perform the tests.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.ctpc_algorithm"> <dt id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.ctpc_algorithm">
<code class="sig-name descname">ctpc_algorithm</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">disable_multiprocessing</span><span class="p">:</span> <span class="n">bool</span> <span class="o">=</span> <span class="default_value">False</span></em>, <em class="sig-param"><span class="n">processes_number</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.ctpc_algorithm" title="Permalink to this definition"></a></dt> <code class="sig-name descname">ctpc_algorithm</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">disable_multiprocessing</span><span class="p">:</span> <span class="n">bool</span> <span class="o">=</span> <span class="default_value">False</span></em>, <em class="sig-param"><span class="n">processes_number</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.ctpc_algorithm" title="Permalink to this definition"></a></dt>
<dd><p>Compute the CTPC algorithm over the entire net.</p> <dd><p>Compute the CTPC algorithm over the entire net.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -488,11 +482,9 @@ Generates all the necessary structures and datas to perform the tests.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.estimate_structure"> <dt id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.estimate_structure">
<code class="sig-name descname">estimate_structure</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">disable_multiprocessing</span><span class="p">:</span> <span class="n">bool</span> <span class="o">=</span> <span class="default_value">False</span></em>, <em class="sig-param"><span class="n">processes_number</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.estimate_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">estimate_structure</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">disable_multiprocessing</span><span class="p">:</span> <span class="n">bool</span> <span class="o">=</span> <span class="default_value">False</span></em>, <em class="sig-param"><span class="n">processes_number</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.estimate_structure" title="Permalink to this definition"></a></dt>
<dd><p>Compute the constraint-based algorithm to find the optimal structure</p> <dd><p>Compute the constraint-based algorithm to find the optimal structure</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple"> <dd class="field-odd"><ul class="simple">
@ -506,8 +498,8 @@ Generates all the necessary structures and datas to perform the tests.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.independence_test"> <dt id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.independence_test">
<span class="sig-name descname"><span class="pre">independence_test</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">child_states_numb</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cim1</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix"><span class="pre">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">cim2</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix"><span class="pre">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">thumb_value</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parent_indx</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">child_indx</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">bool</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.independence_test" title="Permalink to this definition"></a></dt> <code class="sig-name descname">independence_test</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">child_states_numb</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">cim1</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix</a></span></em>, <em class="sig-param"><span class="n">cim2</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix</a></span></em>, <em class="sig-param"><span class="n">thumb_value</span><span class="p">:</span> <span class="n">float</span></em>, <em class="sig-param"><span class="n">parent_indx</span></em>, <em class="sig-param"><span class="n">child_indx</span></em><span class="sig-paren">)</span> &#x2192; bool<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.independence_test" title="Permalink to this definition"></a></dt>
<dd><p>Compute the actual independence test using two cims. <dd><p>Compute the actual independence test using two cims.
It is performed first the exponential test and if the null hypothesis is not rejected, It is performed first the exponential test and if the null hypothesis is not rejected,
it is performed also the chi_test.</p> it is performed also the chi_test.</p>
@ -529,8 +521,8 @@ it is performed also the chi_test.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.one_iteration_of_CTPC_algorithm"> <dt id="PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.one_iteration_of_CTPC_algorithm">
<span class="sig-name descname"><span class="pre">one_iteration_of_CTPC_algorithm</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">var_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tot_vars_count</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.one_iteration_of_CTPC_algorithm" title="Permalink to this definition"></a></dt> <code class="sig-name descname">one_iteration_of_CTPC_algorithm</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">var_id</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">tot_vars_count</span><span class="p">:</span> <span class="n">int</span></em><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.one_iteration_of_CTPC_algorithm" title="Permalink to this definition"></a></dt>
<dd><p>Performs an iteration of the CTPC algorithm using the node <code class="docutils literal notranslate"><span class="pre">var_id</span></code> as <code class="docutils literal notranslate"><span class="pre">test_child</span></code>.</p> <dd><p>Performs an iteration of the CTPC algorithm using the node <code class="docutils literal notranslate"><span class="pre">var_id</span></code> as <code class="docutils literal notranslate"><span class="pre">test_child</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -545,8 +537,8 @@ it is performed also the chi_test.</p>
<section id="module-PyCTBN.PyCTBN.estimators.structure_estimator"> <section id="module-PyCTBN.PyCTBN.estimators.structure_estimator">
<span id="pyctbn-pyctbn-estimators-structure-estimator-module"></span><h2>PyCTBN.PyCTBN.estimators.structure_estimator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.estimators.structure_estimator" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-estimators-structure-estimator-module"></span><h2>PyCTBN.PyCTBN.estimators.structure_estimator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.estimators.structure_estimator" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator"> <dt id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.estimators.structure_estimator.</span></span><span class="sig-name descname"><span class="pre">StructureEstimator</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sample_path</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath" title="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath"><span class="pre">PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">known_edges</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">List</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.estimators.structure_estimator.</code><code class="sig-name descname">StructureEstimator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">sample_path</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath" title="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath">PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath</a></span></em>, <em class="sig-param"><span class="n">known_edges</span><span class="p">:</span> <span class="n">List</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Has the task of estimating the network structure given the trajectories in <code class="docutils literal notranslate"><span class="pre">samplepath</span></code>.</p> <p>Has the task of estimating the network structure given the trajectories in <code class="docutils literal notranslate"><span class="pre">samplepath</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -570,8 +562,8 @@ it is performed also the chi_test.</p>
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.adjacency_matrix"> <dt id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.adjacency_matrix">
<span class="sig-name descname"><span class="pre">adjacency_matrix</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">numpy.ndarray</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.adjacency_matrix" title="Permalink to this definition"></a></dt> <code class="sig-name descname">adjacency_matrix</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; numpy.ndarray<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.adjacency_matrix" title="Permalink to this definition"></a></dt>
<dd><p>Converts the estimated structure <code class="docutils literal notranslate"><span class="pre">_complete_graph</span></code> to a boolean adjacency matrix representation.</p> <dd><p>Converts the estimated structure <code class="docutils literal notranslate"><span class="pre">_complete_graph</span></code> to a boolean adjacency matrix representation.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Returns</dt> <dt class="field-odd">Returns</dt>
@ -584,8 +576,8 @@ it is performed also the chi_test.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.build_complete_graph"> <dt id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.build_complete_graph">
<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">build_complete_graph</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_ids</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">networkx.classes.digraph.DiGraph</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.build_complete_graph" title="Permalink to this definition"></a></dt> <em class="property">static </em><code class="sig-name descname">build_complete_graph</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_ids</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; networkx.classes.digraph.DiGraph<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.build_complete_graph" title="Permalink to this definition"></a></dt>
<dd><p>Builds a complete directed graph (no self loops) given the nodes labels in the list <code class="docutils literal notranslate"><span class="pre">node_ids</span></code>:</p> <dd><p>Builds a complete directed graph (no self loops) given the nodes labels in the list <code class="docutils literal notranslate"><span class="pre">node_ids</span></code>:</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -601,8 +593,8 @@ it is performed also the chi_test.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.build_removable_edges_matrix"> <dt id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.build_removable_edges_matrix">
<span class="sig-name descname"><span class="pre">build_removable_edges_matrix</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">known_edges</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.build_removable_edges_matrix" title="Permalink to this definition"></a></dt> <code class="sig-name descname">build_removable_edges_matrix</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">known_edges</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.build_removable_edges_matrix" title="Permalink to this definition"></a></dt>
<dd><p>Builds a boolean matrix who shows if a edge could be removed or not, based on prior knowledge given:</p> <dd><p>Builds a boolean matrix who shows if a edge could be removed or not, based on prior knowledge given:</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -618,8 +610,8 @@ it is performed also the chi_test.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.estimate_structure"> <dt id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.estimate_structure">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">estimate_structure</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.estimate_structure" title="Permalink to this definition"></a></dt> <em class="property">abstract </em><code class="sig-name descname">estimate_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.estimate_structure" title="Permalink to this definition"></a></dt>
<dd><p>Abstract method to estimate the structure</p> <dd><p>Abstract method to estimate the structure</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Returns</dt> <dt class="field-odd">Returns</dt>
@ -632,8 +624,8 @@ it is performed also the chi_test.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.generate_possible_sub_sets_of_size"> <dt id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.generate_possible_sub_sets_of_size">
<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">generate_possible_sub_sets_of_size</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">u</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">size</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parent_label</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.generate_possible_sub_sets_of_size" title="Permalink to this definition"></a></dt> <em class="property">static </em><code class="sig-name descname">generate_possible_sub_sets_of_size</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">u</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">size</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">parent_label</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.generate_possible_sub_sets_of_size" title="Permalink to this definition"></a></dt>
<dd><p>Creates a list containing all possible subsets of the list <code class="docutils literal notranslate"><span class="pre">u</span></code> of size <code class="docutils literal notranslate"><span class="pre">size</span></code>, <dd><p>Creates a list containing all possible subsets of the list <code class="docutils literal notranslate"><span class="pre">u</span></code> of size <code class="docutils literal notranslate"><span class="pre">size</span></code>,
that do not contains a the node identified by <code class="docutils literal notranslate"><span class="pre">parent_label</span></code>.</p> that do not contains a the node identified by <code class="docutils literal notranslate"><span class="pre">parent_label</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -654,11 +646,9 @@ that do not contains a the node identified by <code class="docutils literal notr
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.save_plot_estimated_structure_graph"> <dt id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.save_plot_estimated_structure_graph">
<code class="sig-name descname">save_plot_estimated_structure_graph</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">file_path</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.save_plot_estimated_structure_graph" title="Permalink to this definition"></a></dt> <code class="sig-name descname">save_plot_estimated_structure_graph</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">file_path</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.save_plot_estimated_structure_graph" title="Permalink to this definition"></a></dt>
<dd><p>Plot the estimated structure in a graphical model style, use .png extension.</p> <dd><p>Plot the estimated structure in a graphical model style, use .png extension.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>file_path</strong> – path to save the file to</p> <dd class="field-odd"><p><strong>file_path</strong> – path to save the file to</p>
@ -670,8 +660,8 @@ that do not contains a the node identified by <code class="docutils literal notr
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.save_results"> <dt id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.save_results">
<span class="sig-name descname"><span class="pre">save_results</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">file_path</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.save_results" title="Permalink to this definition"></a></dt> <code class="sig-name descname">save_results</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">file_path</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.save_results" title="Permalink to this definition"></a></dt>
<dd><p>Save the estimated Structure to a .json file in file_path.</p> <dd><p>Save the estimated Structure to a .json file in file_path.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -681,8 +671,8 @@ that do not contains a the node identified by <code class="docutils literal notr
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.spurious_edges"> <dt id="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.spurious_edges">
<span class="sig-name descname"><span class="pre">spurious_edges</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.spurious_edges" title="Permalink to this definition"></a></dt> <code class="sig-name descname">spurious_edges</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.spurious_edges" title="Permalink to this definition"></a></dt>
<dd><dl class="simple"> <dd><dl class="simple">
<dt>Return the spurious edges present in the estimated structure, if a prior net structure is present in</dt><dd><p><code class="docutils literal notranslate"><span class="pre">_sample_path.structure</span></code>.</p> <dt>Return the spurious edges present in the estimated structure, if a prior net structure is present in</dt><dd><p><code class="docutils literal notranslate"><span class="pre">_sample_path.structure</span></code>.</p>
</dd> </dd>
@ -703,8 +693,8 @@ that do not contains a the node identified by <code class="docutils literal notr
<section id="module-PyCTBN.PyCTBN.estimators.structure_score_based_estimator"> <section id="module-PyCTBN.PyCTBN.estimators.structure_score_based_estimator">
<span id="pyctbn-pyctbn-estimators-structure-score-based-estimator-module"></span><h2>PyCTBN.PyCTBN.estimators.structure_score_based_estimator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.estimators.structure_score_based_estimator" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-estimators-structure-score-based-estimator-module"></span><h2>PyCTBN.PyCTBN.estimators.structure_score_based_estimator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.estimators.structure_score_based_estimator" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator"> <dt id="PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.estimators.structure_score_based_estimator.</span></span><span class="sig-name descname"><span class="pre">StructureScoreBasedEstimator</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sample_path</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath" title="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath"><span class="pre">PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">tau_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">0.1</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">alpha_xu</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">1</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">known_edges</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">[]</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.estimators.structure_score_based_estimator.</code><code class="sig-name descname">StructureScoreBasedEstimator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">sample_path</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath" title="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath">PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath</a></span></em>, <em class="sig-param"><span class="n">tau_xu</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">0.1</span></em>, <em class="sig-param"><span class="n">alpha_xu</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">1</span></em>, <em class="sig-param"><span class="n">known_edges</span><span class="p">:</span> <span class="n">List</span> <span class="o">=</span> <span class="default_value">[]</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator</span></code></a></p> <dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator</span></code></a></p>
<p>Has the task of estimating the network structure given the trajectories in samplepath by <p>Has the task of estimating the network structure given the trajectories in samplepath by
using a score based approach and differt kinds of optimization algorithms.</p> using a score based approach and differt kinds of optimization algorithms.</p>
@ -719,8 +709,8 @@ using a score based approach and differt kinds of optimization algorithms.</p>
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.estimate_parents"> <dt id="PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.estimate_parents">
<span class="sig-name descname"><span class="pre">estimate_parents</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">max_parents</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">iterations_number</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">40</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">patience</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">10</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tabu_length</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tabu_rules_duration</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">5</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">optimizer</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">'hill'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.estimate_parents" title="Permalink to this definition"></a></dt> <code class="sig-name descname">estimate_parents</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">max_parents</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">iterations_number</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">40</span></em>, <em class="sig-param"><span class="n">patience</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">10</span></em>, <em class="sig-param"><span class="n">tabu_length</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">tabu_rules_duration</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">5</span></em>, <em class="sig-param"><span class="n">optimizer</span><span class="p">:</span> <span class="n">str</span> <span class="o">=</span> <span class="default_value">'hill'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.estimate_parents" title="Permalink to this definition"></a></dt>
<dd><p>Use the FamScore of a node in order to find the best parent nodes</p> <dd><p>Use the FamScore of a node in order to find the best parent nodes</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -744,10 +734,8 @@ using a score based approach and differt kinds of optimization algorithms.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt id="PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.estimate_structure"> <dt id="PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.estimate_structure">
<code class="sig-name descname">estimate_structure</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">max_parents</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">iterations_number</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">40</span></em>, <em class="sig-param"><span class="n">patience</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">tabu_length</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">tabu_rules_duration</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">optimizer</span><span class="p">:</span> <span class="n">str</span> <span class="o">=</span> <span class="default_value">'tabu'</span></em>, <em class="sig-param"><span class="n">disable_multiprocessing</span><span class="p">:</span> <span class="n">bool</span> <span class="o">=</span> <span class="default_value">False</span></em>, <em class="sig-param"><span class="n">processes_number</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.estimate_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">estimate_structure</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">max_parents</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">iterations_number</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">40</span></em>, <em class="sig-param"><span class="n">patience</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">tabu_length</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">tabu_rules_duration</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">optimizer</span><span class="p">:</span> <span class="n">str</span> <span class="o">=</span> <span class="default_value">'tabu'</span></em>, <em class="sig-param"><span class="n">disable_multiprocessing</span><span class="p">:</span> <span class="n">bool</span> <span class="o">=</span> <span class="default_value">False</span></em>, <em class="sig-param"><span class="n">processes_number</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.estimate_structure" title="Permalink to this definition"></a></dt>
<dd><p>Compute the score-based algorithm to find the optimal structure</p> <dd><p>Compute the score-based algorithm to find the optimal structure</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -768,8 +756,8 @@ using a score based approach and differt kinds of optimization algorithms.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.get_score_from_graph"> <dt id="PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.get_score_from_graph">
<span class="sig-name descname"><span class="pre">get_score_from_graph</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">graph</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph" title="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph"><span class="pre">PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.get_score_from_graph" title="Permalink to this definition"></a></dt> <code class="sig-name descname">get_score_from_graph</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">graph</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph" title="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph">PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph</a></span></em>, <em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.get_score_from_graph" title="Permalink to this definition"></a></dt>
<dd><p>Get the FamScore of a node</p> <dd><p>Get the FamScore of a node</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -832,9 +820,6 @@ using a score based approach and differt kinds of optimization algorithms.</p>
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -845,6 +830,9 @@ using a score based approach and differt kinds of optimization algorithms.</p>
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -212,9 +208,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -225,6 +218,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -127,8 +123,8 @@
<section id="module-PyCTBN.PyCTBN.optimizers.constraint_based_optimizer"> <section id="module-PyCTBN.PyCTBN.optimizers.constraint_based_optimizer">
<span id="pyctbn-pyctbn-optimizers-constraint-based-optimizer-module"></span><h2>PyCTBN.PyCTBN.optimizers.constraint_based_optimizer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.optimizers.constraint_based_optimizer" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-optimizers-constraint-based-optimizer-module"></span><h2>PyCTBN.PyCTBN.optimizers.constraint_based_optimizer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.optimizers.constraint_based_optimizer" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.optimizers.constraint_based_optimizer.ConstraintBasedOptimizer"> <dt id="PyCTBN.PyCTBN.optimizers.constraint_based_optimizer.ConstraintBasedOptimizer">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.optimizers.constraint_based_optimizer.</span></span><span class="sig-name descname"><span class="pre">ConstraintBasedOptimizer</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">structure_estimator</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator"><span class="pre">PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">tot_vars_count</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.constraint_based_optimizer.ConstraintBasedOptimizer" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.optimizers.constraint_based_optimizer.</code><code class="sig-name descname">ConstraintBasedOptimizer</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">structure_estimator</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator">PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator</a></span></em>, <em class="sig-param"><span class="n">tot_vars_count</span><span class="p">:</span> <span class="n">int</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.constraint_based_optimizer.ConstraintBasedOptimizer" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.optimizers.optimizer.Optimizer" title="PyCTBN.PyCTBN.optimizers.optimizer.Optimizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.optimizers.optimizer.Optimizer</span></code></a></p> <dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.optimizers.optimizer.Optimizer" title="PyCTBN.PyCTBN.optimizers.optimizer.Optimizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.optimizers.optimizer.Optimizer</span></code></a></p>
<p>Optimizer class that implement a CTPC Algorithm</p> <p>Optimizer class that implement a CTPC Algorithm</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -141,8 +137,8 @@
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.optimizers.constraint_based_optimizer.ConstraintBasedOptimizer.optimize_structure"> <dt id="PyCTBN.PyCTBN.optimizers.constraint_based_optimizer.ConstraintBasedOptimizer.optimize_structure">
<span class="sig-name descname"><span class="pre">optimize_structure</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.constraint_based_optimizer.ConstraintBasedOptimizer.optimize_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">optimize_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.constraint_based_optimizer.ConstraintBasedOptimizer.optimize_structure" title="Permalink to this definition"></a></dt>
<dd><p>Compute Optimization process for a structure_estimator by using a CTPC Algorithm</p> <dd><p>Compute Optimization process for a structure_estimator by using a CTPC Algorithm</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Returns</dt> <dt class="field-odd">Returns</dt>
@ -160,8 +156,8 @@
<section id="module-PyCTBN.PyCTBN.optimizers.hill_climbing_search"> <section id="module-PyCTBN.PyCTBN.optimizers.hill_climbing_search">
<span id="pyctbn-pyctbn-optimizers-hill-climbing-search-module"></span><h2>PyCTBN.PyCTBN.optimizers.hill_climbing_search module<a class="headerlink" href="#module-PyCTBN.PyCTBN.optimizers.hill_climbing_search" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-optimizers-hill-climbing-search-module"></span><h2>PyCTBN.PyCTBN.optimizers.hill_climbing_search module<a class="headerlink" href="#module-PyCTBN.PyCTBN.optimizers.hill_climbing_search" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.optimizers.hill_climbing_search.HillClimbing"> <dt id="PyCTBN.PyCTBN.optimizers.hill_climbing_search.HillClimbing">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.optimizers.hill_climbing_search.</span></span><span class="sig-name descname"><span class="pre">HillClimbing</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">structure_estimator</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator"><span class="pre">PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">max_parents</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">iterations_number</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">40</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">patience</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.hill_climbing_search.HillClimbing" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.optimizers.hill_climbing_search.</code><code class="sig-name descname">HillClimbing</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">structure_estimator</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator">PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator</a></span></em>, <em class="sig-param"><span class="n">max_parents</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">iterations_number</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">40</span></em>, <em class="sig-param"><span class="n">patience</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.hill_climbing_search.HillClimbing" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.optimizers.optimizer.Optimizer" title="PyCTBN.PyCTBN.optimizers.optimizer.Optimizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.optimizers.optimizer.Optimizer</span></code></a></p> <dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.optimizers.optimizer.Optimizer" title="PyCTBN.PyCTBN.optimizers.optimizer.Optimizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.optimizers.optimizer.Optimizer</span></code></a></p>
<p>Optimizer class that implement Hill Climbing Search</p> <p>Optimizer class that implement Hill Climbing Search</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -176,8 +172,8 @@
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.optimizers.hill_climbing_search.HillClimbing.optimize_structure"> <dt id="PyCTBN.PyCTBN.optimizers.hill_climbing_search.HillClimbing.optimize_structure">
<span class="sig-name descname"><span class="pre">optimize_structure</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.hill_climbing_search.HillClimbing.optimize_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">optimize_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.hill_climbing_search.HillClimbing.optimize_structure" title="Permalink to this definition"></a></dt>
<dd><p>Compute Optimization process for a structure_estimator by using a Hill Climbing Algorithm</p> <dd><p>Compute Optimization process for a structure_estimator by using a Hill Climbing Algorithm</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Returns</dt> <dt class="field-odd">Returns</dt>
@ -195,8 +191,8 @@
<section id="module-PyCTBN.PyCTBN.optimizers.optimizer"> <section id="module-PyCTBN.PyCTBN.optimizers.optimizer">
<span id="pyctbn-pyctbn-optimizers-optimizer-module"></span><h2>PyCTBN.PyCTBN.optimizers.optimizer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.optimizers.optimizer" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-optimizers-optimizer-module"></span><h2>PyCTBN.PyCTBN.optimizers.optimizer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.optimizers.optimizer" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.optimizers.optimizer.Optimizer"> <dt id="PyCTBN.PyCTBN.optimizers.optimizer.Optimizer">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.optimizers.optimizer.</span></span><span class="sig-name descname"><span class="pre">Optimizer</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">structure_estimator</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator"><span class="pre">PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator</span></a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.optimizer.Optimizer" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.optimizers.optimizer.</code><code class="sig-name descname">Optimizer</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">structure_estimator</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator">PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator</a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.optimizer.Optimizer" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">abc.ABC</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">abc.ABC</span></code></p>
<p>Interface class for all the optimizer’s child PyCTBN</p> <p>Interface class for all the optimizer’s child PyCTBN</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -208,8 +204,8 @@
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.optimizers.optimizer.Optimizer.optimize_structure"> <dt id="PyCTBN.PyCTBN.optimizers.optimizer.Optimizer.optimize_structure">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">optimize_structure</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.optimizer.Optimizer.optimize_structure" title="Permalink to this definition"></a></dt> <em class="property">abstract </em><code class="sig-name descname">optimize_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.optimizer.Optimizer.optimize_structure" title="Permalink to this definition"></a></dt>
<dd><p>Compute Optimization process for a structure_estimator</p> <dd><p>Compute Optimization process for a structure_estimator</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Returns</dt> <dt class="field-odd">Returns</dt>
@ -227,8 +223,8 @@
<section id="module-PyCTBN.PyCTBN.optimizers.tabu_search"> <section id="module-PyCTBN.PyCTBN.optimizers.tabu_search">
<span id="pyctbn-pyctbn-optimizers-tabu-search-module"></span><h2>PyCTBN.PyCTBN.optimizers.tabu_search module<a class="headerlink" href="#module-PyCTBN.PyCTBN.optimizers.tabu_search" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-optimizers-tabu-search-module"></span><h2>PyCTBN.PyCTBN.optimizers.tabu_search module<a class="headerlink" href="#module-PyCTBN.PyCTBN.optimizers.tabu_search" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.optimizers.tabu_search.TabuSearch"> <dt id="PyCTBN.PyCTBN.optimizers.tabu_search.TabuSearch">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.optimizers.tabu_search.</span></span><span class="sig-name descname"><span class="pre">TabuSearch</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">structure_estimator</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator"><span class="pre">PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator</span></a></span></em>, <em class="sig-param"><span class="n"><span class="pre">max_parents</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">iterations_number</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">40</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">patience</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tabu_length</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">int</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">tabu_rules_duration</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.tabu_search.TabuSearch" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.optimizers.tabu_search.</code><code class="sig-name descname">TabuSearch</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">structure_estimator</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator" title="PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator">PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator</a></span></em>, <em class="sig-param"><span class="n">max_parents</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">iterations_number</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">40</span></em>, <em class="sig-param"><span class="n">patience</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">tabu_length</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">tabu_rules_duration</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.tabu_search.TabuSearch" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.optimizers.optimizer.Optimizer" title="PyCTBN.PyCTBN.optimizers.optimizer.Optimizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.optimizers.optimizer.Optimizer</span></code></a></p> <dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.optimizers.optimizer.Optimizer" title="PyCTBN.PyCTBN.optimizers.optimizer.Optimizer"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.optimizers.optimizer.Optimizer</span></code></a></p>
<p>Optimizer class that implement Tabu Search</p> <p>Optimizer class that implement Tabu Search</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -245,8 +241,8 @@
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.optimizers.tabu_search.TabuSearch.optimize_structure"> <dt id="PyCTBN.PyCTBN.optimizers.tabu_search.TabuSearch.optimize_structure">
<span class="sig-name descname"><span class="pre">optimize_structure</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.tabu_search.TabuSearch.optimize_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">optimize_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.optimizers.tabu_search.TabuSearch.optimize_structure" title="Permalink to this definition"></a></dt>
<dd><p>Compute Optimization process for a structure_estimator by using a Hill Climbing Algorithm</p> <dd><p>Compute Optimization process for a structure_estimator by using a Hill Climbing Algorithm</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Returns</dt> <dt class="field-odd">Returns</dt>
@ -303,9 +299,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -316,6 +309,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -127,8 +123,8 @@
<section id="module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix"> <section id="module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix">
<span id="pyctbn-pyctbn-structure-graph-conditional-intensity-matrix-module"></span><h2>PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-structure-graph-conditional-intensity-matrix-module"></span><h2>PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix"> <dt id="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.</span></span><span class="sig-name descname"><span class="pre">ConditionalIntensityMatrix</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">state_residence_times</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">numpy.array</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">state_transition_matrix</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">numpy.array</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cim</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">numpy.array</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.</code><code class="sig-name descname">ConditionalIntensityMatrix</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">state_residence_times</span><span class="p">:</span> <span class="n">numpy.array</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">state_transition_matrix</span><span class="p">:</span> <span class="n">numpy.array</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">cim</span><span class="p">:</span> <span class="n">numpy.array</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Abstracts the Conditional Intesity matrix of a node as aggregation of the state residence times vector <p>Abstracts the Conditional Intesity matrix of a node as aggregation of the state residence times vector
and state transition matrix and the actual CIM matrix.</p> and state transition matrix and the actual CIM matrix.</p>
@ -143,36 +139,36 @@ and state transition matrix and the actual CIM matrix.</p>
<dd class="field-even"><p>the actual cim of the node</p> <dd class="field-even"><p>the actual cim of the node</p>
</dd> </dd>
</dl> </dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.cim"> <dt id="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.cim">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">cim</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.cim" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">cim</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.cim" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.compute_cim_coefficients"> <dt id="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.compute_cim_coefficients">
<span class="sig-name descname"><span class="pre">compute_cim_coefficients</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.compute_cim_coefficients" title="Permalink to this definition"></a></dt> <code class="sig-name descname">compute_cim_coefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.compute_cim_coefficients" title="Permalink to this definition"></a></dt>
<dd><p>Compute the coefficients of the matrix _cim by using the following equality q_xx’ = M[x, x’] / T[x]. <dd><p>Compute the coefficients of the matrix _cim by using the following equality q_xx’ = M[x, x’] / T[x].
The class member <code class="docutils literal notranslate"><span class="pre">_cim</span></code> will contain the computed cim</p> The class member <code class="docutils literal notranslate"><span class="pre">_cim</span></code> will contain the computed cim</p>
</dd></dl> </dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_residence_times"> <dt id="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_residence_times">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">state_residence_times</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_residence_times" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">state_residence_times</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_residence_times" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_transition_matrix"> <dt id="PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_transition_matrix">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">state_transition_matrix</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_transition_matrix" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">state_transition_matrix</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_transition_matrix" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
</div> </section>
<div class="section" id="module-PyCTBN.PyCTBN.structure_graph.network_generator"> <section id="module-PyCTBN.PyCTBN.structure_graph.network_generator">
<span id="pyctbn-pyctbn-structure-graph-network-generator-module"></span><h2>PyCTBN.PyCTBN.structure_graph.network_generator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.network_generator" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-structure-graph-network-generator-module"></span><h2>PyCTBN.PyCTBN.structure_graph.network_generator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.network_generator" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator"> <dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.structure_graph.network_generator.</span></span><span class="sig-name descname"><span class="pre">NetworkGenerator</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">labels</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">vals</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.network_generator.</code><code class="sig-name descname">NetworkGenerator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">labels</span></em>, <em class="sig-param"><span class="n">vals</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Provides the methods to generate a network graph and the CIMs related to it <p>Provides the methods to generate a network graph and the CIMs related to it
Items in _labels, _vals and _indxs are related, and therefore respect the same order</p> Items in _labels, _vals and _indxs are related, and therefore respect the same order</p>
@ -187,19 +183,19 @@ Items in _labels, _vals and _indxs are related, and therefore respect the same o
</ul> </ul>
</dd> </dd>
</dl> </dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.cims"> <dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.cims">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">cims</span></span><em class="property"><span class="pre">:</span> <span class="pre">dict</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.cims" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">cims</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.cims" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.dyn_str"> <dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.dyn_str">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">dyn_str</span></span><em class="property"><span class="pre">:</span> <span class="pre">list</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.dyn_str" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">dyn_str</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.dyn_str" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_cims"> <dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_cims">
<span class="sig-name descname"><span class="pre">generate_cims</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">min_val</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">max_val</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_cims" title="Permalink to this definition"></a></dt> <code class="sig-name descname">generate_cims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">min_val</span></em>, <em class="sig-param"><span class="n">max_val</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_cims" title="Permalink to this definition"></a></dt>
<dd><dl class="simple"> <dd><dl class="simple">
<dt>For each node, generate the corresponding SetOfCims. The objective is to group the CIMs </dt><dd><p>(actually generated by private method __generate_cim) according to parents possibles states of every node. <dt>For each node, generate the corresponding SetOfCims. The objective is to group the CIMs </dt><dd><p>(actually generated by private method __generate_cim) according to parents possibles states of every node.
This method must obviously be executed after the graph has been generated.</p> This method must obviously be executed after the graph has been generated.</p>
@ -216,8 +212,8 @@ This method must obviously be executed after the graph has been generated.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_graph"> <dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_graph">
<span class="sig-name descname"><span class="pre">generate_graph</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">density</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">fixed</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">bool</span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_graph" title="Permalink to this definition"></a></dt> <code class="sig-name descname">generate_graph</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">density</span></em>, <em class="sig-param"><span class="n">fixed</span><span class="p">:</span> <span class="n">bool</span> <span class="o">=</span> <span class="default_value">False</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.generate_graph" title="Permalink to this definition"></a></dt>
<dd><dl class="simple"> <dd><dl class="simple">
<dt>Generate the edges according to specified density, and then instantiate the NetworkGraph object</dt><dd><p>to represent the network</p> <dt>Generate the edges according to specified density, and then instantiate the NetworkGraph object</dt><dd><p>to represent the network</p>
</dd> </dd>
@ -232,14 +228,14 @@ This method must obviously be executed after the graph has been generated.</p>
</dl> </dl>
</dd></dl> </dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.graph"> <dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.graph">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">graph</span></span><em class="property"><span class="pre">:</span> <span class="pre">PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.graph" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">graph</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.graph" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.variables"> <dt id="PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.variables">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">variables</span></span><em class="property"><span class="pre">:</span> <span class="pre">list</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.variables" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">variables</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.variables" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -248,8 +244,8 @@ This method must obviously be executed after the graph has been generated.</p>
<section id="module-PyCTBN.PyCTBN.structure_graph.network_graph"> <section id="module-PyCTBN.PyCTBN.structure_graph.network_graph">
<span id="pyctbn-pyctbn-structure-graph-network-graph-module"></span><h2>PyCTBN.PyCTBN.structure_graph.network_graph module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.network_graph" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-structure-graph-network-graph-module"></span><h2>PyCTBN.PyCTBN.structure_graph.network_graph module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.network_graph" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.structure_graph.network_graph.</span></span><span class="sig-name descname"><span class="pre">NetworkGraph</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">graph_struct</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure" title="PyCTBN.PyCTBN.structure_graph.structure.Structure"><span class="pre">PyCTBN.PyCTBN.structure_graph.structure.Structure</span></a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.network_graph.</code><code class="sig-name descname">NetworkGraph</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">graph_struct</span><span class="p">:</span> <span class="n"><a class="reference internal" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure" title="PyCTBN.PyCTBN.structure_graph.structure.Structure">PyCTBN.PyCTBN.structure_graph.structure.Structure</a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Abstracts the infos contained in the Structure class in the form of a directed graph. <p>Abstracts the infos contained in the Structure class in the form of a directed graph.
Has the task of creating all the necessary filtering and indexing structures for parameters estimation</p> Has the task of creating all the necessary filtering and indexing structures for parameters estimation</p>
@ -282,8 +278,8 @@ from one state to another</p>
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.add_edges"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.add_edges">
<span class="sig-name descname"><span class="pre">add_edges</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">list_of_edges</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.add_edges" title="Permalink to this definition"></a></dt> <code class="sig-name descname">add_edges</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">list_of_edges</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.add_edges" title="Permalink to this definition"></a></dt>
<dd><p>Add the edges to the <code class="docutils literal notranslate"><span class="pre">_graph</span></code> contained in the list <code class="docutils literal notranslate"><span class="pre">list_of_edges</span></code>.</p> <dd><p>Add the edges to the <code class="docutils literal notranslate"><span class="pre">_graph</span></code> contained in the list <code class="docutils literal notranslate"><span class="pre">list_of_edges</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -293,8 +289,8 @@ from one state to another</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.add_nodes"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.add_nodes">
<span class="sig-name descname"><span class="pre">add_nodes</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">list_of_nodes</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.add_nodes" title="Permalink to this definition"></a></dt> <code class="sig-name descname">add_nodes</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">list_of_nodes</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.add_nodes" title="Permalink to this definition"></a></dt>
<dd><p>Adds the nodes to the <code class="docutils literal notranslate"><span class="pre">_graph</span></code> contained in the list of nodes <code class="docutils literal notranslate"><span class="pre">list_of_nodes</span></code>. <dd><p>Adds the nodes to the <code class="docutils literal notranslate"><span class="pre">_graph</span></code> contained in the list of nodes <code class="docutils literal notranslate"><span class="pre">list_of_nodes</span></code>.
Sets all the properties that identify a nodes (index, positional index, cardinality)</p> Sets all the properties that identify a nodes (index, positional index, cardinality)</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -305,8 +301,8 @@ Sets all the properties that identify a nodes (index, positional index, cardinal
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_p_comb_structure_for_a_node"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_p_comb_structure_for_a_node">
<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">build_p_comb_structure_for_a_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">parents_values</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">numpy.ndarray</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_p_comb_structure_for_a_node" title="Permalink to this definition"></a></dt> <em class="property">static </em><code class="sig-name descname">build_p_comb_structure_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">parents_values</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; numpy.ndarray<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_p_comb_structure_for_a_node" title="Permalink to this definition"></a></dt>
<dd><p>Builds the combinatorial structure that contains the combinations of all the values contained in <dd><p>Builds the combinatorial structure that contains the combinations of all the values contained in
<code class="docutils literal notranslate"><span class="pre">parents_values</span></code>.</p> <code class="docutils literal notranslate"><span class="pre">parents_values</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -323,8 +319,8 @@ Sets all the properties that identify a nodes (index, positional index, cardinal
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_time_columns_filtering_for_a_node"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_time_columns_filtering_for_a_node">
<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">build_time_columns_filtering_for_a_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_indx</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">p_indxs</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">numpy.ndarray</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_time_columns_filtering_for_a_node" title="Permalink to this definition"></a></dt> <em class="property">static </em><code class="sig-name descname">build_time_columns_filtering_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_indx</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">p_indxs</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; numpy.ndarray<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_time_columns_filtering_for_a_node" title="Permalink to this definition"></a></dt>
<dd><p>Builds the necessary structure to filter the desired columns indicated by <code class="docutils literal notranslate"><span class="pre">node_indx</span></code> and <code class="docutils literal notranslate"><span class="pre">p_indxs</span></code> <dd><p>Builds the necessary structure to filter the desired columns indicated by <code class="docutils literal notranslate"><span class="pre">node_indx</span></code> and <code class="docutils literal notranslate"><span class="pre">p_indxs</span></code>
in the dataset. in the dataset.
This structute will be used in the computation of the state res times. This structute will be used in the computation of the state res times.
@ -337,8 +333,8 @@ This structute will be used in the computation of the state res times.
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_time_scalar_indexing_structure_for_a_node"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_time_scalar_indexing_structure_for_a_node">
<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">build_time_scalar_indexing_structure_for_a_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_states</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parents_vals</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">numpy.ndarray</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_time_scalar_indexing_structure_for_a_node" title="Permalink to this definition"></a></dt> <em class="property">static </em><code class="sig-name descname">build_time_scalar_indexing_structure_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_states</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">parents_vals</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; numpy.ndarray<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_time_scalar_indexing_structure_for_a_node" title="Permalink to this definition"></a></dt>
<dd><p>Builds an indexing structure for the computation of state residence times values.</p> <dd><p>Builds an indexing structure for the computation of state residence times values.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -357,8 +353,8 @@ This structute will be used in the computation of the state res times.
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_transition_filtering_for_a_node"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_transition_filtering_for_a_node">
<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">build_transition_filtering_for_a_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_indx</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">p_indxs</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nodes_number</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">numpy.ndarray</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_transition_filtering_for_a_node" title="Permalink to this definition"></a></dt> <em class="property">static </em><code class="sig-name descname">build_transition_filtering_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_indx</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">p_indxs</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">nodes_number</span><span class="p">:</span> <span class="n">int</span></em><span class="sig-paren">)</span> &#x2192; numpy.ndarray<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_transition_filtering_for_a_node" title="Permalink to this definition"></a></dt>
<dd><p>Builds the necessary structure to filter the desired columns indicated by <code class="docutils literal notranslate"><span class="pre">node_indx</span></code> and <code class="docutils literal notranslate"><span class="pre">p_indxs</span></code> <dd><p>Builds the necessary structure to filter the desired columns indicated by <code class="docutils literal notranslate"><span class="pre">node_indx</span></code> and <code class="docutils literal notranslate"><span class="pre">p_indxs</span></code>
in the dataset. in the dataset.
This structure will be used in the computation of the state transitions values. This structure will be used in the computation of the state transitions values.
@ -373,8 +369,8 @@ This structure will be used in the computation of the state transitions values.
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_transition_scalar_indexing_structure_for_a_node"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_transition_scalar_indexing_structure_for_a_node">
<em class="property"><span class="pre">static</span> </em><span class="sig-name descname"><span class="pre">build_transition_scalar_indexing_structure_for_a_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_states_number</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parents_vals</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">numpy.ndarray</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_transition_scalar_indexing_structure_for_a_node" title="Permalink to this definition"></a></dt> <em class="property">static </em><code class="sig-name descname">build_transition_scalar_indexing_structure_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_states_number</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">parents_vals</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; numpy.ndarray<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.build_transition_scalar_indexing_structure_for_a_node" title="Permalink to this definition"></a></dt>
<dd><p>Builds an indexing structure for the computation of state transitions values.</p> <dd><p>Builds an indexing structure for the computation of state transitions values.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -393,19 +389,19 @@ This structure will be used in the computation of the state transitions values.
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.clear_indexing_filtering_structures"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.clear_indexing_filtering_structures">
<span class="sig-name descname"><span class="pre">clear_indexing_filtering_structures</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.clear_indexing_filtering_structures" title="Permalink to this definition"></a></dt> <code class="sig-name descname">clear_indexing_filtering_structures</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.clear_indexing_filtering_structures" title="Permalink to this definition"></a></dt>
<dd><p>Initialize all the filtering/indexing structures.</p> <dd><p>Initialize all the filtering/indexing structures.</p>
</dd></dl> </dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.edges"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.edges">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">edges</span></span><em class="property"><span class="pre">:</span> <span class="pre">List</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.edges" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">edges</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.edges" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.fast_init"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.fast_init">
<span class="sig-name descname"><span class="pre">fast_init</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.fast_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">fast_init</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.fast_init" title="Permalink to this definition"></a></dt>
<dd><p>Initializes all the necessary structures for parameters estimation of the node identified by the label <dd><p>Initializes all the necessary structures for parameters estimation of the node identified by the label
node_id</p> node_id</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -416,13 +412,13 @@ node_id</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_node_indx"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_node_indx">
<span class="sig-name descname"><span class="pre">get_node_indx</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">int</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_node_indx" title="Permalink to this definition"></a></dt> <code class="sig-name descname">get_node_indx</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span></em><span class="sig-paren">)</span> &#x2192; int<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_node_indx" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_ordered_by_indx_set_of_parents"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_ordered_by_indx_set_of_parents">
<span class="sig-name descname"><span class="pre">get_ordered_by_indx_set_of_parents</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">Tuple</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_ordered_by_indx_set_of_parents" title="Permalink to this definition"></a></dt> <code class="sig-name descname">get_ordered_by_indx_set_of_parents</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; Tuple<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_ordered_by_indx_set_of_parents" title="Permalink to this definition"></a></dt>
<dd><p>Builds the aggregated structure that holds all the infos relative to the parent set of the node, namely <dd><p>Builds the aggregated structure that holds all the infos relative to the parent set of the node, namely
(parents_labels, parents_indexes, parents_cardinalities).</p> (parents_labels, parents_indexes, parents_cardinalities).</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -439,8 +435,8 @@ node_id</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_parents_by_id"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_parents_by_id">
<span class="sig-name descname"><span class="pre">get_parents_by_id</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_parents_by_id" title="Permalink to this definition"></a></dt> <code class="sig-name descname">get_parents_by_id</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span></em><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_parents_by_id" title="Permalink to this definition"></a></dt>
<dd><p>Returns a list of labels of the parents of the node <code class="docutils literal notranslate"><span class="pre">node_id</span></code></p> <dd><p>Returns a list of labels of the parents of the node <code class="docutils literal notranslate"><span class="pre">node_id</span></code></p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -456,18 +452,18 @@ node_id</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_positional_node_indx"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_positional_node_indx">
<span class="sig-name descname"><span class="pre">get_positional_node_indx</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">int</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_positional_node_indx" title="Permalink to this definition"></a></dt> <code class="sig-name descname">get_positional_node_indx</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span></em><span class="sig-paren">)</span> &#x2192; int<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_positional_node_indx" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_states_number"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_states_number">
<span class="sig-name descname"><span class="pre">get_states_number</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">int</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_states_number" title="Permalink to this definition"></a></dt> <code class="sig-name descname">get_states_number</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span></em><span class="sig-paren">)</span> &#x2192; int<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.get_states_number" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.has_edge"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.has_edge">
<span class="sig-name descname"><span class="pre">has_edge</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">edge</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tuple</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">bool</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.has_edge" title="Permalink to this definition"></a></dt> <code class="sig-name descname">has_edge</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">edge</span><span class="p">:</span> <span class="n">tuple</span></em><span class="sig-paren">)</span> &#x2192; bool<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.has_edge" title="Permalink to this definition"></a></dt>
<dd><p>Check if the graph contains a specific edge</p> <dd><p>Check if the graph contains a specific edge</p>
<dl class="simple"> <dl class="simple">
<dt>Parameters:</dt><dd><p>edge: a tuple that rappresents the edge</p> <dt>Parameters:</dt><dd><p>edge: a tuple that rappresents the edge</p>
@ -477,29 +473,29 @@ node_id</p>
</dl> </dl>
</dd></dl> </dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">nodes</span></span><em class="property"><span class="pre">:</span> <span class="pre">List</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">nodes</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_indexes"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_indexes">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">nodes_indexes</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_indexes" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">nodes_indexes</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_indexes" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_values"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_values">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">nodes_values</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_values" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">nodes_values</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_values" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.p_combs"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.p_combs">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">p_combs</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.p_combs" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">p_combs</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.p_combs" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.remove_edges"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.remove_edges">
<span class="sig-name descname"><span class="pre">remove_edges</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">list_of_edges</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.remove_edges" title="Permalink to this definition"></a></dt> <code class="sig-name descname">remove_edges</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">list_of_edges</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.remove_edges" title="Permalink to this definition"></a></dt>
<dd><p>Remove the edges to the graph contained in the list list_of_edges.</p> <dd><p>Remove the edges to the graph contained in the list list_of_edges.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -509,30 +505,30 @@ node_id</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.remove_node"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.remove_node">
<span class="sig-name descname"><span class="pre">remove_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.remove_node" title="Permalink to this definition"></a></dt> <code class="sig-name descname">remove_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.remove_node" title="Permalink to this definition"></a></dt>
<dd><p>Remove the node <code class="docutils literal notranslate"><span class="pre">node_id</span></code> from all the class members. <dd><p>Remove the node <code class="docutils literal notranslate"><span class="pre">node_id</span></code> from all the class members.
Initialize all the filtering/indexing structures.</p> Initialize all the filtering/indexing structures.</p>
</dd></dl> </dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_filtering"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_filtering">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">time_filtering</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_filtering" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">time_filtering</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_filtering" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_scalar_indexing_strucure"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_scalar_indexing_strucure">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">time_scalar_indexing_strucure</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_scalar_indexing_strucure" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">time_scalar_indexing_strucure</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_scalar_indexing_strucure" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_filtering"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_filtering">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">transition_filtering</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_filtering" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">transition_filtering</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_filtering" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_scalar_indexing_structure"> <dt id="PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_scalar_indexing_structure">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">transition_scalar_indexing_structure</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_scalar_indexing_structure" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">transition_scalar_indexing_structure</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_scalar_indexing_structure" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -541,8 +537,8 @@ Initialize all the filtering/indexing structures.</p>
<section id="module-PyCTBN.PyCTBN.structure_graph.sample_path"> <section id="module-PyCTBN.PyCTBN.structure_graph.sample_path">
<span id="pyctbn-pyctbn-structure-graph-sample-path-module"></span><h2>PyCTBN.PyCTBN.structure_graph.sample_path module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.sample_path" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-structure-graph-sample-path-module"></span><h2>PyCTBN.PyCTBN.structure_graph.sample_path module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.sample_path" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath"> <dt id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.structure_graph.sample_path.</span></span><span class="sig-name descname"><span class="pre">SamplePath</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">importer</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"><span class="pre">PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter</span></a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.sample_path.</code><code class="sig-name descname">SamplePath</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">importer</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter">PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter</a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Aggregates all the informations about the trajectories, the real structure of the sampled net and variables <p>Aggregates all the informations about the trajectories, the real structure of the sampled net and variables
cardinalites. Has the task of creating the objects <code class="docutils literal notranslate"><span class="pre">Trajectory</span></code> and <code class="docutils literal notranslate"><span class="pre">Structure</span></code> that will cardinalites. Has the task of creating the objects <code class="docutils literal notranslate"><span class="pre">Trajectory</span></code> and <code class="docutils literal notranslate"><span class="pre">Structure</span></code> that will
@ -562,41 +558,41 @@ contain the mentioned data.</p>
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.build_structure"> <dt id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.build_structure">
<span class="sig-name descname"><span class="pre">build_structure</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.build_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">build_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.build_structure" title="Permalink to this definition"></a></dt>
<dd><p>Builds the <code class="docutils literal notranslate"><span class="pre">Structure</span></code> object that aggregates all the infos about the net.</p> <dd><p>Builds the <code class="docutils literal notranslate"><span class="pre">Structure</span></code> object that aggregates all the infos about the net.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.build_trajectories"> <dt id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.build_trajectories">
<span class="sig-name descname"><span class="pre">build_trajectories</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.build_trajectories" title="Permalink to this definition"></a></dt> <code class="sig-name descname">build_trajectories</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.build_trajectories" title="Permalink to this definition"></a></dt>
<dd><p>Builds the Trajectory object that will contain all the trajectories. <dd><p>Builds the Trajectory object that will contain all the trajectories.
Clears all the unused dataframes in <code class="docutils literal notranslate"><span class="pre">_importer</span></code> Object</p> Clears all the unused dataframes in <code class="docutils literal notranslate"><span class="pre">_importer</span></code> Object</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.clear_memory"> <dt id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.clear_memory">
<span class="sig-name descname"><span class="pre">clear_memory</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.clear_memory" title="Permalink to this definition"></a></dt> <code class="sig-name descname">clear_memory</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.clear_memory" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.has_prior_net_structure"> <dt id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.has_prior_net_structure">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">has_prior_net_structure</span></span><em class="property"><span class="pre">:</span> <span class="pre">bool</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.has_prior_net_structure" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">has_prior_net_structure</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.has_prior_net_structure" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.structure"> <dt id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.structure">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">structure</span></span><em class="property"><span class="pre">:</span> <span class="pre">PyCTBN.PyCTBN.structure_graph.structure.Structure</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.structure" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">structure</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.structure" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.total_variables_count"> <dt id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.total_variables_count">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">total_variables_count</span></span><em class="property"><span class="pre">:</span> <span class="pre">int</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.total_variables_count" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">total_variables_count</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.total_variables_count" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.trajectories"> <dt id="PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.trajectories">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">trajectories</span></span><em class="property"><span class="pre">:</span> <span class="pre">PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.trajectories" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">trajectories</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.trajectories" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -605,8 +601,8 @@ Clears all the unused dataframes in <code class="docutils literal notranslate"><
<section id="module-PyCTBN.PyCTBN.structure_graph.set_of_cims"> <section id="module-PyCTBN.PyCTBN.structure_graph.set_of_cims">
<span id="pyctbn-pyctbn-structure-graph-set-of-cims-module"></span><h2>PyCTBN.PyCTBN.structure_graph.set_of_cims module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.set_of_cims" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-structure-graph-set-of-cims-module"></span><h2>PyCTBN.PyCTBN.structure_graph.set_of_cims module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.set_of_cims" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims"> <dt id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.structure_graph.set_of_cims.</span></span><span class="sig-name descname"><span class="pre">SetOfCims</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parents_states_number</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">node_states_number</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">p_combs</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cims</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">numpy.ndarray</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.set_of_cims.</code><code class="sig-name descname">SetOfCims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">parents_states_number</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">node_states_number</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">p_combs</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">cims</span><span class="p">:</span> <span class="n">numpy.ndarray</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Aggregates all the CIMS of the node identified by the label _node_id.</p> <p>Aggregates all the CIMS of the node identified by the label _node_id.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -628,14 +624,14 @@ Clears all the unused dataframes in <code class="docutils literal notranslate"><
<dd class="field-even"><p>the cims of the node</p> <dd class="field-even"><p>the cims of the node</p>
</dd> </dd>
</dl> </dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.actual_cims"> <dt id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.actual_cims">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">actual_cims</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.actual_cims" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">actual_cims</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.actual_cims" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.build_cims"> <dt id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.build_cims">
<span class="sig-name descname"><span class="pre">build_cims</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">state_res_times</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">transition_matrices</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.build_cims" title="Permalink to this definition"></a></dt> <code class="sig-name descname">build_cims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">state_res_times</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">transition_matrices</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.build_cims" title="Permalink to this definition"></a></dt>
<dd><p>Build the <code class="docutils literal notranslate"><span class="pre">ConditionalIntensityMatrix</span></code> objects given the state residence times and transitions matrices. <dd><p>Build the <code class="docutils literal notranslate"><span class="pre">ConditionalIntensityMatrix</span></code> objects given the state residence times and transitions matrices.
Compute the cim coefficients.The class member <code class="docutils literal notranslate"><span class="pre">_actual_cims</span></code> will contain the computed cims.</p> Compute the cim coefficients.The class member <code class="docutils literal notranslate"><span class="pre">_actual_cims</span></code> will contain the computed cims.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -649,14 +645,14 @@ Compute the cim coefficients.The class member <code class="docutils literal notr
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.build_times_and_transitions_structures"> <dt id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.build_times_and_transitions_structures">
<span class="sig-name descname"><span class="pre">build_times_and_transitions_structures</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.build_times_and_transitions_structures" title="Permalink to this definition"></a></dt> <code class="sig-name descname">build_times_and_transitions_structures</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.build_times_and_transitions_structures" title="Permalink to this definition"></a></dt>
<dd><p>Initializes at the correct dimensions the state residence times matrix and the state transition matrices.</p> <dd><p>Initializes at the correct dimensions the state residence times matrix and the state transition matrices.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.filter_cims_with_mask"> <dt id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.filter_cims_with_mask">
<span class="sig-name descname"><span class="pre">filter_cims_with_mask</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">mask_arr</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">comb</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">numpy.ndarray</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.filter_cims_with_mask" title="Permalink to this definition"></a></dt> <code class="sig-name descname">filter_cims_with_mask</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">mask_arr</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">comb</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; numpy.ndarray<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.filter_cims_with_mask" title="Permalink to this definition"></a></dt>
<dd><p>Filter the cims contained in the array <code class="docutils literal notranslate"><span class="pre">_actual_cims</span></code> given the boolean mask <code class="docutils literal notranslate"><span class="pre">mask_arr</span></code> and the index <dd><p>Filter the cims contained in the array <code class="docutils literal notranslate"><span class="pre">_actual_cims</span></code> given the boolean mask <code class="docutils literal notranslate"><span class="pre">mask_arr</span></code> and the index
<code class="docutils literal notranslate"><span class="pre">comb</span></code>.</p> <code class="docutils literal notranslate"><span class="pre">comb</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -676,13 +672,13 @@ Compute the cim coefficients.The class member <code class="docutils literal notr
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.get_cims_number"> <dt id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.get_cims_number">
<span class="sig-name descname"><span class="pre">get_cims_number</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.get_cims_number" title="Permalink to this definition"></a></dt> <code class="sig-name descname">get_cims_number</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.get_cims_number" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.p_combs"> <dt id="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.p_combs">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">p_combs</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.p_combs" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">p_combs</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.p_combs" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -691,8 +687,8 @@ Compute the cim coefficients.The class member <code class="docutils literal notr
<section id="module-PyCTBN.PyCTBN.structure_graph.structure"> <section id="module-PyCTBN.PyCTBN.structure_graph.structure">
<span id="pyctbn-pyctbn-structure-graph-structure-module"></span><h2>PyCTBN.PyCTBN.structure_graph.structure module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.structure" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-structure-graph-structure-module"></span><h2>PyCTBN.PyCTBN.structure_graph.structure module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.structure" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.structure_graph.structure.</span></span><span class="sig-name descname"><span class="pre">Structure</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">nodes_labels_list</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nodes_indexes_arr</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">nodes_vals_arr</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">edges_list</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">total_variables_number</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.structure.</code><code class="sig-name descname">Structure</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">nodes_labels_list</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">nodes_indexes_arr</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">nodes_vals_arr</span><span class="p">:</span> <span class="n">numpy.ndarray</span></em>, <em class="sig-param"><span class="n">edges_list</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">total_variables_number</span><span class="p">:</span> <span class="n">int</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Contains all the infos about the network structure(nodes labels, nodes caridinalites, edges, indexes)</p> <p>Contains all the infos about the network structure(nodes labels, nodes caridinalites, edges, indexes)</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -707,28 +703,28 @@ Compute the cim coefficients.The class member <code class="docutils literal notr
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.add_edge"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.add_edge">
<span class="sig-name descname"><span class="pre">add_edge</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">edge</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tuple</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.add_edge" title="Permalink to this definition"></a></dt> <code class="sig-name descname">add_edge</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">edge</span><span class="p">:</span> <span class="n">tuple</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.add_edge" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.clean_structure_edges"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.clean_structure_edges">
<span class="sig-name descname"><span class="pre">clean_structure_edges</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.clean_structure_edges" title="Permalink to this definition"></a></dt> <code class="sig-name descname">clean_structure_edges</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.clean_structure_edges" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.contains_edge"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.contains_edge">
<span class="sig-name descname"><span class="pre">contains_edge</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">edge</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tuple</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">bool</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.contains_edge" title="Permalink to this definition"></a></dt> <code class="sig-name descname">contains_edge</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">edge</span><span class="p">:</span> <span class="n">tuple</span></em><span class="sig-paren">)</span> &#x2192; bool<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.contains_edge" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.edges"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.edges">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">edges</span></span><em class="property"><span class="pre">:</span> <span class="pre">List</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.edges" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">edges</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.edges" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.get_node_id"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.get_node_id">
<span class="sig-name descname"><span class="pre">get_node_id</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_indx</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">str</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_node_id" title="Permalink to this definition"></a></dt> <code class="sig-name descname">get_node_id</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_indx</span><span class="p">:</span> <span class="n">int</span></em><span class="sig-paren">)</span> &#x2192; str<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_node_id" title="Permalink to this definition"></a></dt>
<dd><p>Given the <code class="docutils literal notranslate"><span class="pre">node_index</span></code> returns the node label.</p> <dd><p>Given the <code class="docutils literal notranslate"><span class="pre">node_index</span></code> returns the node label.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -744,8 +740,8 @@ Compute the cim coefficients.The class member <code class="docutils literal notr
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.get_node_indx"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.get_node_indx">
<span class="sig-name descname"><span class="pre">get_node_indx</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">int</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_node_indx" title="Permalink to this definition"></a></dt> <code class="sig-name descname">get_node_indx</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; int<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_node_indx" title="Permalink to this definition"></a></dt>
<dd><p>Given the <code class="docutils literal notranslate"><span class="pre">node_index</span></code> returns the node label.</p> <dd><p>Given the <code class="docutils literal notranslate"><span class="pre">node_index</span></code> returns the node label.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -761,13 +757,13 @@ Compute the cim coefficients.The class member <code class="docutils literal notr
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.get_positional_node_indx"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.get_positional_node_indx">
<span class="sig-name descname"><span class="pre">get_positional_node_indx</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">int</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_positional_node_indx" title="Permalink to this definition"></a></dt> <code class="sig-name descname">get_positional_node_indx</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; int<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_positional_node_indx" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.get_states_number"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.get_states_number">
<span class="sig-name descname"><span class="pre">get_states_number</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">int</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_states_number" title="Permalink to this definition"></a></dt> <code class="sig-name descname">get_states_number</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; int<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_states_number" title="Permalink to this definition"></a></dt>
<dd><p>Given the node label <code class="docutils literal notranslate"><span class="pre">node</span></code> returns the cardinality of the node.</p> <dd><p>Given the node label <code class="docutils literal notranslate"><span class="pre">node</span></code> returns the cardinality of the node.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -782,36 +778,36 @@ Compute the cim coefficients.The class member <code class="docutils literal notr
</dl> </dl>
</dd></dl> </dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_indexes"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_indexes">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">nodes_indexes</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_indexes" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">nodes_indexes</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_indexes" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_labels"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_labels">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">nodes_labels</span></span><em class="property"><span class="pre">:</span> <span class="pre">List</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_labels" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">nodes_labels</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_labels" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_values"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_values">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">nodes_values</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_values" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">nodes_values</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_values" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.remove_edge"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.remove_edge">
<span class="sig-name descname"><span class="pre">remove_edge</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">edge</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">tuple</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.remove_edge" title="Permalink to this definition"></a></dt> <code class="sig-name descname">remove_edge</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">edge</span><span class="p">:</span> <span class="n">tuple</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.remove_edge" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.remove_node"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.remove_node">
<span class="sig-name descname"><span class="pre">remove_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.remove_node" title="Permalink to this definition"></a></dt> <code class="sig-name descname">remove_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.remove_node" title="Permalink to this definition"></a></dt>
<dd><p>Remove the node <code class="docutils literal notranslate"><span class="pre">node_id</span></code> from all the class members. <dd><p>Remove the node <code class="docutils literal notranslate"><span class="pre">node_id</span></code> from all the class members.
The class member <code class="docutils literal notranslate"><span class="pre">_total_variables_number</span></code> since it refers to the total number of variables in the dataset.</p> The class member <code class="docutils literal notranslate"><span class="pre">_total_variables_number</span></code> since it refers to the total number of variables in the dataset.</p>
</dd></dl> </dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.structure.Structure.total_variables_number"> <dt id="PyCTBN.PyCTBN.structure_graph.structure.Structure.total_variables_number">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">total_variables_number</span></span><em class="property"><span class="pre">:</span> <span class="pre">int</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.total_variables_number" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">total_variables_number</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.structure.Structure.total_variables_number" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -820,8 +816,8 @@ The class member <code class="docutils literal notranslate"><span class="pre">_t
<section id="module-PyCTBN.PyCTBN.structure_graph.trajectory"> <section id="module-PyCTBN.PyCTBN.structure_graph.trajectory">
<span id="pyctbn-pyctbn-structure-graph-trajectory-module"></span><h2>PyCTBN.PyCTBN.structure_graph.trajectory module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.trajectory" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-structure-graph-trajectory-module"></span><h2>PyCTBN.PyCTBN.structure_graph.trajectory module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.trajectory" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory"> <dt id="PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.structure_graph.trajectory.</span></span><span class="sig-name descname"><span class="pre">Trajectory</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">list_of_columns</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">original_cols_number</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.trajectory.</code><code class="sig-name descname">Trajectory</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">list_of_columns</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">original_cols_number</span><span class="p">:</span> <span class="n">int</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Abstracts the infos about a complete set of trajectories, represented as a numpy array of doubles <p>Abstracts the infos about a complete set of trajectories, represented as a numpy array of doubles
(the time deltas) and a numpy matrix of ints (the changes of states).</p> (the time deltas) and a numpy matrix of ints (the changes of states).</p>
@ -839,32 +835,101 @@ The class member <code class="docutils literal notranslate"><span class="pre">_t
<dd class="field-odd"><p>the array containing the time deltas</p> <dd class="field-odd"><p>the array containing the time deltas</p>
</dd> </dd>
</dl> </dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.complete_trajectory"> <dt id="PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.complete_trajectory">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">complete_trajectory</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.complete_trajectory" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">complete_trajectory</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.complete_trajectory" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.size"> <dt id="PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.size">
<span class="sig-name descname"><span class="pre">size</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.size" title="Permalink to this definition"></a></dt> <code class="sig-name descname">size</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.size" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.times"> <dt id="PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.times">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">times</span></span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.times" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">times</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.times" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.trajectory"> <dt id="PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.trajectory">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">trajectory</span></span><em class="property"><span class="pre">:</span> <span class="pre">numpy.ndarray</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.trajectory" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">trajectory</code><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.trajectory" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
</section>
<section id="module-PyCTBN.PyCTBN.structure_graph.trajectory_generator">
<span id="pyctbn-pyctbn-structure-graph-trajectory-generator-module"></span><h2>PyCTBN.PyCTBN.structure_graph.trajectory_generator module<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph.trajectory_generator" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt id="PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.structure_graph.trajectory_generator.</code><code class="sig-name descname">TrajectoryGenerator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">importer</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter">PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter</a></span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">variables</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">dyn_str</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">dyn_cims</span><span class="p">:</span> <span class="n">dict</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Provides the methods to generate a trajectory basing on the network defined
in the importer.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>_importer</strong> (<a class="reference internal" href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"><em>AbstractImporter</em></a>) – the Importer object which contains the imported and processed data</p></li>
<li><p><strong>_vnames</strong> (<em>List</em>) – List of the variables labels that belong to the network</p></li>
<li><p><strong>_parents</strong> (<em>Dict</em>) – It contains, for each variable label (the key), the list of related parents labels</p></li>
<li><p><strong>_cims</strong> (<em>Dict</em>) – It contains, for each variable label (the key), the SetOfCims object related to it</p></li>
<li><p><strong>_generated_trajectory</strong> (<em>pandas.DataFrame</em>) – Result of the execution of CTBN_Sample, contains the output trajectory</p></li>
</ul>
</dd>
</dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.CTBN_Sample">
<code class="sig-name descname">CTBN_Sample</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">t_end</span><span class="o">=</span><span class="default_value">- 1</span></em>, <em class="sig-param"><span class="n">max_tr</span><span class="o">=</span><span class="default_value">- 1</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.CTBN_Sample" title="Permalink to this definition"></a></dt>
<dd><dl class="simple">
<dt>This method implements the generation of a trajectory, basing on the network structure and</dt><dd><p>on the coefficients defined in the CIMs.
The variables are initialized with value 0, and the method takes care of adding the
conventional last row made up of -1.</p>
</dd>
</dl>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>t_end</strong> (<em>float</em>) – If defined, the sampling ends when end time is reached</p></li>
<li><p><strong>max_tr</strong> (<em>int</em>) – Parameter taken in consideration in case that t_end isn’t defined. It specifies the number of transitions to execute</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.multi_trajectory">
<code class="sig-name descname">multi_trajectory</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">t_ends</span><span class="p">:</span> <span class="n">list</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">max_trs</span><span class="p">:</span> <span class="n">list</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.multi_trajectory" title="Permalink to this definition"></a></dt>
<dd><p>Generate n trajectories in parallel, where n is the number of items in
t_ends, if defined, or the number of items in max_trs otherwise</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>t_ends</strong> (<em>list</em>) – List of t_end values for the trajectories that will be generated</p></li>
<li><p><strong>max_trs</strong> (<em>list</em>) – List of max_tr values for the trajectories that will be generated</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.worker">
<code class="sig-name descname">worker</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">t_end</span></em>, <em class="sig-param"><span class="n">max_tr</span></em>, <em class="sig-param"><span class="n">trajectories</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator.worker" title="Permalink to this definition"></a></dt>
<dd><p>Single process that will be executed in parallel in order to generate one trajectory.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>t_end</strong> (<em>float</em>) – If defined, the sampling ends when end time is reached</p></li>
<li><p><strong>max_tr</strong> (<em>int</em>) – Parameter taken in consideration in case that t_end isn’t defined. It specifies the number of transitions to execute</p></li>
<li><p><strong>trajectories</strong> (<em>list</em>) – Shared list that contains to which the generated trajectory is added</p></li>
</ul>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section> </section>
<section id="module-PyCTBN.PyCTBN.structure_graph"> <section id="module-PyCTBN.PyCTBN.structure_graph">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph" title="Permalink to this headline"></a></h2> <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-PyCTBN.PyCTBN.structure_graph" title="Permalink to this headline"></a></h2>
</section> </section>
</section> </section>
@ -906,9 +971,6 @@ The class member <code class="docutils literal notranslate"><span class="pre">_t
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -919,6 +981,9 @@ The class member <code class="docutils literal notranslate"><span class="pre">_t
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -123,14 +119,58 @@
<h1>PyCTBN.PyCTBN.utility package<a class="headerlink" href="#pyctbn-pyctbn-utility-package" title="Permalink to this headline"></a></h1> <h1>PyCTBN.PyCTBN.utility package<a class="headerlink" href="#pyctbn-pyctbn-utility-package" title="Permalink to this headline"></a></h1>
<section id="submodules"> <section id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2> <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2>
</section>
<section id="module-PyCTBN.PyCTBN.utility.abstract_exporter">
<span id="pyctbn-pyctbn-utility-abstract-exporter-module"></span><h2>PyCTBN.PyCTBN.utility.abstract_exporter module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.abstract_exporter" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt id="PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.utility.abstract_exporter.</code><code class="sig-name descname">AbstractExporter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">variables</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">dyn_str</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">dyn_cims</span><span class="p">:</span> <span class="n">dict</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">abc.ABC</span></code></p>
<p>Abstract class that exposes the methods to save in json format a network information
along with one or more trajectories generated basing on it</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>_variables</strong> (<em>pandas.DataFrame</em>) – Dataframe containing the nodes labels and cardinalities</p></li>
<li><p><strong>_dyn_str</strong> (<em>pandas.DataFrame</em>) – Dataframe containing the structure of the network (edges)</p></li>
<li><p><strong>_dyn_cims</strong> (<em>dict</em>) – It contains, for every variable (label is the key), the SetOfCims object related to it</p></li>
<li><p><strong>_trajectories</strong> (<em>List</em>) – List of trajectories, that can be added subsequently</p></li>
</ul>
</dd>
</dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter.add_trajectory">
<code class="sig-name descname">add_trajectory</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">trajectory</span><span class="p">:</span> <span class="n">list</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter.add_trajectory" title="Permalink to this definition"></a></dt>
<dd><p>Add a new trajectory to the current list</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>trajectory</strong> (<em>pandas.DataFrame</em>) – The trajectory to add</p>
</dd>
</dl>
</dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter.out_file">
<em class="property">abstract </em><code class="sig-name descname">out_file</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">filename</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter.out_file" title="Permalink to this definition"></a></dt>
<dd><dl class="simple">
<dt>Create a file in current directory and write on it the previously added data </dt><dd><p>(variables, dyn_str, dyn_cims and trajectories)</p>
</dd>
</dl>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>filename</strong> (<em>string</em>) – Name of the output file (it must include json extension)</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section> </section>
<section id="module-PyCTBN.PyCTBN.utility.abstract_importer"> <section id="module-PyCTBN.PyCTBN.utility.abstract_importer">
<span id="pyctbn-pyctbn-utility-abstract-importer-module"></span><h2>PyCTBN.PyCTBN.utility.abstract_importer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.abstract_importer" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-utility-abstract-importer-module"></span><h2>PyCTBN.PyCTBN.utility.abstract_importer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.abstract_importer" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"> <dt id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.utility.abstract_importer.</span></span><span class="sig-name descname"><span class="pre">AbstractImporter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">file_path</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">str</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">trajectory_list</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">pandas.core.frame.DataFrame</span><span class="p"><span class="pre">,</span> </span><span class="pre">numpy.ndarray</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">variables</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">pandas.core.frame.DataFrame</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">prior_net_structure</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">pandas.core.frame.DataFrame</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.utility.abstract_importer.</code><code class="sig-name descname">AbstractImporter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">file_path</span><span class="p">:</span> <span class="n">str</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">trajectory_list</span><span class="p">:</span> <span class="n">Union<span class="p">[</span>pandas.core.frame.DataFrame<span class="p">, </span>numpy.ndarray<span class="p">]</span></span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">variables</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">prior_net_structure</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">abc.ABC</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">abc.ABC</span></code></p>
<p>Abstract class that exposes all the necessary methods to process the trajectories and the net structure.</p> <p>Abstract class that exposes all the necessary methods to process the trajectories and the net structure.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -161,8 +201,8 @@ See the tutorial on how to construct a correct <code class="docutils literal not
<p>See :class:<code class="docutils literal notranslate"><span class="pre">JsonImporter</span></code> for an example implementation</p> <p>See :class:<code class="docutils literal notranslate"><span class="pre">JsonImporter</span></code> for an example implementation</p>
</div> </div>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.build_list_of_samples_array"> <dt id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.build_list_of_samples_array">
<span class="sig-name descname"><span class="pre">build_list_of_samples_array</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">concatenated_sample</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">pandas.core.frame.DataFrame</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.build_list_of_samples_array" title="Permalink to this definition"></a></dt> <code class="sig-name descname">build_list_of_samples_array</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">concatenated_sample</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span></em><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.build_list_of_samples_array" title="Permalink to this definition"></a></dt>
<dd><p>Builds a List containing the the delta times numpy array, and the complete transitions matrix</p> <dd><p>Builds a List containing the the delta times numpy array, and the complete transitions matrix</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -179,8 +219,8 @@ and converted</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.build_sorter"> <dt id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.build_sorter">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">build_sorter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">trajecory_header</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">object</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.build_sorter" title="Permalink to this definition"></a></dt> <em class="property">abstract </em><code class="sig-name descname">build_sorter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">trajecory_header</span><span class="p">:</span> <span class="n">object</span></em><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.build_sorter" title="Permalink to this definition"></a></dt>
<dd><p>Initializes the <code class="docutils literal notranslate"><span class="pre">_sorter</span></code> class member from a trajectory dataframe, exctracting the header of the frame <dd><p>Initializes the <code class="docutils literal notranslate"><span class="pre">_sorter</span></code> class member from a trajectory dataframe, exctracting the header of the frame
and keeping ONLY the variables symbolic labels, cutting out the time label in the header.</p> and keeping ONLY the variables symbolic labels, cutting out the time label in the header.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -197,14 +237,14 @@ and keeping ONLY the variables symbolic labels, cutting out the time label in th
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.clear_concatenated_frame"> <dt id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.clear_concatenated_frame">
<span class="sig-name descname"><span class="pre">clear_concatenated_frame</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.clear_concatenated_frame" title="Permalink to this definition"></a></dt> <code class="sig-name descname">clear_concatenated_frame</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.clear_concatenated_frame" title="Permalink to this definition"></a></dt>
<dd><p>Removes all values in the dataframe concatenated_samples.</p> <dd><p>Removes all values in the dataframe concatenated_samples.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.compute_row_delta_in_all_samples_frames"> <dt id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.compute_row_delta_in_all_samples_frames">
<span class="sig-name descname"><span class="pre">compute_row_delta_in_all_samples_frames</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">df_samples_list</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.compute_row_delta_in_all_samples_frames" title="Permalink to this definition"></a></dt> <code class="sig-name descname">compute_row_delta_in_all_samples_frames</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">df_samples_list</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.compute_row_delta_in_all_samples_frames" title="Permalink to this definition"></a></dt>
<dd><p>Calls the method <code class="docutils literal notranslate"><span class="pre">compute_row_delta_sigle_samples_frame</span></code> on every dataframe present in the list <dd><p>Calls the method <code class="docutils literal notranslate"><span class="pre">compute_row_delta_sigle_samples_frame</span></code> on every dataframe present in the list
<code class="docutils literal notranslate"><span class="pre">df_samples_list</span></code>. <code class="docutils literal notranslate"><span class="pre">df_samples_list</span></code>.
Concatenates the result in the dataframe <code class="docutils literal notranslate"><span class="pre">concatanated_samples</span></code></p> Concatenates the result in the dataframe <code class="docutils literal notranslate"><span class="pre">concatanated_samples</span></code></p>
@ -227,8 +267,8 @@ and merged trajectories</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.compute_row_delta_sigle_samples_frame"> <dt id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.compute_row_delta_sigle_samples_frame">
<span class="sig-name descname"><span class="pre">compute_row_delta_sigle_samples_frame</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sample_frame</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">pandas.core.frame.DataFrame</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">columns_header</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">shifted_cols_header</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">pandas.core.frame.DataFrame</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.compute_row_delta_sigle_samples_frame" title="Permalink to this definition"></a></dt> <code class="sig-name descname">compute_row_delta_sigle_samples_frame</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">sample_frame</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span></em>, <em class="sig-param"><span class="n">columns_header</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">shifted_cols_header</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; pandas.core.frame.DataFrame<a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.compute_row_delta_sigle_samples_frame" title="Permalink to this definition"></a></dt>
<dd><p>Computes the difference between each value present in th time column. <dd><p>Computes the difference between each value present in th time column.
Copies and shift by one position up all the values present in the remaining columns.</p> Copies and shift by one position up all the values present in the remaining columns.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -253,36 +293,36 @@ Header of sample_frame = [Time | Variable values]</p>
</div> </div>
</dd></dl> </dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.concatenated_samples"> <dt id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.concatenated_samples">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">concatenated_samples</span></span><em class="property"><span class="pre">:</span> <span class="pre">pandas.core.frame.DataFrame</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.concatenated_samples" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">concatenated_samples</code><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.concatenated_samples" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.dataset_id"> <dt id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.dataset_id">
<em class="property"><span class="pre">abstract</span> </em><span class="sig-name descname"><span class="pre">dataset_id</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">object</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.dataset_id" title="Permalink to this definition"></a></dt> <em class="property">abstract </em><code class="sig-name descname">dataset_id</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; object<a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.dataset_id" title="Permalink to this definition"></a></dt>
<dd><p>If the original dataset contains multiple dataset, this method returns a unique id to identify the current <dd><p>If the original dataset contains multiple dataset, this method returns a unique id to identify the current
dataset</p> dataset</p>
</dd></dl> </dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.file_path"> <dt id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.file_path">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">file_path</span></span><em class="property"><span class="pre">:</span> <span class="pre">str</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.file_path" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">file_path</code><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.file_path" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.sorter"> <dt id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.sorter">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">sorter</span></span><em class="property"><span class="pre">:</span> <span class="pre">List</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.sorter" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">sorter</code><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.sorter" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.structure"> <dt id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.structure">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">structure</span></span><em class="property"><span class="pre">:</span> <span class="pre">pandas.core.frame.DataFrame</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.structure" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">structure</code><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.structure" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py property"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.variables"> <dt id="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.variables">
<em class="property"><span class="pre">property</span> </em><span class="sig-name descname"><span class="pre">variables</span></span><em class="property"><span class="pre">:</span> <span class="pre">pandas.core.frame.DataFrame</span></em><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.variables" title="Permalink to this definition"></a></dt> <em class="property">property </em><code class="sig-name descname">variables</code><a class="headerlink" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.variables" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -291,8 +331,8 @@ dataset</p>
<section id="module-PyCTBN.PyCTBN.utility.cache"> <section id="module-PyCTBN.PyCTBN.utility.cache">
<span id="pyctbn-pyctbn-utility-cache-module"></span><h2>PyCTBN.PyCTBN.utility.cache module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.cache" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-utility-cache-module"></span><h2>PyCTBN.PyCTBN.utility.cache module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.cache" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.cache.Cache"> <dt id="PyCTBN.PyCTBN.utility.cache.Cache">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.utility.cache.</span></span><span class="sig-name descname"><span class="pre">Cache</span></span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.cache.Cache" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.utility.cache.</code><code class="sig-name descname">Cache</code><a class="headerlink" href="#PyCTBN.PyCTBN.utility.cache.Cache" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>This class acts as a cache of <code class="docutils literal notranslate"><span class="pre">SetOfCims</span></code> objects for a node.</p> <p>This class acts as a cache of <code class="docutils literal notranslate"><span class="pre">SetOfCims</span></code> objects for a node.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -305,14 +345,14 @@ index is related</p>
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.cache.Cache.clear"> <dt id="PyCTBN.PyCTBN.utility.cache.Cache.clear">
<span class="sig-name descname"><span class="pre">clear</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.cache.Cache.clear" title="Permalink to this definition"></a></dt> <code class="sig-name descname">clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.cache.Cache.clear" title="Permalink to this definition"></a></dt>
<dd><p>Clear the contents both of <code class="docutils literal notranslate"><span class="pre">__actual_cache</span></code> and <code class="docutils literal notranslate"><span class="pre">__list_of_sets_of_parents</span></code>.</p> <dd><p>Clear the contents both of <code class="docutils literal notranslate"><span class="pre">__actual_cache</span></code> and <code class="docutils literal notranslate"><span class="pre">__list_of_sets_of_parents</span></code>.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.cache.Cache.find"> <dt id="PyCTBN.PyCTBN.utility.cache.Cache.find">
<span class="sig-name descname"><span class="pre">find</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">parents_comb</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Set</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.cache.Cache.find" title="Permalink to this definition"></a></dt> <code class="sig-name descname">find</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">parents_comb</span><span class="p">:</span> <span class="n">Set</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.cache.Cache.find" title="Permalink to this definition"></a></dt>
<dd><p>Tries to find in cache given the symbolic parents combination <code class="docutils literal notranslate"><span class="pre">parents_comb</span></code> the <code class="docutils literal notranslate"><span class="pre">SetOfCims</span></code> <dd><p>Tries to find in cache given the symbolic parents combination <code class="docutils literal notranslate"><span class="pre">parents_comb</span></code> the <code class="docutils literal notranslate"><span class="pre">SetOfCims</span></code>
related to that <code class="docutils literal notranslate"><span class="pre">parents_comb</span></code>.</p> related to that <code class="docutils literal notranslate"><span class="pre">parents_comb</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -330,8 +370,8 @@ None otherwise.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.cache.Cache.put"> <dt id="PyCTBN.PyCTBN.utility.cache.Cache.put">
<span class="sig-name descname"><span class="pre">put</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">parents_comb</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Set</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">socim</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims" title="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims"><span class="pre">PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims</span></a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.cache.Cache.put" title="Permalink to this definition"></a></dt> <code class="sig-name descname">put</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">parents_comb</span><span class="p">:</span> <span class="n">Set</span></em>, <em class="sig-param"><span class="n">socim</span><span class="p">:</span> <span class="n"><a class="reference internal" href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims" title="PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims">PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims</a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.cache.Cache.put" title="Permalink to this definition"></a></dt>
<dd><p>Place in cache the <code class="docutils literal notranslate"><span class="pre">SetOfCims</span></code> object, and the related symbolic index <code class="docutils literal notranslate"><span class="pre">parents_comb</span></code> in <dd><p>Place in cache the <code class="docutils literal notranslate"><span class="pre">SetOfCims</span></code> object, and the related symbolic index <code class="docutils literal notranslate"><span class="pre">parents_comb</span></code> in
<code class="docutils literal notranslate"><span class="pre">__list_of_sets_of_parents</span></code>.</p> <code class="docutils literal notranslate"><span class="pre">__list_of_sets_of_parents</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -346,14 +386,52 @@ None otherwise.</p>
</dd></dl> </dd></dl>
</section>
<section id="module-PyCTBN.PyCTBN.utility.json_exporter">
<span id="pyctbn-pyctbn-utility-json-exporter-module"></span><h2>PyCTBN.PyCTBN.utility.json_exporter module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.json_exporter" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt id="PyCTBN.PyCTBN.utility.json_exporter.JsonExporter">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.utility.json_exporter.</code><code class="sig-name descname">JsonExporter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">variables</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">dyn_str</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">dyn_cims</span><span class="p">:</span> <span class="n">dict</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_exporter.JsonExporter" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter" title="PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.utility.abstract_exporter.AbstractExporter</span></code></a></p>
<p>Provides the methods to save in json format a network information
along with one or more trajectories generated basing on it</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>_variables</strong> (<em>pandas.DataFrame</em>) – Dataframe containing the nodes labels and cardinalities</p></li>
<li><p><strong>_dyn_str</strong> (<em>pandas.DataFrame</em>) – Dataframe containing the structure of the network (edges)</p></li>
<li><p><strong>_dyn_cims</strong> (<em>dict</em>) – It contains, for every variable (label is the key), the SetOfCims object related to it</p></li>
<li><p><strong>_trajectories</strong> (<em>List</em>) – List of trajectories, that can be added subsequently</p></li>
</ul>
</dd>
</dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.utility.json_exporter.JsonExporter.cims_to_json">
<code class="sig-name descname">cims_to_json</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; dict<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_exporter.JsonExporter.cims_to_json" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.PyCTBN.utility.json_exporter.JsonExporter.out_file">
<code class="sig-name descname">out_file</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">filename</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_exporter.JsonExporter.out_file" title="Permalink to this definition"></a></dt>
<dd><dl class="simple">
<dt>Create a file in current directory and write on it the previously added data </dt><dd><p>(variables, dyn_str, dyn_cims and trajectories)</p>
</dd>
</dl>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>filename</strong> (<em>string</em>) – Name of the output file (it must include json extension)</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
</section> </section>
<section id="module-PyCTBN.PyCTBN.utility.json_importer"> <section id="module-PyCTBN.PyCTBN.utility.json_importer">
<span id="pyctbn-pyctbn-utility-json-importer-module"></span><h2>PyCTBN.PyCTBN.utility.json_importer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.json_importer" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-utility-json-importer-module"></span><h2>PyCTBN.PyCTBN.utility.json_importer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.json_importer" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.utility.json_importer.</span></span><span class="sig-name descname"><span class="pre">JsonImporter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">file_path</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">samples_label</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">structure_label</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">variables_label</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_key</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">variables_key</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cims_label</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">str</span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.utility.json_importer.</code><code class="sig-name descname">JsonImporter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">file_path</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">samples_label</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">structure_label</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">variables_label</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">time_key</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">variables_key</span><span class="p">:</span> <span class="n">str</span></em>, <em class="sig-param"><span class="n">cims_label</span><span class="p">:</span> <span class="n">str</span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter</span></code></a></p> <dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter</span></code></a></p>
<p>Implements the abstracts methods of AbstractImporter and adds all the necessary methods to process and prepare <p>Implements the abstracts methods of AbstractImporter and adds all the necessary methods to process and prepare
the data in json extension.</p> the data in json extension.</p>
@ -379,29 +457,27 @@ the data in json extension.</p>
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.build_sorter"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.build_sorter">
<span class="sig-name descname"><span class="pre">build_sorter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sample_frame</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">pandas.core.frame.DataFrame</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.build_sorter" title="Permalink to this definition"></a></dt> <code class="sig-name descname">build_sorter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">sample_frame</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span></em><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.build_sorter" title="Permalink to this definition"></a></dt>
<dd><p>Implements the abstract method build_sorter of the <code class="xref py py-class docutils literal notranslate"><span class="pre">AbstractImporter</span></code> for this dataset.</p> <dd><p>Implements the abstract method build_sorter of the <code class="xref py py-class docutils literal notranslate"><span class="pre">AbstractImporter</span></code> for this dataset.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.clear_data_frame_list"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.clear_data_frame_list">
<span class="sig-name descname"><span class="pre">clear_data_frame_list</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.clear_data_frame_list" title="Permalink to this definition"></a></dt> <code class="sig-name descname">clear_data_frame_list</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.clear_data_frame_list" title="Permalink to this definition"></a></dt>
<dd><p>Removes all values present in the dataframes in the list <code class="docutils literal notranslate"><span class="pre">_df_samples_list</span></code>.</p> <dd><p>Removes all values present in the dataframes in the list <code class="docutils literal notranslate"><span class="pre">_df_samples_list</span></code>.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.dataset_id"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.dataset_id">
<span class="sig-name descname"><span class="pre">dataset_id</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">object</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.dataset_id" title="Permalink to this definition"></a></dt> <code class="sig-name descname">dataset_id</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; object<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.dataset_id" title="Permalink to this definition"></a></dt>
<dd><p>If the original dataset contains multiple dataset, this method returns a unique id to identify the current <dd><p>If the original dataset contains multiple dataset, this method returns a unique id to identify the current
dataset</p> dataset</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_data"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_data">
<code class="sig-name descname">import_data</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">indx</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">0</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_data" title="Permalink to this definition"></a></dt> <code class="sig-name descname">import_data</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">indx</span><span class="p">:</span> <span class="n">int</span> <span class="o">=</span> <span class="default_value">0</span></em><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_data" title="Permalink to this definition"></a></dt>
<dd><p>Implements the abstract method of <code class="xref py py-class docutils literal notranslate"><span class="pre">AbstractImporter</span></code>.</p> <dd><p>Implements the abstract method of <code class="xref py py-class docutils literal notranslate"><span class="pre">AbstractImporter</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -411,8 +487,8 @@ dataset</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_sampled_cims"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_sampled_cims">
<span class="sig-name descname"><span class="pre">import_sampled_cims</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">raw_data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">indx</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cims_key</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">Dict</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_sampled_cims" title="Permalink to this definition"></a></dt> <code class="sig-name descname">import_sampled_cims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">raw_data</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">indx</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">cims_key</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; Dict<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_sampled_cims" title="Permalink to this definition"></a></dt>
<dd><p>Imports the synthetic CIMS in the dataset in a dictionary, using variables labels <dd><p>Imports the synthetic CIMS in the dataset in a dictionary, using variables labels
as keys for the set of CIMS of a particular node.</p> as keys for the set of CIMS of a particular node.</p>
<dl class="field-list simple"> <dl class="field-list simple">
@ -433,8 +509,8 @@ as keys for the set of CIMS of a particular node.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_structure"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_structure">
<span class="sig-name descname"><span class="pre">import_structure</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">raw_data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">pandas.core.frame.DataFrame</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">import_structure</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">raw_data</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; pandas.core.frame.DataFrame<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_structure" title="Permalink to this definition"></a></dt>
<dd><p>Imports in a dataframe the data in the list raw_data at the key <code class="docutils literal notranslate"><span class="pre">_structure_label</span></code></p> <dd><p>Imports in a dataframe the data in the list raw_data at the key <code class="docutils literal notranslate"><span class="pre">_structure_label</span></code></p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -450,8 +526,8 @@ as keys for the set of CIMS of a particular node.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_trajectories"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_trajectories">
<span class="sig-name descname"><span class="pre">import_trajectories</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">raw_data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_trajectories" title="Permalink to this definition"></a></dt> <code class="sig-name descname">import_trajectories</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">raw_data</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_trajectories" title="Permalink to this definition"></a></dt>
<dd><p>Imports the trajectories from the list of dicts <code class="docutils literal notranslate"><span class="pre">raw_data</span></code>.</p> <dd><p>Imports the trajectories from the list of dicts <code class="docutils literal notranslate"><span class="pre">raw_data</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -467,8 +543,8 @@ as keys for the set of CIMS of a particular node.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_variables"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_variables">
<span class="sig-name descname"><span class="pre">import_variables</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">raw_data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">pandas.core.frame.DataFrame</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_variables" title="Permalink to this definition"></a></dt> <code class="sig-name descname">import_variables</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">raw_data</span><span class="p">:</span> <span class="n">List</span></em><span class="sig-paren">)</span> &#x2192; pandas.core.frame.DataFrame<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.import_variables" title="Permalink to this definition"></a></dt>
<dd><p>Imports the data in <code class="docutils literal notranslate"><span class="pre">raw_data</span></code> at the key <code class="docutils literal notranslate"><span class="pre">_variables_label</span></code>.</p> <dd><p>Imports the data in <code class="docutils literal notranslate"><span class="pre">raw_data</span></code> at the key <code class="docutils literal notranslate"><span class="pre">_variables_label</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -484,8 +560,8 @@ as keys for the set of CIMS of a particular node.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.normalize_trajectories"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.normalize_trajectories">
<span class="sig-name descname"><span class="pre">normalize_trajectories</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">raw_data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">indx</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">trajectories_key</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.normalize_trajectories" title="Permalink to this definition"></a></dt> <code class="sig-name descname">normalize_trajectories</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">raw_data</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">indx</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">trajectories_key</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.normalize_trajectories" title="Permalink to this definition"></a></dt>
<dd><p>Extracts the trajectories in <code class="docutils literal notranslate"><span class="pre">raw_data</span></code> at the index <code class="docutils literal notranslate"><span class="pre">index</span></code> at the key <code class="docutils literal notranslate"><span class="pre">trajectories</span> <span class="pre">key</span></code>.</p> <dd><p>Extracts the trajectories in <code class="docutils literal notranslate"><span class="pre">raw_data</span></code> at the index <code class="docutils literal notranslate"><span class="pre">index</span></code> at the key <code class="docutils literal notranslate"><span class="pre">trajectories</span> <span class="pre">key</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -505,8 +581,8 @@ as keys for the set of CIMS of a particular node.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.one_level_normalizing"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.one_level_normalizing">
<span class="sig-name descname"><span class="pre">one_level_normalizing</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">raw_data</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">List</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">indx</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">int</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">key</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">pandas.core.frame.DataFrame</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.one_level_normalizing" title="Permalink to this definition"></a></dt> <code class="sig-name descname">one_level_normalizing</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">raw_data</span><span class="p">:</span> <span class="n">List</span></em>, <em class="sig-param"><span class="n">indx</span><span class="p">:</span> <span class="n">int</span></em>, <em class="sig-param"><span class="n">key</span><span class="p">:</span> <span class="n">str</span></em><span class="sig-paren">)</span> &#x2192; pandas.core.frame.DataFrame<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.one_level_normalizing" title="Permalink to this definition"></a></dt>
<dd><p>Extracts the one-level nested data in the list <code class="docutils literal notranslate"><span class="pre">raw_data</span></code> at the index <code class="docutils literal notranslate"><span class="pre">indx</span></code> at the key <code class="docutils literal notranslate"><span class="pre">key</span></code>.</p> <dd><p>Extracts the one-level nested data in the list <code class="docutils literal notranslate"><span class="pre">raw_data</span></code> at the index <code class="docutils literal notranslate"><span class="pre">indx</span></code> at the key <code class="docutils literal notranslate"><span class="pre">key</span></code>.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Parameters</dt> <dt class="field-odd">Parameters</dt>
@ -526,8 +602,8 @@ as keys for the set of CIMS of a particular node.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.read_json_file"> <dt id="PyCTBN.PyCTBN.utility.json_importer.JsonImporter.read_json_file">
<span class="sig-name descname"><span class="pre">read_json_file</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.read_json_file" title="Permalink to this definition"></a></dt> <code class="sig-name descname">read_json_file</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.utility.json_importer.JsonImporter.read_json_file" title="Permalink to this definition"></a></dt>
<dd><p>Reads the JSON file in the path self.filePath.</p> <dd><p>Reads the JSON file in the path self.filePath.</p>
<dl class="field-list simple"> <dl class="field-list simple">
<dt class="field-odd">Returns</dt> <dt class="field-odd">Returns</dt>
@ -545,8 +621,8 @@ as keys for the set of CIMS of a particular node.</p>
<section id="module-PyCTBN.PyCTBN.utility.sample_importer"> <section id="module-PyCTBN.PyCTBN.utility.sample_importer">
<span id="pyctbn-pyctbn-utility-sample-importer-module"></span><h2>PyCTBN.PyCTBN.utility.sample_importer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.sample_importer" title="Permalink to this headline"></a></h2> <span id="pyctbn-pyctbn-utility-sample-importer-module"></span><h2>PyCTBN.PyCTBN.utility.sample_importer module<a class="headerlink" href="#module-PyCTBN.PyCTBN.utility.sample_importer" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.sample_importer.SampleImporter"> <dt id="PyCTBN.PyCTBN.utility.sample_importer.SampleImporter">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.PyCTBN.utility.sample_importer.</span></span><span class="sig-name descname"><span class="pre">SampleImporter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">trajectory_list</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">pandas.core.frame.DataFrame</span><span class="p"><span class="pre">,</span> </span><span class="pre">numpy.ndarray</span><span class="p"><span class="pre">,</span> </span><span class="pre">List</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">variables</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">pandas.core.frame.DataFrame</span><span class="p"><span class="pre">,</span> </span><span class="pre">numpy.ndarray</span><span class="p"><span class="pre">,</span> </span><span class="pre">List</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">prior_net_structure</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">Optional</span><span class="p"><span class="pre">[</span></span><span class="pre">Union</span><span class="p"><span class="pre">[</span></span><span class="pre">pandas.core.frame.DataFrame</span><span class="p"><span class="pre">,</span> </span><span class="pre">numpy.ndarray</span><span class="p"><span class="pre">,</span> </span><span class="pre">List</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span></span> <span class="o"><span class="pre">=</span></span> <span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.sample_importer.SampleImporter" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.PyCTBN.utility.sample_importer.</code><code class="sig-name descname">SampleImporter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">trajectory_list</span><span class="p">:</span> <span class="n">Union<span class="p">[</span>pandas.core.frame.DataFrame<span class="p">, </span>numpy.ndarray<span class="p">, </span>List<span class="p">]</span></span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">variables</span><span class="p">:</span> <span class="n">Union<span class="p">[</span>pandas.core.frame.DataFrame<span class="p">, </span>numpy.ndarray<span class="p">, </span>List<span class="p">]</span></span> <span class="o">=</span> <span class="default_value">None</span></em>, <em class="sig-param"><span class="n">prior_net_structure</span><span class="p">:</span> <span class="n">Union<span class="p">[</span>pandas.core.frame.DataFrame<span class="p">, </span>numpy.ndarray<span class="p">, </span>List<span class="p">]</span></span> <span class="o">=</span> <span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.sample_importer.SampleImporter" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter</span></code></a></p> <dd><p>Bases: <a class="reference internal" href="#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter" title="PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter"><code class="xref py py-class docutils literal notranslate"><span class="pre">PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter</span></code></a></p>
<p>Implements the abstracts methods of AbstractImporter and adds all the necessary methods to process and prepare <p>Implements the abstracts methods of AbstractImporter and adds all the necessary methods to process and prepare
the data loaded directly by using DataFrame</p> the data loaded directly by using DataFrame</p>
@ -566,21 +642,21 @@ the data loaded directly by using DataFrame</p>
</dd> </dd>
</dl> </dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.sample_importer.SampleImporter.build_sorter"> <dt id="PyCTBN.PyCTBN.utility.sample_importer.SampleImporter.build_sorter">
<span class="sig-name descname"><span class="pre">build_sorter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sample_frame</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">pandas.core.frame.DataFrame</span></span></em><span class="sig-paren">)</span> &#x2192; <span class="pre">List</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.sample_importer.SampleImporter.build_sorter" title="Permalink to this definition"></a></dt> <code class="sig-name descname">build_sorter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">sample_frame</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span></em><span class="sig-paren">)</span> &#x2192; List<a class="headerlink" href="#PyCTBN.PyCTBN.utility.sample_importer.SampleImporter.build_sorter" title="Permalink to this definition"></a></dt>
<dd><p>Implements the abstract method build_sorter of the <code class="xref py py-class docutils literal notranslate"><span class="pre">AbstractImporter</span></code> in order to get the ordered variables list.</p> <dd><p>Implements the abstract method build_sorter of the <code class="xref py py-class docutils literal notranslate"><span class="pre">AbstractImporter</span></code> in order to get the ordered variables list.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.sample_importer.SampleImporter.dataset_id"> <dt id="PyCTBN.PyCTBN.utility.sample_importer.SampleImporter.dataset_id">
<span class="sig-name descname"><span class="pre">dataset_id</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">str</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.sample_importer.SampleImporter.dataset_id" title="Permalink to this definition"></a></dt> <code class="sig-name descname">dataset_id</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; str<a class="headerlink" href="#PyCTBN.PyCTBN.utility.sample_importer.SampleImporter.dataset_id" title="Permalink to this definition"></a></dt>
<dd><p>If the original dataset contains multiple dataset, this method returns a unique id to identify the current <dd><p>If the original dataset contains multiple dataset, this method returns a unique id to identify the current
dataset</p> dataset</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.PyCTBN.utility.sample_importer.SampleImporter.import_data"> <dt id="PyCTBN.PyCTBN.utility.sample_importer.SampleImporter.import_data">
<span class="sig-name descname"><span class="pre">import_data</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">header_column</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.sample_importer.SampleImporter.import_data" title="Permalink to this definition"></a></dt> <code class="sig-name descname">import_data</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">header_column</span><span class="o">=</span><span class="default_value">None</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.PyCTBN.utility.sample_importer.SampleImporter.import_data" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -628,9 +704,6 @@ dataset</p>
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -641,6 +714,9 @@ dataset</p>
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

30
docs/PyCTBN.html vendored

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -177,29 +173,29 @@
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.tests.estimators.html">PyCTBN.tests.estimators package</a><ul> <li class="toctree-l3"><a class="reference internal" href="PyCTBN.tests.estimators.html">PyCTBN.tests.estimators package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#submodules">Submodules</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_parameters_estimator">PyCTBN.tests.estimators.test_parameters_estimator module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_parameters_estimator">PyCTBN.tests.estimators.test_parameters_estimator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#pyctbn-tests-estimators-test-structure-constraint-based-estimator-module">PyCTBN.tests.estimators.test_structure_constraint_based_estimator module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_constraint_based_estimator">PyCTBN.tests.estimators.test_structure_constraint_based_estimator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_estimator">PyCTBN.tests.estimators.test_structure_estimator module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_estimator">PyCTBN.tests.estimators.test_structure_estimator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#pyctbn-tests-estimators-test-structure-score-based-estimator-module">PyCTBN.tests.estimators.test_structure_score_based_estimator module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_score_based_estimator">PyCTBN.tests.estimators.test_structure_score_based_estimator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators">Module contents</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators">Module contents</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.tests.optimizers.html">PyCTBN.tests.optimizers package</a><ul> <li class="toctree-l3"><a class="reference internal" href="PyCTBN.tests.optimizers.html">PyCTBN.tests.optimizers package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.optimizers.html#submodules">Submodules</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.optimizers.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.optimizers.html#pyctbn-tests-optimizers-test-hill-climbing-search-module">PyCTBN.tests.optimizers.test_hill_climbing_search module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers.test_hill_climbing_search">PyCTBN.tests.optimizers.test_hill_climbing_search module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.optimizers.html#pyctbn-tests-optimizers-test-tabu-search-module">PyCTBN.tests.optimizers.test_tabu_search module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers.test_tabu_search">PyCTBN.tests.optimizers.test_tabu_search module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers">Module contents</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers">Module contents</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l3"><a class="reference internal" href="PyCTBN.tests.structure_graph.html">PyCTBN.tests.structure_graph package</a><ul> <li class="toctree-l3"><a class="reference internal" href="PyCTBN.tests.structure_graph.html">PyCTBN.tests.structure_graph package</a><ul>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#submodules">Submodules</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#submodules">Submodules</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">PyCTBN.tests.structure_graph.test_cim module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">PyCTBN.tests.structure_graph.test_cim module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#pyctbn-tests-structure-graph-test-networkgenerator-module">PyCTBN.tests.structure_graph.test_networkgenerator module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgenerator">PyCTBN.tests.structure_graph.test_networkgenerator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgraph">PyCTBN.tests.structure_graph.test_networkgraph module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgraph">PyCTBN.tests.structure_graph.test_networkgraph module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_sample_path">PyCTBN.tests.structure_graph.test_sample_path module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_sample_path">PyCTBN.tests.structure_graph.test_sample_path module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_setofcims">PyCTBN.tests.structure_graph.test_setofcims module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_setofcims">PyCTBN.tests.structure_graph.test_setofcims module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_structure">PyCTBN.tests.structure_graph.test_structure module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_structure">PyCTBN.tests.structure_graph.test_structure module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">PyCTBN.tests.structure_graph.test_trajectory module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">PyCTBN.tests.structure_graph.test_trajectory module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#pyctbn-tests-structure-graph-test-trajectorygenerator-module">PyCTBN.tests.structure_graph.test_trajectorygenerator module</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectorygenerator">PyCTBN.tests.structure_graph.test_trajectorygenerator module</a></li>
<li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph">Module contents</a></li> <li class="toctree-l4"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph">Module contents</a></li>
</ul> </ul>
</li> </li>
@ -221,10 +217,14 @@
</section> </section>
<section id="submodules"> <section id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2> <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline"></a></h2>
</section>
<section id="pyctbn-basic-main-module">
<h2>PyCTBN.basic_main module<a class="headerlink" href="#pyctbn-basic-main-module" title="Permalink to this headline"></a></h2>
</section>
<section id="pyctbn-setup-module">
<h2>PyCTBN.setup module<a class="headerlink" href="#pyctbn-setup-module" title="Permalink to this headline"></a></h2>
</section> </section>
<section id="module-PyCTBN"> <section id="module-PyCTBN">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-PyCTBN" title="Permalink to this headline"></a></h2> <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-PyCTBN" title="Permalink to this headline"></a></h2>
</section> </section>
</section> </section>
@ -257,9 +257,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -270,6 +267,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -124,43 +120,42 @@
<section id="module-PyCTBN.tests.estimators.test_parameters_estimator"> <section id="module-PyCTBN.tests.estimators.test_parameters_estimator">
<span id="pyctbn-tests-estimators-test-parameters-estimator-module"></span><h2>PyCTBN.tests.estimators.test_parameters_estimator module<a class="headerlink" href="#module-PyCTBN.tests.estimators.test_parameters_estimator" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-estimators-test-parameters-estimator-module"></span><h2>PyCTBN.tests.estimators.test_parameters_estimator module<a class="headerlink" href="#module-PyCTBN.tests.estimators.test_parameters_estimator" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior"> <dt id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.tests.estimators.test_parameters_estimator.</span></span><span class="sig-name descname"><span class="pre">TestParametersEstimatior</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.estimators.test_parameters_estimator.</code><code class="sig-name descname">TestParametersEstimatior</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.aux_import_sampled_cims"> <dt id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.aux_import_sampled_cims">
<span class="sig-name descname"><span class="pre">aux_import_sampled_cims</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cims_label</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.aux_import_sampled_cims" title="Permalink to this definition"></a></dt> <code class="sig-name descname">aux_import_sampled_cims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">cims_label</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.aux_import_sampled_cims" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.cim_equality_test"> <dt id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.cim_equality_test">
<span class="sig-name descname"><span class="pre">cim_equality_test</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cim1</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">cim2</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.cim_equality_test" title="Permalink to this definition"></a></dt> <code class="sig-name descname">cim_equality_test</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">cim1</span></em>, <em class="sig-param"><span class="n">cim2</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.cim_equality_test" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.equality_of_cims_of_node"> <dt id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.equality_of_cims_of_node">
<span class="sig-name descname"><span class="pre">equality_of_cims_of_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">sampled_cims</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">estimated_cims</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.equality_of_cims_of_node" title="Permalink to this definition"></a></dt> <code class="sig-name descname">equality_of_cims_of_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">sampled_cims</span></em>, <em class="sig-param"><span class="n">estimated_cims</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.equality_of_cims_of_node" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.setUpClass"> <dt id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.setUpClass">
<em class="property"><span class="pre">classmethod</span> </em><span class="sig-name descname"><span class="pre">setUpClass</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.setUpClass" title="Permalink to this definition"></a></dt> <em class="property">classmethod </em><code class="sig-name descname">setUpClass</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.setUpClass" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up class fixture before running tests in the class.</p> <dd><p>Hook method for setting up class fixture before running tests in the class.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.test_compute_parameters_for_node"> <dt id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.test_compute_parameters_for_node">
<span class="sig-name descname"><span class="pre">test_compute_parameters_for_node</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.test_compute_parameters_for_node" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_compute_parameters_for_node</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.test_compute_parameters_for_node" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.test_fast_init"> <dt id="PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.test_fast_init">
<span class="sig-name descname"><span class="pre">test_fast_init</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.test_fast_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_fast_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.test_fast_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
</section> </section>
<section id="module-PyCTBN.tests.estimators.test_structure_constraint_based_estimator"> <section id="module-PyCTBN.tests.estimators.test_structure_constraint_based_estimator">
<span id="pyctbn-tests-estimators-test-structure-constraint-based-estimator-module"></span><h2>PyCTBN.tests.estimators.test_structure_constraint_based_estimator module<a class="headerlink" href="#module-PyCTBN.tests.estimators.test_structure_constraint_based_estimator" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-estimators-test-structure-constraint-based-estimator-module"></span><h2>PyCTBN.tests.estimators.test_structure_constraint_based_estimator module<a class="headerlink" href="#module-PyCTBN.tests.estimators.test_structure_constraint_based_estimator" title="Permalink to this headline"></a></h2>
@ -193,61 +188,59 @@
</section> </section>
<section id="module-PyCTBN.tests.estimators.test_structure_estimator"> <section id="module-PyCTBN.tests.estimators.test_structure_estimator">
<span id="pyctbn-tests-estimators-test-structure-estimator-module"></span><h2>PyCTBN.tests.estimators.test_structure_estimator module<a class="headerlink" href="#module-PyCTBN.tests.estimators.test_structure_estimator" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-estimators-test-structure-estimator-module"></span><h2>PyCTBN.tests.estimators.test_structure_estimator module<a class="headerlink" href="#module-PyCTBN.tests.estimators.test_structure_estimator" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator"> <dt id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.tests.estimators.test_structure_estimator.</span></span><span class="sig-name descname"><span class="pre">TestStructureEstimator</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.estimators.test_structure_estimator.</code><code class="sig-name descname">TestStructureEstimator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.setUpClass"> <dt id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.setUpClass">
<em class="property"><span class="pre">classmethod</span> </em><span class="sig-name descname"><span class="pre">setUpClass</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.setUpClass" title="Permalink to this definition"></a></dt> <em class="property">classmethod </em><code class="sig-name descname">setUpClass</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.setUpClass" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up class fixture before running tests in the class.</p> <dd><p>Hook method for setting up class fixture before running tests in the class.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_adjacency_matrix"> <dt id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_adjacency_matrix">
<span class="sig-name descname"><span class="pre">test_adjacency_matrix</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_adjacency_matrix" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_adjacency_matrix</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_adjacency_matrix" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_build_complete_graph"> <dt id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_build_complete_graph">
<span class="sig-name descname"><span class="pre">test_build_complete_graph</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_build_complete_graph" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_complete_graph</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_build_complete_graph" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_build_removable_edges_matrix"> <dt id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_build_removable_edges_matrix">
<span class="sig-name descname"><span class="pre">test_build_removable_edges_matrix</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_build_removable_edges_matrix" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_removable_edges_matrix</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_build_removable_edges_matrix" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_generate_possible_sub_sets_of_size"> <dt id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_generate_possible_sub_sets_of_size">
<span class="sig-name descname"><span class="pre">test_generate_possible_sub_sets_of_size</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_generate_possible_sub_sets_of_size" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_generate_possible_sub_sets_of_size</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_generate_possible_sub_sets_of_size" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_init"> <dt id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_init">
<span class="sig-name descname"><span class="pre">test_init</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_save_plot_estimated_graph"> <dt id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_save_plot_estimated_graph">
<span class="sig-name descname"><span class="pre">test_save_plot_estimated_graph</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_save_plot_estimated_graph" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_save_plot_estimated_graph</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_save_plot_estimated_graph" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_save_results"> <dt id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_save_results">
<span class="sig-name descname"><span class="pre">test_save_results</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_save_results" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_save_results</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_save_results" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_time"> <dt id="PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_time">
<span class="sig-name descname"><span class="pre">test_time</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_time" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_time</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_time" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
</section> </section>
<section id="module-PyCTBN.tests.estimators.test_structure_score_based_estimator"> <section id="module-PyCTBN.tests.estimators.test_structure_score_based_estimator">
<span id="pyctbn-tests-estimators-test-structure-score-based-estimator-module"></span><h2>PyCTBN.tests.estimators.test_structure_score_based_estimator module<a class="headerlink" href="#module-PyCTBN.tests.estimators.test_structure_score_based_estimator" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-estimators-test-structure-score-based-estimator-module"></span><h2>PyCTBN.tests.estimators.test_structure_score_based_estimator module<a class="headerlink" href="#module-PyCTBN.tests.estimators.test_structure_score_based_estimator" title="Permalink to this headline"></a></h2>
@ -317,9 +310,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -330,6 +320,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -125,29 +121,29 @@
<li class="toctree-l1"><a class="reference internal" href="PyCTBN.tests.estimators.html">PyCTBN.tests.estimators package</a><ul> <li class="toctree-l1"><a class="reference internal" href="PyCTBN.tests.estimators.html">PyCTBN.tests.estimators package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.estimators.html#submodules">Submodules</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.estimators.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_parameters_estimator">PyCTBN.tests.estimators.test_parameters_estimator module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_parameters_estimator">PyCTBN.tests.estimators.test_parameters_estimator module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.estimators.html#pyctbn-tests-estimators-test-structure-constraint-based-estimator-module">PyCTBN.tests.estimators.test_structure_constraint_based_estimator module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_constraint_based_estimator">PyCTBN.tests.estimators.test_structure_constraint_based_estimator module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_estimator">PyCTBN.tests.estimators.test_structure_estimator module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_estimator">PyCTBN.tests.estimators.test_structure_estimator module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.estimators.html#pyctbn-tests-estimators-test-structure-score-based-estimator-module">PyCTBN.tests.estimators.test_structure_score_based_estimator module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_score_based_estimator">PyCTBN.tests.estimators.test_structure_score_based_estimator module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators">Module contents</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators">Module contents</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l1"><a class="reference internal" href="PyCTBN.tests.optimizers.html">PyCTBN.tests.optimizers package</a><ul> <li class="toctree-l1"><a class="reference internal" href="PyCTBN.tests.optimizers.html">PyCTBN.tests.optimizers package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.optimizers.html#submodules">Submodules</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.optimizers.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.optimizers.html#pyctbn-tests-optimizers-test-hill-climbing-search-module">PyCTBN.tests.optimizers.test_hill_climbing_search module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers.test_hill_climbing_search">PyCTBN.tests.optimizers.test_hill_climbing_search module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.optimizers.html#pyctbn-tests-optimizers-test-tabu-search-module">PyCTBN.tests.optimizers.test_tabu_search module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers.test_tabu_search">PyCTBN.tests.optimizers.test_tabu_search module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers">Module contents</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers">Module contents</a></li>
</ul> </ul>
</li> </li>
<li class="toctree-l1"><a class="reference internal" href="PyCTBN.tests.structure_graph.html">PyCTBN.tests.structure_graph package</a><ul> <li class="toctree-l1"><a class="reference internal" href="PyCTBN.tests.structure_graph.html">PyCTBN.tests.structure_graph package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#submodules">Submodules</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">PyCTBN.tests.structure_graph.test_cim module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">PyCTBN.tests.structure_graph.test_cim module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#pyctbn-tests-structure-graph-test-networkgenerator-module">PyCTBN.tests.structure_graph.test_networkgenerator module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgenerator">PyCTBN.tests.structure_graph.test_networkgenerator module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgraph">PyCTBN.tests.structure_graph.test_networkgraph module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgraph">PyCTBN.tests.structure_graph.test_networkgraph module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_sample_path">PyCTBN.tests.structure_graph.test_sample_path module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_sample_path">PyCTBN.tests.structure_graph.test_sample_path module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_setofcims">PyCTBN.tests.structure_graph.test_setofcims module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_setofcims">PyCTBN.tests.structure_graph.test_setofcims module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_structure">PyCTBN.tests.structure_graph.test_structure module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_structure">PyCTBN.tests.structure_graph.test_structure module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">PyCTBN.tests.structure_graph.test_trajectory module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">PyCTBN.tests.structure_graph.test_trajectory module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#pyctbn-tests-structure-graph-test-trajectorygenerator-module">PyCTBN.tests.structure_graph.test_trajectorygenerator module</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectorygenerator">PyCTBN.tests.structure_graph.test_trajectorygenerator module</a></li>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph">Module contents</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph">Module contents</a></li>
</ul> </ul>
</li> </li>
@ -195,9 +191,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -208,6 +201,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -204,9 +200,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -217,6 +210,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -124,28 +120,47 @@
<section id="module-PyCTBN.tests.structure_graph.test_cim"> <section id="module-PyCTBN.tests.structure_graph.test_cim">
<span id="pyctbn-tests-structure-graph-test-cim-module"></span><h2>PyCTBN.tests.structure_graph.test_cim module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_cim" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-structure-graph-test-cim-module"></span><h2>PyCTBN.tests.structure_graph.test_cim module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_cim" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix"> <dt id="PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.tests.structure_graph.test_cim.</span></span><span class="sig-name descname"><span class="pre">TestConditionalIntensityMatrix</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.structure_graph.test_cim.</code><code class="sig-name descname">TestConditionalIntensityMatrix</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.setUpClass"> <dt id="PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.setUpClass">
<em class="property"><span class="pre">classmethod</span> </em><span class="sig-name descname"><span class="pre">setUpClass</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.setUpClass" title="Permalink to this definition"></a></dt> <em class="property">classmethod </em><code class="sig-name descname">setUpClass</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.setUpClass" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up class fixture before running tests in the class.</p> <dd><p>Hook method for setting up class fixture before running tests in the class.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.test_compute_cim_coefficients"> <dt id="PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.test_compute_cim_coefficients">
<span class="sig-name descname"><span class="pre">test_compute_cim_coefficients</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.test_compute_cim_coefficients" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_compute_cim_coefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.test_compute_cim_coefficients" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.test_init"> <dt id="PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.test_init">
<span class="sig-name descname"><span class="pre">test_init</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.test_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.test_repr"> <dt id="PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.test_repr">
<span class="sig-name descname"><span class="pre">test_repr</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.test_repr" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_repr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.test_repr" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</section>
<section id="module-PyCTBN.tests.structure_graph.test_networkgenerator">
<span id="pyctbn-tests-structure-graph-test-networkgenerator-module"></span><h2>PyCTBN.tests.structure_graph.test_networkgenerator module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_networkgenerator" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt id="PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.structure_graph.test_networkgenerator.</code><code class="sig-name descname">TestNetworkGenerator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator.test_generate_cims">
<code class="sig-name descname">test_generate_cims</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator.test_generate_cims" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator.test_generate_graph">
<code class="sig-name descname">test_generate_graph</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator.test_generate_graph" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -154,103 +169,103 @@
<section id="module-PyCTBN.tests.structure_graph.test_networkgraph"> <section id="module-PyCTBN.tests.structure_graph.test_networkgraph">
<span id="pyctbn-tests-structure-graph-test-networkgraph-module"></span><h2>PyCTBN.tests.structure_graph.test_networkgraph module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_networkgraph" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-structure-graph-test-networkgraph-module"></span><h2>PyCTBN.tests.structure_graph.test_networkgraph module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_networkgraph" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.tests.structure_graph.test_networkgraph.</span></span><span class="sig-name descname"><span class="pre">TestNetworkGraph</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.structure_graph.test_networkgraph.</code><code class="sig-name descname">TestNetworkGraph</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_p_combs_structure"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_p_combs_structure">
<span class="sig-name descname"><span class="pre">aux_build_p_combs_structure</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">graph</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">p_vals</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_p_combs_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">aux_build_p_combs_structure</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">graph</span></em>, <em class="sig-param"><span class="n">p_vals</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_p_combs_structure" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_time_columns_filtering_structure_for_a_node"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_time_columns_filtering_structure_for_a_node">
<span class="sig-name descname"><span class="pre">aux_build_time_columns_filtering_structure_for_a_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">graph</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">node_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">p_indxs</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_time_columns_filtering_structure_for_a_node" title="Permalink to this definition"></a></dt> <code class="sig-name descname">aux_build_time_columns_filtering_structure_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">graph</span></em>, <em class="sig-param"><span class="n">node_id</span></em>, <em class="sig-param"><span class="n">p_indxs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_time_columns_filtering_structure_for_a_node" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_time_scalar_indexing_structure_for_a_node"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_time_scalar_indexing_structure_for_a_node">
<span class="sig-name descname"><span class="pre">aux_build_time_scalar_indexing_structure_for_a_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">graph</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">node_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parents_indxs</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parents_labels</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parents_vals</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_time_scalar_indexing_structure_for_a_node" title="Permalink to this definition"></a></dt> <code class="sig-name descname">aux_build_time_scalar_indexing_structure_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">graph</span></em>, <em class="sig-param"><span class="n">node_id</span></em>, <em class="sig-param"><span class="n">parents_indxs</span></em>, <em class="sig-param"><span class="n">parents_labels</span></em>, <em class="sig-param"><span class="n">parents_vals</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_time_scalar_indexing_structure_for_a_node" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_transition_columns_filtering_structure"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_transition_columns_filtering_structure">
<span class="sig-name descname"><span class="pre">aux_build_transition_columns_filtering_structure</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">graph</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">node_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">p_indxs</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_transition_columns_filtering_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">aux_build_transition_columns_filtering_structure</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">graph</span></em>, <em class="sig-param"><span class="n">node_id</span></em>, <em class="sig-param"><span class="n">p_indxs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_transition_columns_filtering_structure" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_transition_scalar_indexing_structure_for_a_node"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_transition_scalar_indexing_structure_for_a_node">
<span class="sig-name descname"><span class="pre">aux_build_transition_scalar_indexing_structure_for_a_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">graph</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">node_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parents_indxs</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parents_labels</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parents_values</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_transition_scalar_indexing_structure_for_a_node" title="Permalink to this definition"></a></dt> <code class="sig-name descname">aux_build_transition_scalar_indexing_structure_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">graph</span></em>, <em class="sig-param"><span class="n">node_id</span></em>, <em class="sig-param"><span class="n">parents_indxs</span></em>, <em class="sig-param"><span class="n">parents_labels</span></em>, <em class="sig-param"><span class="n">parents_values</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.aux_build_transition_scalar_indexing_structure_for_a_node" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.setUpClass"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.setUpClass">
<em class="property"><span class="pre">classmethod</span> </em><span class="sig-name descname"><span class="pre">setUpClass</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.setUpClass" title="Permalink to this definition"></a></dt> <em class="property">classmethod </em><code class="sig-name descname">setUpClass</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.setUpClass" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up class fixture before running tests in the class.</p> <dd><p>Hook method for setting up class fixture before running tests in the class.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_add_edges"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_add_edges">
<span class="sig-name descname"><span class="pre">test_add_edges</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_add_edges" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_add_edges</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_add_edges" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_add_nodes"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_add_nodes">
<span class="sig-name descname"><span class="pre">test_add_nodes</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_add_nodes" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_add_nodes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_add_nodes" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_p_combs_structure"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_p_combs_structure">
<span class="sig-name descname"><span class="pre">test_build_p_combs_structure</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_p_combs_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_p_combs_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_p_combs_structure" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_time_columns_filtering_structure_for_a_node"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_time_columns_filtering_structure_for_a_node">
<span class="sig-name descname"><span class="pre">test_build_time_columns_filtering_structure_for_a_node</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_time_columns_filtering_structure_for_a_node" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_time_columns_filtering_structure_for_a_node</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_time_columns_filtering_structure_for_a_node" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_time_scalar_indexing_structure_for_a_node"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_time_scalar_indexing_structure_for_a_node">
<span class="sig-name descname"><span class="pre">test_build_time_scalar_indexing_structure_for_a_node</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_time_scalar_indexing_structure_for_a_node" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_time_scalar_indexing_structure_for_a_node</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_time_scalar_indexing_structure_for_a_node" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_transition_columns_filtering_structure"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_transition_columns_filtering_structure">
<span class="sig-name descname"><span class="pre">test_build_transition_columns_filtering_structure</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_transition_columns_filtering_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_transition_columns_filtering_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_transition_columns_filtering_structure" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_transition_scalar_indexing_structure_for_a_node"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_transition_scalar_indexing_structure_for_a_node">
<span class="sig-name descname"><span class="pre">test_build_transition_scalar_indexing_structure_for_a_node</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_transition_scalar_indexing_structure_for_a_node" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_transition_scalar_indexing_structure_for_a_node</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_build_transition_scalar_indexing_structure_for_a_node" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_fast_init"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_fast_init">
<span class="sig-name descname"><span class="pre">test_fast_init</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_fast_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_fast_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_fast_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_node_indx"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_node_indx">
<span class="sig-name descname"><span class="pre">test_get_node_indx</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_node_indx" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_get_node_indx</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_node_indx" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_ordered_by_indx_set_of_parents"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_ordered_by_indx_set_of_parents">
<span class="sig-name descname"><span class="pre">test_get_ordered_by_indx_set_of_parents</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_ordered_by_indx_set_of_parents" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_get_ordered_by_indx_set_of_parents</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_ordered_by_indx_set_of_parents" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_parents_by_id"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_parents_by_id">
<span class="sig-name descname"><span class="pre">test_get_parents_by_id</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_parents_by_id" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_get_parents_by_id</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_parents_by_id" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_states_number"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_states_number">
<span class="sig-name descname"><span class="pre">test_get_states_number</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_states_number" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_get_states_number</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_get_states_number" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_init"> <dt id="PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_init">
<span class="sig-name descname"><span class="pre">test_init</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph.test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -259,58 +274,58 @@
<section id="module-PyCTBN.tests.structure_graph.test_sample_path"> <section id="module-PyCTBN.tests.structure_graph.test_sample_path">
<span id="pyctbn-tests-structure-graph-test-sample-path-module"></span><h2>PyCTBN.tests.structure_graph.test_sample_path module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_sample_path" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-structure-graph-test-sample-path-module"></span><h2>PyCTBN.tests.structure_graph.test_sample_path module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_sample_path" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath"> <dt id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.tests.structure_graph.test_sample_path.</span></span><span class="sig-name descname"><span class="pre">TestSamplePath</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.structure_graph.test_sample_path.</code><code class="sig-name descname">TestSamplePath</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.setUpClass"> <dt id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.setUpClass">
<em class="property"><span class="pre">classmethod</span> </em><span class="sig-name descname"><span class="pre">setUpClass</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.setUpClass" title="Permalink to this definition"></a></dt> <em class="property">classmethod </em><code class="sig-name descname">setUpClass</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.setUpClass" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up class fixture before running tests in the class.</p> <dd><p>Hook method for setting up class fixture before running tests in the class.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_buid_samplepath_no_concatenated_samples"> <dt id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_buid_samplepath_no_concatenated_samples">
<span class="sig-name descname"><span class="pre">test_buid_samplepath_no_concatenated_samples</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_buid_samplepath_no_concatenated_samples" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_buid_samplepath_no_concatenated_samples</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_buid_samplepath_no_concatenated_samples" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_buid_samplepath_no_variables"> <dt id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_buid_samplepath_no_variables">
<span class="sig-name descname"><span class="pre">test_buid_samplepath_no_variables</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_buid_samplepath_no_variables" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_buid_samplepath_no_variables</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_buid_samplepath_no_variables" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_saplepath_no_prior_net_structure"> <dt id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_saplepath_no_prior_net_structure">
<span class="sig-name descname"><span class="pre">test_build_saplepath_no_prior_net_structure</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_saplepath_no_prior_net_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_saplepath_no_prior_net_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_saplepath_no_prior_net_structure" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_structure"> <dt id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_structure">
<span class="sig-name descname"><span class="pre">test_build_structure</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_structure" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_structure_bad_sorter"> <dt id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_structure_bad_sorter">
<span class="sig-name descname"><span class="pre">test_build_structure_bad_sorter</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_structure_bad_sorter" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_structure_bad_sorter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_structure_bad_sorter" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_trajectories"> <dt id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_trajectories">
<span class="sig-name descname"><span class="pre">test_build_trajectories</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_trajectories" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_trajectories</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_build_trajectories" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init"> <dt id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init">
<span class="sig-name descname"><span class="pre">test_init</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_filled_dataframse"> <dt id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_filled_dataframse">
<span class="sig-name descname"><span class="pre">test_init_not_filled_dataframse</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_filled_dataframse" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_init_not_filled_dataframse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_filled_dataframse" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_initialized_importer"> <dt id="PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_initialized_importer">
<span class="sig-name descname"><span class="pre">test_init_not_initialized_importer</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_initialized_importer" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_init_not_initialized_importer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_initialized_importer" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -319,27 +334,27 @@
<section id="module-PyCTBN.tests.structure_graph.test_setofcims"> <section id="module-PyCTBN.tests.structure_graph.test_setofcims">
<span id="pyctbn-tests-structure-graph-test-setofcims-module"></span><h2>PyCTBN.tests.structure_graph.test_setofcims module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_setofcims" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-structure-graph-test-setofcims-module"></span><h2>PyCTBN.tests.structure_graph.test_setofcims module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_setofcims" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims"> <dt id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.tests.structure_graph.test_setofcims.</span></span><span class="sig-name descname"><span class="pre">TestSetOfCims</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.structure_graph.test_setofcims.</code><code class="sig-name descname">TestSetOfCims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.another_filtering_method"> <dt id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.another_filtering_method">
<span class="sig-name descname"><span class="pre">another_filtering_method</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">p_combs</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">mask</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parent_value</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.another_filtering_method" title="Permalink to this definition"></a></dt> <code class="sig-name descname">another_filtering_method</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">p_combs</span></em>, <em class="sig-param"><span class="n">mask</span></em>, <em class="sig-param"><span class="n">parent_value</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.another_filtering_method" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.aux_test_build_cims"> <dt id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.aux_test_build_cims">
<span class="sig-name descname"><span class="pre">aux_test_build_cims</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">p_values</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">node_states</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">p_combs</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.aux_test_build_cims" title="Permalink to this definition"></a></dt> <code class="sig-name descname">aux_test_build_cims</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span></em>, <em class="sig-param"><span class="n">p_values</span></em>, <em class="sig-param"><span class="n">node_states</span></em>, <em class="sig-param"><span class="n">p_combs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.aux_test_build_cims" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.aux_test_init"> <dt id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.aux_test_init">
<span class="sig-name descname"><span class="pre">aux_test_init</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">node_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parents_states_number</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">node_states_number</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">p_combs</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.aux_test_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">aux_test_init</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">node_id</span></em>, <em class="sig-param"><span class="n">parents_states_number</span></em>, <em class="sig-param"><span class="n">node_states_number</span></em>, <em class="sig-param"><span class="n">p_combs</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.aux_test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.build_p_comb_structure_for_a_node"> <dt id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.build_p_comb_structure_for_a_node">
<span class="sig-name descname"><span class="pre">build_p_comb_structure_for_a_node</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">parents_values</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.build_p_comb_structure_for_a_node" title="Permalink to this definition"></a></dt> <code class="sig-name descname">build_p_comb_structure_for_a_node</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">parents_values</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.build_p_comb_structure_for_a_node" title="Permalink to this definition"></a></dt>
<dd><p>Builds the combinatory structure that contains the combinations of all the values contained in parents_values.</p> <dd><p>Builds the combinatory structure that contains the combinations of all the values contained in parents_values.</p>
<dl class="simple"> <dl class="simple">
<dt>Parameters:</dt><dd><p>parents_values: the cardinalities of the nodes</p> <dt>Parameters:</dt><dd><p>parents_values: the cardinalities of the nodes</p>
@ -350,24 +365,24 @@
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.setUpClass"> <dt id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.setUpClass">
<em class="property"><span class="pre">classmethod</span> </em><span class="sig-name descname"><span class="pre">setUpClass</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.setUpClass" title="Permalink to this definition"></a></dt> <em class="property">classmethod </em><code class="sig-name descname">setUpClass</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.setUpClass" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up class fixture before running tests in the class.</p> <dd><p>Hook method for setting up class fixture before running tests in the class.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_build_cims"> <dt id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_build_cims">
<span class="sig-name descname"><span class="pre">test_build_cims</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_build_cims" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_cims</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_build_cims" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_filter_cims_with_mask"> <dt id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_filter_cims_with_mask">
<span class="sig-name descname"><span class="pre">test_filter_cims_with_mask</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_filter_cims_with_mask" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_filter_cims_with_mask</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_filter_cims_with_mask" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_init"> <dt id="PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_init">
<span class="sig-name descname"><span class="pre">test_init</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -376,53 +391,53 @@
<section id="module-PyCTBN.tests.structure_graph.test_structure"> <section id="module-PyCTBN.tests.structure_graph.test_structure">
<span id="pyctbn-tests-structure-graph-test-structure-module"></span><h2>PyCTBN.tests.structure_graph.test_structure module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_structure" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-structure-graph-test-structure-module"></span><h2>PyCTBN.tests.structure_graph.test_structure module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_structure" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_structure.TestStructure"> <dt id="PyCTBN.tests.structure_graph.test_structure.TestStructure">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.tests.structure_graph.test_structure.</span></span><span class="sig-name descname"><span class="pre">TestStructure</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.structure_graph.test_structure.</code><code class="sig-name descname">TestStructure</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_structure.TestStructure.setUpClass"> <dt id="PyCTBN.tests.structure_graph.test_structure.TestStructure.setUpClass">
<em class="property"><span class="pre">classmethod</span> </em><span class="sig-name descname"><span class="pre">setUpClass</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.setUpClass" title="Permalink to this definition"></a></dt> <em class="property">classmethod </em><code class="sig-name descname">setUpClass</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.setUpClass" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up class fixture before running tests in the class.</p> <dd><p>Hook method for setting up class fixture before running tests in the class.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_edges_operations"> <dt id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_edges_operations">
<span class="sig-name descname"><span class="pre">test_edges_operations</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_edges_operations" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_edges_operations</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_edges_operations" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_equality"> <dt id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_equality">
<span class="sig-name descname"><span class="pre">test_equality</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_equality" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_equality</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_equality" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_node_id"> <dt id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_node_id">
<span class="sig-name descname"><span class="pre">test_get_node_id</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_node_id" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_get_node_id</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_node_id" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_node_indx"> <dt id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_node_indx">
<span class="sig-name descname"><span class="pre">test_get_node_indx</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_node_indx" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_get_node_indx</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_node_indx" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_positional_node_indx"> <dt id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_positional_node_indx">
<span class="sig-name descname"><span class="pre">test_get_positional_node_indx</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_positional_node_indx" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_get_positional_node_indx</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_positional_node_indx" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_states_number"> <dt id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_states_number">
<span class="sig-name descname"><span class="pre">test_get_states_number</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_states_number" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_get_states_number</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_states_number" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_init"> <dt id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_init">
<span class="sig-name descname"><span class="pre">test_init</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_repr"> <dt id="PyCTBN.tests.structure_graph.test_structure.TestStructure.test_repr">
<span class="sig-name descname"><span class="pre">test_repr</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_repr" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_repr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_repr" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -431,22 +446,56 @@
<section id="module-PyCTBN.tests.structure_graph.test_trajectory"> <section id="module-PyCTBN.tests.structure_graph.test_trajectory">
<span id="pyctbn-tests-structure-graph-test-trajectory-module"></span><h2>PyCTBN.tests.structure_graph.test_trajectory module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_trajectory" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-structure-graph-test-trajectory-module"></span><h2>PyCTBN.tests.structure_graph.test_trajectory module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_trajectory" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory"> <dt id="PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.tests.structure_graph.test_trajectory.</span></span><span class="sig-name descname"><span class="pre">TestTrajectory</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.structure_graph.test_trajectory.</code><code class="sig-name descname">TestTrajectory</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.setUpClass"> <dt id="PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.setUpClass">
<em class="property"><span class="pre">classmethod</span> </em><span class="sig-name descname"><span class="pre">setUpClass</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.setUpClass" title="Permalink to this definition"></a></dt> <em class="property">classmethod </em><code class="sig-name descname">setUpClass</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.setUpClass" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up class fixture before running tests in the class.</p> <dd><p>Hook method for setting up class fixture before running tests in the class.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.test_init"> <dt id="PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.test_init">
<span class="sig-name descname"><span class="pre">test_init</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.test_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
</section>
<section id="module-PyCTBN.tests.structure_graph.test_trajectorygenerator">
<span id="pyctbn-tests-structure-graph-test-trajectorygenerator-module"></span><h2>PyCTBN.tests.structure_graph.test_trajectorygenerator module<a class="headerlink" href="#module-PyCTBN.tests.structure_graph.test_trajectorygenerator" title="Permalink to this headline"></a></h2>
<dl class="py class">
<dt id="PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator">
<em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.structure_graph.test_trajectorygenerator.</code><code class="sig-name descname">TestTrajectoryGenerator</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.setUpClass">
<em class="property">classmethod </em><code class="sig-name descname">setUpClass</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.setUpClass" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up class fixture before running tests in the class.</p>
</dd></dl>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_generated_trajectory">
<code class="sig-name descname">test_generated_trajectory</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_generated_trajectory" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_generated_trajectory_max_tr">
<code class="sig-name descname">test_generated_trajectory_max_tr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_generated_trajectory_max_tr" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_init">
<code class="sig-name descname">test_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_multi_trajectory">
<code class="sig-name descname">test_multi_trajectory</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_multi_trajectory" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</section> </section>
<section id="module-PyCTBN.tests.structure_graph"> <section id="module-PyCTBN.tests.structure_graph">
@ -482,9 +531,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -495,6 +541,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -124,27 +120,27 @@
<section id="module-PyCTBN.tests.utility.test_cache"> <section id="module-PyCTBN.tests.utility.test_cache">
<span id="pyctbn-tests-utility-test-cache-module"></span><h2>PyCTBN.tests.utility.test_cache module<a class="headerlink" href="#module-PyCTBN.tests.utility.test_cache" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-utility-test-cache-module"></span><h2>PyCTBN.tests.utility.test_cache module<a class="headerlink" href="#module-PyCTBN.tests.utility.test_cache" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_cache.TestCache"> <dt id="PyCTBN.tests.utility.test_cache.TestCache">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.tests.utility.test_cache.</span></span><span class="sig-name descname"><span class="pre">TestCache</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_cache.TestCache" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.utility.test_cache.</code><code class="sig-name descname">TestCache</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_cache.TestCache" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_cache.TestCache.test_clear"> <dt id="PyCTBN.tests.utility.test_cache.TestCache.test_clear">
<span class="sig-name descname"><span class="pre">test_clear</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_cache.TestCache.test_clear" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_cache.TestCache.test_clear" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_cache.TestCache.test_find"> <dt id="PyCTBN.tests.utility.test_cache.TestCache.test_find">
<span class="sig-name descname"><span class="pre">test_find</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_cache.TestCache.test_find" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_find</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_cache.TestCache.test_find" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_cache.TestCache.test_init"> <dt id="PyCTBN.tests.utility.test_cache.TestCache.test_init">
<span class="sig-name descname"><span class="pre">test_init</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_cache.TestCache.test_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_cache.TestCache.test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_cache.TestCache.test_put"> <dt id="PyCTBN.tests.utility.test_cache.TestCache.test_put">
<span class="sig-name descname"><span class="pre">test_put</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_cache.TestCache.test_put" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_put</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_cache.TestCache.test_put" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -153,108 +149,108 @@
<section id="module-PyCTBN.tests.utility.test_json_importer"> <section id="module-PyCTBN.tests.utility.test_json_importer">
<span id="pyctbn-tests-utility-test-json-importer-module"></span><h2>PyCTBN.tests.utility.test_json_importer module<a class="headerlink" href="#module-PyCTBN.tests.utility.test_json_importer" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-utility-test-json-importer-module"></span><h2>PyCTBN.tests.utility.test_json_importer module<a class="headerlink" href="#module-PyCTBN.tests.utility.test_json_importer" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.tests.utility.test_json_importer.</span></span><span class="sig-name descname"><span class="pre">TestJsonImporter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.utility.test_json_importer.</code><code class="sig-name descname">TestJsonImporter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.ordered"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.ordered">
<span class="sig-name descname"><span class="pre">ordered</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">obj</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.ordered" title="Permalink to this definition"></a></dt> <code class="sig-name descname">ordered</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.ordered" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.setUpClass"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.setUpClass">
<em class="property"><span class="pre">classmethod</span> </em><span class="sig-name descname"><span class="pre">setUpClass</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.setUpClass" title="Permalink to this definition"></a></dt> <em class="property">classmethod </em><code class="sig-name descname">setUpClass</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.setUpClass" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up class fixture before running tests in the class.</p> <dd><p>Hook method for setting up class fixture before running tests in the class.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_build_sorter"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_build_sorter">
<span class="sig-name descname"><span class="pre">test_build_sorter</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_build_sorter" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_build_sorter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_build_sorter" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_clear_concatenated_frame"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_clear_concatenated_frame">
<span class="sig-name descname"><span class="pre">test_clear_concatenated_frame</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_clear_concatenated_frame" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_clear_concatenated_frame</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_clear_concatenated_frame" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_clear_data_frame_list"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_clear_data_frame_list">
<span class="sig-name descname"><span class="pre">test_clear_data_frame_list</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_clear_data_frame_list" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_clear_data_frame_list</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_clear_data_frame_list" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_compute_row_delta_in_all_frames"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_compute_row_delta_in_all_frames">
<span class="sig-name descname"><span class="pre">test_compute_row_delta_in_all_frames</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_compute_row_delta_in_all_frames" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_compute_row_delta_in_all_frames</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_compute_row_delta_in_all_frames" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_compute_row_delta_in_all_frames_not_init_sorter"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_compute_row_delta_in_all_frames_not_init_sorter">
<span class="sig-name descname"><span class="pre">test_compute_row_delta_in_all_frames_not_init_sorter</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_compute_row_delta_in_all_frames_not_init_sorter" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_compute_row_delta_in_all_frames_not_init_sorter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_compute_row_delta_in_all_frames_not_init_sorter" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_compute_row_delta_single_samples_frame"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_compute_row_delta_single_samples_frame">
<span class="sig-name descname"><span class="pre">test_compute_row_delta_single_samples_frame</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_compute_row_delta_single_samples_frame" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_compute_row_delta_single_samples_frame</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_compute_row_delta_single_samples_frame" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_dataset_id"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_dataset_id">
<span class="sig-name descname"><span class="pre">test_dataset_id</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_dataset_id" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_dataset_id</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_dataset_id" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_file_path"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_file_path">
<span class="sig-name descname"><span class="pre">test_file_path</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_file_path" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_file_path</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_file_path" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_data"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_data">
<span class="sig-name descname"><span class="pre">test_import_data</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_data" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_import_data</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_data" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_sampled_cims"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_sampled_cims">
<span class="sig-name descname"><span class="pre">test_import_sampled_cims</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_sampled_cims" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_import_sampled_cims</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_sampled_cims" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_structure"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_structure">
<span class="sig-name descname"><span class="pre">test_import_structure</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_structure" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_import_structure</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_structure" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_variables"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_variables">
<span class="sig-name descname"><span class="pre">test_import_variables</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_variables" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_import_variables</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_variables" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_init"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_init">
<span class="sig-name descname"><span class="pre">test_init</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories">
<span class="sig-name descname"><span class="pre">test_normalize_trajectories</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_normalize_trajectories</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories_wrong_indx"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories_wrong_indx">
<span class="sig-name descname"><span class="pre">test_normalize_trajectories_wrong_indx</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories_wrong_indx" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_normalize_trajectories_wrong_indx</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories_wrong_indx" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories_wrong_key"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories_wrong_key">
<span class="sig-name descname"><span class="pre">test_normalize_trajectories_wrong_key</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories_wrong_key" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_normalize_trajectories_wrong_key</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories_wrong_key" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_read_json_file_found"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_read_json_file_found">
<span class="sig-name descname"><span class="pre">test_read_json_file_found</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_read_json_file_found" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_read_json_file_found</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_read_json_file_found" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_read_json_file_not_found"> <dt id="PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_read_json_file_not_found">
<span class="sig-name descname"><span class="pre">test_read_json_file_not_found</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_read_json_file_not_found" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_read_json_file_not_found</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_read_json_file_not_found" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -263,28 +259,28 @@
<section id="module-PyCTBN.tests.utility.test_sample_importer"> <section id="module-PyCTBN.tests.utility.test_sample_importer">
<span id="pyctbn-tests-utility-test-sample-importer-module"></span><h2>PyCTBN.tests.utility.test_sample_importer module<a class="headerlink" href="#module-PyCTBN.tests.utility.test_sample_importer" title="Permalink to this headline"></a></h2> <span id="pyctbn-tests-utility-test-sample-importer-module"></span><h2>PyCTBN.tests.utility.test_sample_importer module<a class="headerlink" href="#module-PyCTBN.tests.utility.test_sample_importer" title="Permalink to this headline"></a></h2>
<dl class="py class"> <dl class="py class">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_sample_importer.TestSampleImporter"> <dt id="PyCTBN.tests.utility.test_sample_importer.TestSampleImporter">
<em class="property"><span class="pre">class</span> </em><span class="sig-prename descclassname"><span class="pre">PyCTBN.tests.utility.test_sample_importer.</span></span><span class="sig-name descname"><span class="pre">TestSampleImporter</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">methodName</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'runTest'</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter" title="Permalink to this definition"></a></dt> <em class="property">class </em><code class="sig-prename descclassname">PyCTBN.tests.utility.test_sample_importer.</code><code class="sig-name descname">TestSampleImporter</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">methodName</span><span class="o">=</span><span class="default_value">'runTest'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter" title="Permalink to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p> <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.ordered"> <dt id="PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.ordered">
<span class="sig-name descname"><span class="pre">ordered</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">obj</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.ordered" title="Permalink to this definition"></a></dt> <code class="sig-name descname">ordered</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">obj</span></em><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.ordered" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.setUpClass"> <dt id="PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.setUpClass">
<em class="property"><span class="pre">classmethod</span> </em><span class="sig-name descname"><span class="pre">setUpClass</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; <span class="pre">None</span><a class="headerlink" href="#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.setUpClass" title="Permalink to this definition"></a></dt> <em class="property">classmethod </em><code class="sig-name descname">setUpClass</code><span class="sig-paren">(</span><span class="sig-paren">)</span> &#x2192; None<a class="headerlink" href="#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.setUpClass" title="Permalink to this definition"></a></dt>
<dd><p>Hook method for setting up class fixture before running tests in the class.</p> <dd><p>Hook method for setting up class fixture before running tests in the class.</p>
</dd></dl> </dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.test_init"> <dt id="PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.test_init">
<span class="sig-name descname"><span class="pre">test_init</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.test_init" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.test_init" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
<dl class="py method"> <dl class="py method">
<dt class="sig sig-object py" id="PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.test_order"> <dt id="PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.test_order">
<span class="sig-name descname"><span class="pre">test_order</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.test_order" title="Permalink to this definition"></a></dt> <code class="sig-name descname">test_order</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.test_order" title="Permalink to this definition"></a></dt>
<dd></dd></dl> <dd></dd></dl>
</dd></dl> </dd></dl>
@ -323,9 +319,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -336,6 +329,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

@ -4,7 +4,7 @@
* *
* Sphinx stylesheet -- basic theme. * Sphinx stylesheet -- basic theme.
* *
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details. * :license: BSD, see LICENSE for details.
* *
*/ */
@ -130,7 +130,7 @@ ul.search li a {
font-weight: bold; font-weight: bold;
} }
ul.search li p.context { ul.search li div.context {
color: #888; color: #888;
margin: 2px 0 0 30px; margin: 2px 0 0 30px;
text-align: left; text-align: left;
@ -277,25 +277,25 @@ p.rubric {
font-weight: bold; font-weight: bold;
} }
img.align-left, figure.align-left, .figure.align-left, object.align-left { img.align-left, .figure.align-left, object.align-left {
clear: left; clear: left;
float: left; float: left;
margin-right: 1em; margin-right: 1em;
} }
img.align-right, figure.align-right, .figure.align-right, object.align-right { img.align-right, .figure.align-right, object.align-right {
clear: right; clear: right;
float: right; float: right;
margin-left: 1em; margin-left: 1em;
} }
img.align-center, figure.align-center, .figure.align-center, object.align-center { img.align-center, .figure.align-center, object.align-center {
display: block; display: block;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
img.align-default, figure.align-default, .figure.align-default { img.align-default, .figure.align-default {
display: block; display: block;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
@ -319,8 +319,7 @@ img.align-default, figure.align-default, .figure.align-default {
/* -- sidebars -------------------------------------------------------------- */ /* -- sidebars -------------------------------------------------------------- */
div.sidebar, div.sidebar {
aside.sidebar {
margin: 0 0 0.5em 1em; margin: 0 0 0.5em 1em;
border: 1px solid #ddb; border: 1px solid #ddb;
padding: 7px; padding: 7px;
@ -378,14 +377,12 @@ div.body p.centered {
/* -- content of sidebars/topics/admonitions -------------------------------- */ /* -- content of sidebars/topics/admonitions -------------------------------- */
div.sidebar > :last-child, div.sidebar > :last-child,
aside.sidebar > :last-child,
div.topic > :last-child, div.topic > :last-child,
div.admonition > :last-child { div.admonition > :last-child {
margin-bottom: 0; margin-bottom: 0;
} }
div.sidebar::after, div.sidebar::after,
aside.sidebar::after,
div.topic::after, div.topic::after,
div.admonition::after, div.admonition::after,
blockquote::after { blockquote::after {
@ -458,22 +455,20 @@ td > :last-child {
/* -- figures --------------------------------------------------------------- */ /* -- figures --------------------------------------------------------------- */
div.figure, figure { div.figure {
margin: 0.5em; margin: 0.5em;
padding: 0.5em; padding: 0.5em;
} }
div.figure p.caption, figcaption { div.figure p.caption {
padding: 0.3em; padding: 0.3em;
} }
div.figure p.caption span.caption-number, div.figure p.caption span.caption-number {
figcaption span.caption-number {
font-style: italic; font-style: italic;
} }
div.figure p.caption span.caption-text, div.figure p.caption span.caption-text {
figcaption span.caption-text {
} }
/* -- field list styles ----------------------------------------------------- */ /* -- field list styles ----------------------------------------------------- */
@ -508,63 +503,6 @@ table.hlist td {
vertical-align: top; vertical-align: top;
} }
/* -- object description styles --------------------------------------------- */
.sig {
font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
}
.sig-name, code.descname {
background-color: transparent;
font-weight: bold;
}
.sig-name {
font-size: 1.1em;
}
code.descname {
font-size: 1.2em;
}
.sig-prename, code.descclassname {
background-color: transparent;
}
.optional {
font-size: 1.3em;
}
.sig-paren {
font-size: larger;
}
.sig-param.n {
font-style: italic;
}
/* C++ specific styling */
.sig-inline.c-texpr,
.sig-inline.cpp-texpr {
font-family: unset;
}
.sig.c .k, .sig.c .kt,
.sig.cpp .k, .sig.cpp .kt {
color: #0033B3;
}
.sig.c .m,
.sig.cpp .m {
color: #1750EB;
}
.sig.c .s, .sig.c .sc,
.sig.cpp .s, .sig.cpp .sc {
color: #067D17;
}
/* -- other body styles ----------------------------------------------------- */ /* -- other body styles ----------------------------------------------------- */
@ -691,6 +629,14 @@ dl.glossary dt {
font-size: 1.1em; font-size: 1.1em;
} }
.optional {
font-size: 1.3em;
}
.sig-paren {
font-size: larger;
}
.versionmodified { .versionmodified {
font-style: italic; font-style: italic;
} }
@ -821,10 +767,6 @@ table.highlighttable td.linenos,
span.linenos, span.linenos,
div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */ div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */
user-select: none; user-select: none;
-webkit-user-select: text; /* Safari fallback only */
-webkit-user-select: none; /* Chrome/Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+ */
} }
div.code-block-caption span.caption-number { div.code-block-caption span.caption-number {
@ -839,6 +781,16 @@ div.literal-block-wrapper {
margin: 1em 0; margin: 1em 0;
} }
code.descname {
background-color: transparent;
font-weight: bold;
font-size: 1.2em;
}
code.descclassname {
background-color: transparent;
}
code.xref, a code { code.xref, a code {
background-color: transparent; background-color: transparent;
font-weight: bold; font-weight: bold;

@ -4,7 +4,7 @@
* *
* Sphinx JavaScript utilities for all documentation. * Sphinx JavaScript utilities for all documentation.
* *
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details. * :license: BSD, see LICENSE for details.
* *
*/ */
@ -29,14 +29,9 @@ if (!window.console || !console.firebug) {
/** /**
* small helper function to urldecode strings * small helper function to urldecode strings
*
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL
*/ */
jQuery.urldecode = function(x) { jQuery.urldecode = function(x) {
if (!x) { return decodeURIComponent(x).replace(/\+/g, ' ');
return x
}
return decodeURIComponent(x.replace(/\+/g, ' '));
}; };
/** /**

@ -5,7 +5,7 @@
* This script contains the language-specific data used by searchtools.js, * This script contains the language-specific data used by searchtools.js,
* namely the list of stopwords, stemmer, scorer and splitter. * namely the list of stopwords, stemmer, scorer and splitter.
* *
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details. * :license: BSD, see LICENSE for details.
* *
*/ */
@ -13,8 +13,7 @@
var stopwords = ["a","and","are","as","at","be","but","by","for","if","in","into","is","it","near","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"]; var stopwords = ["a","and","are","as","at","be","but","by","for","if","in","into","is","it","near","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"];
/* Non-minified version is copied as a separate JS file, is available */ /* Non-minified version JS is _stemmer.js if file is provided */
/** /**
* Porter Stemmer * Porter Stemmer
*/ */
@ -200,6 +199,7 @@ var Stemmer = function() {
var splitChars = (function() { var splitChars = (function() {
var result = {}; var result = {};
var singles = [96, 180, 187, 191, 215, 247, 749, 885, 903, 907, 909, 930, 1014, 1648, var singles = [96, 180, 187, 191, 215, 247, 749, 885, 903, 907, 909, 930, 1014, 1648,

@ -1,7 +1,7 @@
pre { line-height: 125%; margin: 0; } pre { line-height: 125%; }
td.linenos pre { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; } td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; } span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; } td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc } .highlight .hll { background-color: #ffffcc }
.highlight { background: #ffffff; } .highlight { background: #ffffff; }

@ -4,7 +4,7 @@
* *
* Sphinx JavaScript utilities for the full-text search. * Sphinx JavaScript utilities for the full-text search.
* *
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. * :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details. * :license: BSD, see LICENSE for details.
* *
*/ */
@ -248,7 +248,7 @@ var Search = {
// results left, load the summary and display it // results left, load the summary and display it
if (results.length) { if (results.length) {
var item = results.pop(); var item = results.pop();
var listItem = $('<li></li>'); var listItem = $('<li style="display:none"></li>');
var requestUrl = ""; var requestUrl = "";
var linkUrl = ""; var linkUrl = "";
if (DOCUMENTATION_OPTIONS.BUILDER === 'dirhtml') { if (DOCUMENTATION_OPTIONS.BUILDER === 'dirhtml') {
@ -273,9 +273,9 @@ var Search = {
if (item[3]) { if (item[3]) {
listItem.append($('<span> (' + item[3] + ')</span>')); listItem.append($('<span> (' + item[3] + ')</span>'));
Search.output.append(listItem); Search.output.append(listItem);
setTimeout(function() { listItem.slideDown(5, function() {
displayNextItem(); displayNextItem();
}, 5); });
} else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) { } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
$.ajax({url: requestUrl, $.ajax({url: requestUrl,
dataType: "text", dataType: "text",
@ -285,16 +285,16 @@ var Search = {
listItem.append(Search.makeSearchSummary(data, searchterms, hlterms)); listItem.append(Search.makeSearchSummary(data, searchterms, hlterms));
} }
Search.output.append(listItem); Search.output.append(listItem);
setTimeout(function() { listItem.slideDown(5, function() {
displayNextItem(); displayNextItem();
}, 5); });
}}); }});
} else { } else {
// no source available, just display title // no source available, just display title
Search.output.append(listItem); Search.output.append(listItem);
setTimeout(function() { listItem.slideDown(5, function() {
displayNextItem(); displayNextItem();
}, 5); });
} }
} }
// search finished, update title and status message // search finished, update title and status message
@ -379,13 +379,6 @@ var Search = {
return results; return results;
}, },
/**
* See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions
*/
escapeRegExp : function(string) {
return string.replace(/[.*+\-?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
},
/** /**
* search for full-text terms in the index * search for full-text terms in the index
*/ */
@ -409,14 +402,13 @@ var Search = {
]; ];
// add support for partial matches // add support for partial matches
if (word.length > 2) { if (word.length > 2) {
var word_regex = this.escapeRegExp(word);
for (var w in terms) { for (var w in terms) {
if (w.match(word_regex) && !terms[word]) { if (w.match(word) && !terms[word]) {
_o.push({files: terms[w], score: Scorer.partialTerm}) _o.push({files: terms[w], score: Scorer.partialTerm})
} }
} }
for (var w in titleterms) { for (var w in titleterms) {
if (w.match(word_regex) && !titleterms[word]) { if (w.match(word) && !titleterms[word]) {
_o.push({files: titleterms[w], score: Scorer.partialTitle}) _o.push({files: titleterms[w], score: Scorer.partialTitle})
} }
} }
@ -509,7 +501,7 @@ var Search = {
var excerpt = ((start > 0) ? '...' : '') + var excerpt = ((start > 0) ? '...' : '') +
$.trim(text.substr(start, 240)) + $.trim(text.substr(start, 240)) +
((start + 240 - text.length) ? '...' : ''); ((start + 240 - text.length) ? '...' : '');
var rv = $('<p class="context"></p>').text(excerpt); var rv = $('<div class="context"></div>').text(excerpt);
$.each(hlwords, function() { $.each(hlwords, function() {
rv = rv.highlightText(this, 'highlighted'); rv = rv.highlightText(this, 'highlighted');
}); });

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -148,9 +144,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -161,6 +154,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

23
docs/example.html vendored

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -62,7 +58,7 @@
<p class="caption"><span class="caption-text">Contents:</span></p> <p><span class="caption-text">Contents:</span></p>
<ul> <ul>
<li class="toctree-l1"><a class="reference internal" href="PyCTBN.PyCTBN.html">PyCTBN.PyCTBN package</a><ul> <li class="toctree-l1"><a class="reference internal" href="PyCTBN.PyCTBN.html">PyCTBN.PyCTBN package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.html#subpackages">Subpackages</a></li> <li class="toctree-l2"><a class="reference internal" href="PyCTBN.PyCTBN.html#subpackages">Subpackages</a></li>
@ -116,14 +112,9 @@
<div role="main" class=""> <div role="main" class="">
<div id="content" class="hfeed entry-container hentry"> <div id="content" class="hfeed entry-container hentry">
<div class="section" id="module-example"> <section id="example-module">
<span id="example-module"></span><h1>example module<a class="headerlink" href="#module-example" title="Permalink to this headline"></a></h1> <h1>example module<a class="headerlink" href="#example-module" title="Permalink to this headline"></a></h1>
<dl class="py function"> </section>
<dt class="sig sig-object py" id="example.main">
<span class="sig-prename descclassname"><span class="pre">example.</span></span><span class="sig-name descname"><span class="pre">main</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#example.main" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</div>
</div> </div>
@ -153,9 +144,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -166,6 +154,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

10
docs/examples.html vendored

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -272,9 +268,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -285,6 +278,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

209
docs/genindex.html vendored

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -148,7 +144,7 @@
</li> </li>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter">AbstractImporter (class in PyCTBN.PyCTBN.utility.abstract_importer)</a> <li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter">AbstractImporter (class in PyCTBN.PyCTBN.utility.abstract_importer)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.actual_cims">actual_cims (PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.actual_cims">actual_cims() (PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.add_edge">add_edge() (PyCTBN.PyCTBN.structure_graph.structure.Structure method)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.add_edge">add_edge() (PyCTBN.PyCTBN.structure_graph.structure.Structure method)</a>
</li> </li>
@ -232,11 +228,11 @@
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.cache.Cache">Cache (class in PyCTBN.PyCTBN.utility.cache)</a> <li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.cache.Cache">Cache (class in PyCTBN.PyCTBN.utility.cache)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.cim">cim (PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.cim">cim() (PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix property)</a>
</li> </li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.cim_equality_test">cim_equality_test() (PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior method)</a> <li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.cim_equality_test">cim_equality_test() (PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior method)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.cims">cims (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.cims">cims() (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.json_exporter.JsonExporter.cims_to_json">cims_to_json() (PyCTBN.PyCTBN.utility.json_exporter.JsonExporter method)</a> <li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.json_exporter.JsonExporter.cims_to_json">cims_to_json() (PyCTBN.PyCTBN.utility.json_exporter.JsonExporter method)</a>
</li> </li>
@ -254,7 +250,7 @@
</li> </li>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.complete_test">complete_test() (PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator method)</a> <li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.complete_test">complete_test() (PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator method)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.complete_trajectory">complete_trajectory (PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.complete_trajectory">complete_trajectory() (PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory property)</a>
</li> </li>
</ul></td> </ul></td>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
@ -272,7 +268,7 @@
</li> </li>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.compute_thumb_value">compute_thumb_value() (PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator method)</a> <li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.compute_thumb_value">compute_thumb_value() (PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator method)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.concatenated_samples">concatenated_samples (PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter property)</a> <li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.concatenated_samples">concatenated_samples() (PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix">ConditionalIntensityMatrix (class in PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix">ConditionalIntensityMatrix (class in PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix)</a>
</li> </li>
@ -300,7 +296,7 @@
</ul></li> </ul></li>
</ul></td> </ul></td>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.dyn_str">dyn_str (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.dyn_str">dyn_str() (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator property)</a>
</li> </li>
</ul></td> </ul></td>
</tr></table> </tr></table>
@ -308,31 +304,24 @@
<h2 id="E">E</h2> <h2 id="E">E</h2>
<table style="width: 100%" class="indextable genindextable"><tr> <table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.edges">edges (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.edges">edges() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a>
<ul> <ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.edges">(PyCTBN.PyCTBN.structure_graph.structure.Structure property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.edges">(PyCTBN.PyCTBN.structure_graph.structure.Structure property)</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.equality_of_cims_of_node">equality_of_cims_of_node() (PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior method)</a> <li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.equality_of_cims_of_node">equality_of_cims_of_node() (PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior method)</a>
</li>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.estimate_parents">estimate_parents() (PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator method)</a>
</li> </li>
</ul></td> </ul></td>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.estimate_parents">estimate_parents() (PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator method)</a>
</li>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.estimate_structure">estimate_structure() (PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator method)</a> <li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator.estimate_structure">estimate_structure() (PyCTBN.PyCTBN.estimators.structure_constraint_based_estimator.StructureConstraintBasedEstimator method)</a>
<ul> <ul>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.estimate_structure">(PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator method)</a> <li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.estimate_structure">(PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator method)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.estimate_structure">(PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator method)</a> <li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator.estimate_structure">(PyCTBN.PyCTBN.estimators.structure_score_based_estimator.StructureScoreBasedEstimator method)</a>
</li>
</ul></li>
<li>
example
<ul>
<li><a href="example.html#module-example">module</a>
</li> </li>
</ul></li> </ul></li>
</ul></td> </ul></td>
@ -351,7 +340,7 @@
</ul></li> </ul></li>
</ul></td> </ul></td>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.file_path">file_path (PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter property)</a> <li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.file_path">file_path() (PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.filter_cims_with_mask">filter_cims_with_mask() (PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims method)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.filter_cims_with_mask">filter_cims_with_mask() (PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims method)</a>
</li> </li>
@ -401,7 +390,7 @@
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_states_number">(PyCTBN.PyCTBN.structure_graph.structure.Structure method)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.get_states_number">(PyCTBN.PyCTBN.structure_graph.structure.Structure method)</a>
</li> </li>
</ul></li> </ul></li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.graph">graph (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.graph">graph() (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator property)</a>
</li> </li>
</ul></td> </ul></td>
</tr></table> </tr></table>
@ -413,7 +402,7 @@
</li> </li>
</ul></td> </ul></td>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.has_prior_net_structure">has_prior_net_structure (PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.has_prior_net_structure">has_prior_net_structure() (PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.optimizers.html#PyCTBN.PyCTBN.optimizers.hill_climbing_search.HillClimbing">HillClimbing (class in PyCTBN.PyCTBN.optimizers.hill_climbing_search)</a> <li><a href="PyCTBN.PyCTBN.optimizers.html#PyCTBN.PyCTBN.optimizers.hill_climbing_search.HillClimbing">HillClimbing (class in PyCTBN.PyCTBN.optimizers.hill_climbing_search)</a>
</li> </li>
@ -459,8 +448,6 @@
<h2 id="M">M</h2> <h2 id="M">M</h2>
<table style="width: 100%" class="indextable genindextable"><tr> <table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="example.html#example.main">main() (in module example)</a>
</li>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.marginal_likelihood_q">marginal_likelihood_q() (PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator method)</a> <li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.marginal_likelihood_q">marginal_likelihood_q() (PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator method)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.marginal_likelihood_theta">marginal_likelihood_theta() (PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator method)</a> <li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator.marginal_likelihood_theta">marginal_likelihood_theta() (PyCTBN.PyCTBN.estimators.fam_score_calculator.FamScoreCalculator method)</a>
@ -469,8 +456,6 @@
module module
<ul> <ul>
<li><a href="example.html#module-example">example</a>
</li>
<li><a href="PyCTBN.html#module-PyCTBN">PyCTBN</a> <li><a href="PyCTBN.html#module-PyCTBN">PyCTBN</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.html#module-PyCTBN.PyCTBN">PyCTBN.PyCTBN</a> <li><a href="PyCTBN.PyCTBN.html#module-PyCTBN.PyCTBN">PyCTBN.PyCTBN</a>
@ -534,14 +519,24 @@
<li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators">PyCTBN.tests.estimators</a> <li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators">PyCTBN.tests.estimators</a>
</li> </li>
<li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_parameters_estimator">PyCTBN.tests.estimators.test_parameters_estimator</a> <li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_parameters_estimator">PyCTBN.tests.estimators.test_parameters_estimator</a>
</li>
<li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_constraint_based_estimator">PyCTBN.tests.estimators.test_structure_constraint_based_estimator</a>
</li> </li>
<li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_estimator">PyCTBN.tests.estimators.test_structure_estimator</a> <li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_estimator">PyCTBN.tests.estimators.test_structure_estimator</a>
</li>
<li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_score_based_estimator">PyCTBN.tests.estimators.test_structure_score_based_estimator</a>
</li> </li>
<li><a href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers">PyCTBN.tests.optimizers</a> <li><a href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers">PyCTBN.tests.optimizers</a>
</li>
<li><a href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers.test_hill_climbing_search">PyCTBN.tests.optimizers.test_hill_climbing_search</a>
</li>
<li><a href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers.test_tabu_search">PyCTBN.tests.optimizers.test_tabu_search</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph">PyCTBN.tests.structure_graph</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph">PyCTBN.tests.structure_graph</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">PyCTBN.tests.structure_graph.test_cim</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">PyCTBN.tests.structure_graph.test_cim</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgenerator">PyCTBN.tests.structure_graph.test_networkgenerator</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgraph">PyCTBN.tests.structure_graph.test_networkgraph</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgraph">PyCTBN.tests.structure_graph.test_networkgraph</a>
</li> </li>
@ -552,6 +547,8 @@
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_structure">PyCTBN.tests.structure_graph.test_structure</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_structure">PyCTBN.tests.structure_graph.test_structure</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">PyCTBN.tests.structure_graph.test_trajectory</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">PyCTBN.tests.structure_graph.test_trajectory</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectorygenerator">PyCTBN.tests.structure_graph.test_trajectorygenerator</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#module-PyCTBN.tests.utility">PyCTBN.tests.utility</a> <li><a href="PyCTBN.tests.utility.html#module-PyCTBN.tests.utility">PyCTBN.tests.utility</a>
</li> </li>
@ -576,9 +573,9 @@
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph">NetworkGraph (class in PyCTBN.PyCTBN.structure_graph.network_graph)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph">NetworkGraph (class in PyCTBN.PyCTBN.structure_graph.network_graph)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes">nodes (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes">nodes() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_indexes">nodes_indexes (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_indexes">nodes_indexes() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a>
<ul> <ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_indexes">(PyCTBN.PyCTBN.structure_graph.structure.Structure property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_indexes">(PyCTBN.PyCTBN.structure_graph.structure.Structure property)</a>
@ -586,9 +583,9 @@
</ul></li> </ul></li>
</ul></td> </ul></td>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_labels">nodes_labels (PyCTBN.PyCTBN.structure_graph.structure.Structure property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_labels">nodes_labels() (PyCTBN.PyCTBN.structure_graph.structure.Structure property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_values">nodes_values (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.nodes_values">nodes_values() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a>
<ul> <ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_values">(PyCTBN.PyCTBN.structure_graph.structure.Structure property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.nodes_values">(PyCTBN.PyCTBN.structure_graph.structure.Structure property)</a>
@ -638,7 +635,7 @@
<h2 id="P">P</h2> <h2 id="P">P</h2>
<table style="width: 100%" class="indextable genindextable"><tr> <table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.p_combs">p_combs (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.p_combs">p_combs() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a>
<ul> <ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.p_combs">(PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims.p_combs">(PyCTBN.PyCTBN.structure_graph.set_of_cims.SetOfCims property)</a>
@ -802,8 +799,6 @@
<li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory_generator">module</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#module-PyCTBN.PyCTBN.structure_graph.trajectory_generator">module</a>
</li> </li>
</ul></li> </ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li> <li>
PyCTBN.PyCTBN.utility PyCTBN.PyCTBN.utility
@ -825,6 +820,8 @@
<li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_importer">module</a> <li><a href="PyCTBN.PyCTBN.utility.html#module-PyCTBN.PyCTBN.utility.abstract_importer">module</a>
</li> </li>
</ul></li> </ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li> <li>
PyCTBN.PyCTBN.utility.cache PyCTBN.PyCTBN.utility.cache
@ -872,6 +869,13 @@
<ul> <ul>
<li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_parameters_estimator">module</a> <li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_parameters_estimator">module</a>
</li>
</ul></li>
<li>
PyCTBN.tests.estimators.test_structure_constraint_based_estimator
<ul>
<li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_constraint_based_estimator">module</a>
</li> </li>
</ul></li> </ul></li>
<li> <li>
@ -879,6 +883,13 @@
<ul> <ul>
<li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_estimator">module</a> <li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_estimator">module</a>
</li>
</ul></li>
<li>
PyCTBN.tests.estimators.test_structure_score_based_estimator
<ul>
<li><a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_score_based_estimator">module</a>
</li> </li>
</ul></li> </ul></li>
<li> <li>
@ -886,6 +897,20 @@
<ul> <ul>
<li><a href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers">module</a> <li><a href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers">module</a>
</li>
</ul></li>
<li>
PyCTBN.tests.optimizers.test_hill_climbing_search
<ul>
<li><a href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers.test_hill_climbing_search">module</a>
</li>
</ul></li>
<li>
PyCTBN.tests.optimizers.test_tabu_search
<ul>
<li><a href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers.test_tabu_search">module</a>
</li> </li>
</ul></li> </ul></li>
<li> <li>
@ -900,6 +925,13 @@
<ul> <ul>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">module</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim">module</a>
</li>
</ul></li>
<li>
PyCTBN.tests.structure_graph.test_networkgenerator
<ul>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgenerator">module</a>
</li> </li>
</ul></li> </ul></li>
<li> <li>
@ -935,6 +967,13 @@
<ul> <ul>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">module</a> <li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory">module</a>
</li>
</ul></li>
<li>
PyCTBN.tests.structure_graph.test_trajectorygenerator
<ul>
<li><a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectorygenerator">module</a>
</li> </li>
</ul></li> </ul></li>
<li> <li>
@ -1004,7 +1043,15 @@
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.setUpClass">setUpClass() (PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior class method)</a> <li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior.setUpClass">setUpClass() (PyCTBN.tests.estimators.test_parameters_estimator.TestParametersEstimatior class method)</a>
<ul> <ul>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_constraint_based_estimator.TestStructureConstraintBasedEstimator.setUpClass">(PyCTBN.tests.estimators.test_structure_constraint_based_estimator.TestStructureConstraintBasedEstimator class method)</a>
</li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.setUpClass">(PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator class method)</a> <li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.setUpClass">(PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator class method)</a>
</li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_score_based_estimator.TestStructureScoreBasedEstimator.setUpClass">(PyCTBN.tests.estimators.test_structure_score_based_estimator.TestStructureScoreBasedEstimator class method)</a>
</li>
<li><a href="PyCTBN.tests.optimizers.html#PyCTBN.tests.optimizers.test_hill_climbing_search.TestHillClimbingSearch.setUpClass">(PyCTBN.tests.optimizers.test_hill_climbing_search.TestHillClimbingSearch class method)</a>
</li>
<li><a href="PyCTBN.tests.optimizers.html#PyCTBN.tests.optimizers.test_tabu_search.TestTabuSearch.setUpClass">(PyCTBN.tests.optimizers.test_tabu_search.TestTabuSearch class method)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.setUpClass">(PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix class method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix.setUpClass">(PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix class method)</a>
</li> </li>
@ -1017,6 +1064,8 @@
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure.setUpClass">(PyCTBN.tests.structure_graph.test_structure.TestStructure class method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure.setUpClass">(PyCTBN.tests.structure_graph.test_structure.TestStructure class method)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.setUpClass">(PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory class method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.setUpClass">(PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory class method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.setUpClass">(PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator class method)</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.setUpClass">(PyCTBN.tests.utility.test_json_importer.TestJsonImporter class method)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.setUpClass">(PyCTBN.tests.utility.test_json_importer.TestJsonImporter class method)</a>
</li> </li>
@ -1033,17 +1082,17 @@
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.size">size() (PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory method)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.size">size() (PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory method)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.sorter">sorter (PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter property)</a> <li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.sorter">sorter() (PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.spurious_edges">spurious_edges() (PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator method)</a> <li><a href="PyCTBN.PyCTBN.estimators.html#PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator.spurious_edges">spurious_edges() (PyCTBN.PyCTBN.estimators.structure_estimator.StructureEstimator method)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_residence_times">state_residence_times (PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_residence_times">state_residence_times() (PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_transition_matrix">state_transition_matrix (PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix.state_transition_matrix">state_transition_matrix() (PyCTBN.PyCTBN.structure_graph.conditional_intensity_matrix.ConditionalIntensityMatrix property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure">Structure (class in PyCTBN.PyCTBN.structure_graph.structure)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure">Structure (class in PyCTBN.PyCTBN.structure_graph.structure)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.structure">structure (PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.structure">structure() (PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath property)</a>
<ul> <ul>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.structure">(PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter property)</a> <li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.structure">(PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter property)</a>
@ -1132,8 +1181,16 @@
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_filter_cims_with_mask">test_filter_cims_with_mask() (PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims.test_filter_cims_with_mask">test_filter_cims_with_mask() (PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims method)</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_cache.TestCache.test_find">test_find() (PyCTBN.tests.utility.test_cache.TestCache method)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_cache.TestCache.test_find">test_find() (PyCTBN.tests.utility.test_cache.TestCache method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator.test_generate_cims">test_generate_cims() (PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator.test_generate_graph">test_generate_graph() (PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator method)</a>
</li> </li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_generate_possible_sub_sets_of_size">test_generate_possible_sub_sets_of_size() (PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator method)</a> <li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_generate_possible_sub_sets_of_size">test_generate_possible_sub_sets_of_size() (PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_generated_trajectory">test_generated_trajectory() (PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_generated_trajectory_max_tr">test_generated_trajectory_max_tr() (PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator method)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_node_id">test_get_node_id() (PyCTBN.tests.structure_graph.test_structure.TestStructure method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_get_node_id">test_get_node_id() (PyCTBN.tests.structure_graph.test_structure.TestStructure method)</a>
</li> </li>
@ -1161,8 +1218,6 @@
</li> </li>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_structure">test_import_structure() (PyCTBN.tests.utility.test_json_importer.TestJsonImporter method)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_structure">test_import_structure() (PyCTBN.tests.utility.test_json_importer.TestJsonImporter method)</a>
</li> </li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_variables">test_import_variables() (PyCTBN.tests.utility.test_json_importer.TestJsonImporter method)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_import_variables">test_import_variables() (PyCTBN.tests.utility.test_json_importer.TestJsonImporter method)</a>
</li> </li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_init">test_init() (PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator method)</a> <li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_init">test_init() (PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator method)</a>
@ -1179,6 +1234,8 @@
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_init">(PyCTBN.tests.structure_graph.test_structure.TestStructure method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure.test_init">(PyCTBN.tests.structure_graph.test_structure.TestStructure method)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.test_init">(PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory.test_init">(PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_init">(PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator method)</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_cache.TestCache.test_init">(PyCTBN.tests.utility.test_cache.TestCache method)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_cache.TestCache.test_init">(PyCTBN.tests.utility.test_cache.TestCache method)</a>
</li> </li>
@ -1187,9 +1244,13 @@
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.test_init">(PyCTBN.tests.utility.test_sample_importer.TestSampleImporter method)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_sample_importer.TestSampleImporter.test_init">(PyCTBN.tests.utility.test_sample_importer.TestSampleImporter method)</a>
</li> </li>
</ul></li> </ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_filled_dataframse">test_init_not_filled_dataframse() (PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_filled_dataframse">test_init_not_filled_dataframse() (PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath method)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_initialized_importer">test_init_not_initialized_importer() (PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath method)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath.test_init_not_initialized_importer">test_init_not_initialized_importer() (PyCTBN.tests.structure_graph.test_sample_path.TestSamplePath method)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator.test_multi_trajectory">test_multi_trajectory() (PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator method)</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories">test_normalize_trajectories() (PyCTBN.tests.utility.test_json_importer.TestJsonImporter method)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter.test_normalize_trajectories">test_normalize_trajectories() (PyCTBN.tests.utility.test_json_importer.TestJsonImporter method)</a>
</li> </li>
@ -1214,14 +1275,48 @@
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_save_plot_estimated_graph">test_save_plot_estimated_graph() (PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator method)</a> <li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_save_plot_estimated_graph">test_save_plot_estimated_graph() (PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator method)</a>
</li> </li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_save_results">test_save_results() (PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator method)</a> <li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_save_results">test_save_results() (PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator method)</a>
</li>
<li><a href="PyCTBN.tests.optimizers.html#PyCTBN.tests.optimizers.test_hill_climbing_search.TestHillClimbingSearch.test_structure">test_structure() (PyCTBN.tests.optimizers.test_hill_climbing_search.TestHillClimbingSearch method)</a>
<ul>
<li><a href="PyCTBN.tests.optimizers.html#PyCTBN.tests.optimizers.test_tabu_search.TestTabuSearch.test_structure">(PyCTBN.tests.optimizers.test_tabu_search.TestTabuSearch method)</a>
</li>
</ul></li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_constraint_based_estimator.TestStructureConstraintBasedEstimator.test_structure_1">test_structure_1() (PyCTBN.tests.estimators.test_structure_constraint_based_estimator.TestStructureConstraintBasedEstimator method)</a>
<ul>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_score_based_estimator.TestStructureScoreBasedEstimator.test_structure_1">(PyCTBN.tests.estimators.test_structure_score_based_estimator.TestStructureScoreBasedEstimator method)</a>
</li>
</ul></li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_constraint_based_estimator.TestStructureConstraintBasedEstimator.test_structure_2">test_structure_2() (PyCTBN.tests.estimators.test_structure_constraint_based_estimator.TestStructureConstraintBasedEstimator method)</a>
<ul>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_score_based_estimator.TestStructureScoreBasedEstimator.test_structure_2">(PyCTBN.tests.estimators.test_structure_score_based_estimator.TestStructureScoreBasedEstimator method)</a>
</li>
</ul></li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_constraint_based_estimator.TestStructureConstraintBasedEstimator.test_structure_3">test_structure_3() (PyCTBN.tests.estimators.test_structure_constraint_based_estimator.TestStructureConstraintBasedEstimator method)</a>
<ul>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_score_based_estimator.TestStructureScoreBasedEstimator.test_structure_3">(PyCTBN.tests.estimators.test_structure_score_based_estimator.TestStructureScoreBasedEstimator method)</a>
</li>
<li><a href="PyCTBN.tests.optimizers.html#PyCTBN.tests.optimizers.test_hill_climbing_search.TestHillClimbingSearch.test_structure_3">(PyCTBN.tests.optimizers.test_hill_climbing_search.TestHillClimbingSearch method)</a>
</li>
<li><a href="PyCTBN.tests.optimizers.html#PyCTBN.tests.optimizers.test_tabu_search.TestTabuSearch.test_structure_3">(PyCTBN.tests.optimizers.test_tabu_search.TestTabuSearch method)</a>
</li>
</ul></li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_score_based_estimator.TestStructureScoreBasedEstimator.test_structure_monoprocesso">test_structure_monoprocesso() (PyCTBN.tests.estimators.test_structure_score_based_estimator.TestStructureScoreBasedEstimator method)</a>
</li> </li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_time">test_time() (PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator method)</a> <li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator.test_time">test_time() (PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator method)</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_cache.TestCache">TestCache (class in PyCTBN.tests.utility.test_cache)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_cache.TestCache">TestCache (class in PyCTBN.tests.utility.test_cache)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix">TestConditionalIntensityMatrix (class in PyCTBN.tests.structure_graph.test_cim)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_cim.TestConditionalIntensityMatrix">TestConditionalIntensityMatrix (class in PyCTBN.tests.structure_graph.test_cim)</a>
</li>
<li><a href="PyCTBN.tests.optimizers.html#PyCTBN.tests.optimizers.test_hill_climbing_search.TestHillClimbingSearch">TestHillClimbingSearch (class in PyCTBN.tests.optimizers.test_hill_climbing_search)</a>
</li> </li>
<li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter">TestJsonImporter (class in PyCTBN.tests.utility.test_json_importer)</a> <li><a href="PyCTBN.tests.utility.html#PyCTBN.tests.utility.test_json_importer.TestJsonImporter">TestJsonImporter (class in PyCTBN.tests.utility.test_json_importer)</a>
</li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgenerator.TestNetworkGenerator">TestNetworkGenerator (class in PyCTBN.tests.structure_graph.test_networkgenerator)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph">TestNetworkGraph (class in PyCTBN.tests.structure_graph.test_networkgraph)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_networkgraph.TestNetworkGraph">TestNetworkGraph (class in PyCTBN.tests.structure_graph.test_networkgraph)</a>
</li> </li>
@ -1234,32 +1329,40 @@
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims">TestSetOfCims (class in PyCTBN.tests.structure_graph.test_setofcims)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_setofcims.TestSetOfCims">TestSetOfCims (class in PyCTBN.tests.structure_graph.test_setofcims)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure">TestStructure (class in PyCTBN.tests.structure_graph.test_structure)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_structure.TestStructure">TestStructure (class in PyCTBN.tests.structure_graph.test_structure)</a>
</li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_constraint_based_estimator.TestStructureConstraintBasedEstimator">TestStructureConstraintBasedEstimator (class in PyCTBN.tests.estimators.test_structure_constraint_based_estimator)</a>
</li> </li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator">TestStructureEstimator (class in PyCTBN.tests.estimators.test_structure_estimator)</a> <li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_estimator.TestStructureEstimator">TestStructureEstimator (class in PyCTBN.tests.estimators.test_structure_estimator)</a>
</li>
<li><a href="PyCTBN.tests.estimators.html#PyCTBN.tests.estimators.test_structure_score_based_estimator.TestStructureScoreBasedEstimator">TestStructureScoreBasedEstimator (class in PyCTBN.tests.estimators.test_structure_score_based_estimator)</a>
</li>
<li><a href="PyCTBN.tests.optimizers.html#PyCTBN.tests.optimizers.test_tabu_search.TestTabuSearch">TestTabuSearch (class in PyCTBN.tests.optimizers.test_tabu_search)</a>
</li> </li>
<li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory">TestTrajectory (class in PyCTBN.tests.structure_graph.test_trajectory)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectory.TestTrajectory">TestTrajectory (class in PyCTBN.tests.structure_graph.test_trajectory)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_filtering">time_filtering (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a> <li><a href="PyCTBN.tests.structure_graph.html#PyCTBN.tests.structure_graph.test_trajectorygenerator.TestTrajectoryGenerator">TestTrajectoryGenerator (class in PyCTBN.tests.structure_graph.test_trajectorygenerator)</a>
</li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_filtering">time_filtering() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_scalar_indexing_strucure">time_scalar_indexing_strucure (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.time_scalar_indexing_strucure">time_scalar_indexing_strucure() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.times">times (PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.times">times() (PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.total_variables_count">total_variables_count (PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.total_variables_count">total_variables_count() (PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.total_variables_number">total_variables_number (PyCTBN.PyCTBN.structure_graph.structure.Structure property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.structure.Structure.total_variables_number">total_variables_number() (PyCTBN.PyCTBN.structure_graph.structure.Structure property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.trajectories">trajectories (PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath.trajectories">trajectories() (PyCTBN.PyCTBN.structure_graph.sample_path.SamplePath property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory">Trajectory (class in PyCTBN.PyCTBN.structure_graph.trajectory)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory">Trajectory (class in PyCTBN.PyCTBN.structure_graph.trajectory)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.trajectory">trajectory (PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory.trajectory">trajectory() (PyCTBN.PyCTBN.structure_graph.trajectory.Trajectory property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator">TrajectoryGenerator (class in PyCTBN.PyCTBN.structure_graph.trajectory_generator)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.trajectory_generator.TrajectoryGenerator">TrajectoryGenerator (class in PyCTBN.PyCTBN.structure_graph.trajectory_generator)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_filtering">transition_filtering (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_filtering">transition_filtering() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a>
</li> </li>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_scalar_indexing_structure">transition_scalar_indexing_structure (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph.transition_scalar_indexing_structure">transition_scalar_indexing_structure() (PyCTBN.PyCTBN.structure_graph.network_graph.NetworkGraph property)</a>
</li> </li>
</ul></td> </ul></td>
</tr></table> </tr></table>
@ -1273,7 +1376,7 @@
</li> </li>
</ul></td> </ul></td>
<td style="width: 33%; vertical-align: top;"><ul> <td style="width: 33%; vertical-align: top;"><ul>
<li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.variables">variables (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator property)</a> <li><a href="PyCTBN.PyCTBN.structure_graph.html#PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator.variables">variables() (PyCTBN.PyCTBN.structure_graph.network_generator.NetworkGenerator property)</a>
<ul> <ul>
<li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.variables">(PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter property)</a> <li><a href="PyCTBN.PyCTBN.utility.html#PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter.variables">(PyCTBN.PyCTBN.utility.abstract_importer.AbstractImporter property)</a>
@ -1319,9 +1422,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -1332,6 +1432,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

10
docs/index.html vendored

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -226,9 +222,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -239,6 +232,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

10
docs/modules.html vendored

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -174,9 +170,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -187,6 +180,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

Binary file not shown.

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -123,20 +119,11 @@
<h1>Python Module Index</h1> <h1>Python Module Index</h1>
<div class="modindex-jumpbox"> <div class="modindex-jumpbox">
<a href="#cap-e"><strong>e</strong></a> |
<a href="#cap-p"><strong>p</strong></a> <a href="#cap-p"><strong>p</strong></a>
</div> </div>
<table class="indextable modindextable"> <table class="indextable modindextable">
<tr class="pcap"><td></td><td>&#160;</td><td></td></tr> <tr class="pcap"><td></td><td>&#160;</td><td></td></tr>
<tr class="cap" id="cap-e"><td></td><td>
<strong>e</strong></td><td></td></tr>
<tr>
<td></td>
<td>
<a href="example.html#module-example"><code class="xref">example</code></a></td><td>
<em></em></td></tr>
<tr class="pcap"><td></td><td>&#160;</td><td></td></tr>
<tr class="cap" id="cap-p"><td></td><td> <tr class="cap" id="cap-p"><td></td><td>
<strong>p</strong></td><td></td></tr> <strong>p</strong></td><td></td></tr>
<tr> <tr>
@ -300,16 +287,36 @@
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
<a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_parameters_estimator"><code class="xref">PyCTBN.tests.estimators.test_parameters_estimator</code></a></td><td> <a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_parameters_estimator"><code class="xref">PyCTBN.tests.estimators.test_parameters_estimator</code></a></td><td>
<em></em></td></tr> <em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_constraint_based_estimator"><code class="xref">PyCTBN.tests.estimators.test_structure_constraint_based_estimator</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1"> <tr class="cg-1">
<td></td> <td></td>
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
<a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_estimator"><code class="xref">PyCTBN.tests.estimators.test_structure_estimator</code></a></td><td> <a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_estimator"><code class="xref">PyCTBN.tests.estimators.test_structure_estimator</code></a></td><td>
<em></em></td></tr> <em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="PyCTBN.tests.estimators.html#module-PyCTBN.tests.estimators.test_structure_score_based_estimator"><code class="xref">PyCTBN.tests.estimators.test_structure_score_based_estimator</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1"> <tr class="cg-1">
<td></td> <td></td>
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
<a href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers"><code class="xref">PyCTBN.tests.optimizers</code></a></td><td> <a href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers"><code class="xref">PyCTBN.tests.optimizers</code></a></td><td>
<em></em></td></tr> <em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers.test_hill_climbing_search"><code class="xref">PyCTBN.tests.optimizers.test_hill_climbing_search</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="PyCTBN.tests.optimizers.html#module-PyCTBN.tests.optimizers.test_tabu_search"><code class="xref">PyCTBN.tests.optimizers.test_tabu_search</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1"> <tr class="cg-1">
<td></td> <td></td>
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
@ -320,6 +327,11 @@
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
<a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim"><code class="xref">PyCTBN.tests.structure_graph.test_cim</code></a></td><td> <a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_cim"><code class="xref">PyCTBN.tests.structure_graph.test_cim</code></a></td><td>
<em></em></td></tr> <em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_networkgenerator"><code class="xref">PyCTBN.tests.structure_graph.test_networkgenerator</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1"> <tr class="cg-1">
<td></td> <td></td>
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
@ -345,6 +357,11 @@
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
<a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory"><code class="xref">PyCTBN.tests.structure_graph.test_trajectory</code></a></td><td> <a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectory"><code class="xref">PyCTBN.tests.structure_graph.test_trajectory</code></a></td><td>
<em></em></td></tr> <em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="PyCTBN.tests.structure_graph.html#module-PyCTBN.tests.structure_graph.test_trajectorygenerator"><code class="xref">PyCTBN.tests.structure_graph.test_trajectorygenerator</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1"> <tr class="cg-1">
<td></td> <td></td>
<td>&#160;&#160;&#160; <td>&#160;&#160;&#160;
@ -395,9 +412,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -408,6 +422,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

10
docs/search.html vendored

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -157,9 +153,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -170,6 +163,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>

File diff suppressed because one or more lines are too long

10
docs/setup.html vendored

@ -19,10 +19,6 @@
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" /> <link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/pdj.css" type="text/css" />
@ -148,9 +144,6 @@
FILE_SUFFIX:'.html', FILE_SUFFIX:'.html',
HAS_SOURCE: true HAS_SOURCE: true
}; };
</script>
<script type="text/javascript" src="_static/documentation_options.js">
</script> </script>
<script type="text/javascript" src="_static/jquery.js"> <script type="text/javascript" src="_static/jquery.js">
@ -161,6 +154,9 @@
<script type="text/javascript" src="_static/doctools.js"> <script type="text/javascript" src="_static/doctools.js">
</script> </script>
<script type="text/javascript" src="_static/language_data.js">
</script>