Sfoglia il codice sorgente

Fixed issues with docs

Randy Paredis 4 anni fa
parent
commit
5814ed696c
85 ha cambiato i file con 3685 aggiunte e 298 eliminazioni
  1. BIN
      docs/_build/doctrees/environment.pickle
  2. BIN
      docs/_build/doctrees/pypdevsbbl.domain.gpss.doctree
  3. BIN
      docs/_build/doctrees/pypdevsbbl.domain.industry.doctree
  4. BIN
      docs/_build/doctrees/pypdevsbbl.extra.rngstreams.distributions.doctree
  5. BIN
      docs/_build/doctrees/pypdevsbbl.generic.collectors.doctree
  6. BIN
      docs/_build/doctrees/pypdevsbbl.generic.generators.doctree
  7. BIN
      docs/_build/doctrees/pypdevsbbl.generic.io.doctree
  8. BIN
      docs/_build/doctrees/pypdevsbbl.generic.math.doctree
  9. BIN
      docs/_build/doctrees/pypdevsbbl.generic.queues.doctree
  10. BIN
      docs/_build/doctrees/pypdevsbbl.generic.routing.doctree
  11. BIN
      docs/_build/doctrees/pypdevsbbl.generic.transformers.doctree
  12. BIN
      docs/_build/doctrees/test.doctree
  13. BIN
      docs/_build/doctrees/test.extra.doctree
  14. BIN
      docs/_build/doctrees/test.extra.test_distributions.doctree
  15. BIN
      docs/_build/doctrees/test.extra.test_fileutils.doctree
  16. BIN
      docs/_build/doctrees/test.extra.test_heap.doctree
  17. BIN
      docs/_build/doctrees/test.extra.test_mathutils.doctree
  18. BIN
      docs/_build/doctrees/test.extra.test_packaging.doctree
  19. BIN
      docs/_build/doctrees/test.generic.doctree
  20. BIN
      docs/_build/doctrees/test.generic.test_collectors.doctree
  21. BIN
      docs/_build/doctrees/test.generic.test_generators.doctree
  22. BIN
      docs/_build/doctrees/test.generic.test_io.doctree
  23. BIN
      docs/_build/doctrees/test.generic.test_math.doctree
  24. BIN
      docs/_build/doctrees/test.generic.test_queues.doctree
  25. BIN
      docs/_build/doctrees/test.generic.test_routing.doctree
  26. BIN
      docs/_build/doctrees/test.generic.test_transformers.doctree
  27. 17 2
      docs/_build/html/_modules/index.html
  28. 9 9
      docs/_build/html/_modules/pypdevsbbl/domain/industry.html
  29. 1 1
      docs/_build/html/_modules/pypdevsbbl/extra.html
  30. 3 3
      docs/_build/html/_modules/pypdevsbbl/extra/heap.html
  31. 2 2
      docs/_build/html/_modules/pypdevsbbl/extra/mathutils.html
  32. 2 2
      docs/_build/html/_modules/pypdevsbbl/extra/packaging.html
  33. 6 6
      docs/_build/html/_modules/pypdevsbbl/extra/queues.html
  34. 3 3
      docs/_build/html/_modules/pypdevsbbl/extra/rngstreams.html
  35. 2 2
      docs/_build/html/_modules/pypdevsbbl/extra/spatial.html
  36. 16 16
      docs/_build/html/_modules/pypdevsbbl/generic/collectors.html
  37. 17 17
      docs/_build/html/_modules/pypdevsbbl/generic/generators.html
  38. 36 36
      docs/_build/html/_modules/pypdevsbbl/generic/io.html
  39. 14 14
      docs/_build/html/_modules/pypdevsbbl/generic/math.html
  40. 15 15
      docs/_build/html/_modules/pypdevsbbl/generic/queues.html
  41. 23 23
      docs/_build/html/_modules/pypdevsbbl/generic/routing.html
  42. 11 11
      docs/_build/html/_modules/pypdevsbbl/generic/transformers.html
  43. 6 6
      docs/_build/html/_modules/pypdevsbbl/tracers.html
  44. 2 2
      docs/_build/html/_modules/pypdevsbbl/tracers/FootprintTracer.html
  45. 4 4
      docs/_build/html/_modules/pypdevsbbl/tracers/PlotTracer.html
  46. 2 2
      docs/_build/html/_modules/pypdevsbbl/tracers/ProfileTracer.html
  47. 4 4
      docs/_build/html/_modules/pypdevsbbl/tracers/StatisticsTracer.html
  48. 6 1
      docs/_build/html/_static/pygments.css
  49. 715 29
      docs/_build/html/genindex.html
  50. BIN
      docs/_build/html/objects.inv
  51. 91 1
      docs/_build/html/py-modindex.html
  52. 838 2
      docs/_build/html/pypdevsbbl.domain.gpss.html
  53. 2 2
      docs/_build/html/pypdevsbbl.domain.industry.html
  54. 764 2
      docs/_build/html/pypdevsbbl.extra.rngstreams.distributions.html
  55. 4 4
      docs/_build/html/pypdevsbbl.generic.collectors.html
  56. 7 7
      docs/_build/html/pypdevsbbl.generic.generators.html
  57. 12 12
      docs/_build/html/pypdevsbbl.generic.io.html
  58. 6 6
      docs/_build/html/pypdevsbbl.generic.math.html
  59. 5 5
      docs/_build/html/pypdevsbbl.generic.queues.html
  60. 10 10
      docs/_build/html/pypdevsbbl.generic.routing.html
  61. 4 4
      docs/_build/html/pypdevsbbl.generic.transformers.html
  62. 1 1
      docs/_build/html/searchindex.js
  63. 2 2
      docs/_build/html/test.extra.html
  64. 166 2
      docs/_build/html/test.extra.test_distributions.html
  65. 37 2
      docs/_build/html/test.extra.test_fileutils.html
  66. 39 2
      docs/_build/html/test.extra.test_heap.html
  67. 24 2
      docs/_build/html/test.extra.test_mathutils.html
  68. 30 2
      docs/_build/html/test.extra.test_packaging.html
  69. 43 2
      docs/_build/html/test.generic.html
  70. 64 2
      docs/_build/html/test.generic.test_collectors.html
  71. 88 2
      docs/_build/html/test.generic.test_generators.html
  72. 139 2
      docs/_build/html/test.generic.test_io.html
  73. 48 2
      docs/_build/html/test.generic.test_math.html
  74. 109 2
      docs/_build/html/test.generic.test_queues.html
  75. 73 2
      docs/_build/html/test.generic.test_routing.html
  76. 43 2
      docs/_build/html/test.generic.test_transformers.html
  77. 23 2
      docs/_build/html/test.html
  78. 8 0
      src/dependencies/pythonpdevs/.idea/.gitignore
  79. 41 0
      src/dependencies/pythonpdevs/.idea/inspectionProfiles/Project_Default.xml
  80. 6 0
      src/dependencies/pythonpdevs/.idea/inspectionProfiles/profiles_settings.xml
  81. 4 0
      src/dependencies/pythonpdevs/.idea/misc.xml
  82. 8 0
      src/dependencies/pythonpdevs/.idea/modules.xml
  83. 21 0
      src/dependencies/pythonpdevs/.idea/pythonpdevs.iml
  84. 7 0
      src/dependencies/pythonpdevs/.idea/vcs.xml
  85. 2 2
      src/pypdevsbbl/extra/rngstreams/__init__.py

BIN
docs/_build/doctrees/environment.pickle


BIN
docs/_build/doctrees/pypdevsbbl.domain.gpss.doctree


BIN
docs/_build/doctrees/pypdevsbbl.domain.industry.doctree


BIN
docs/_build/doctrees/pypdevsbbl.extra.rngstreams.distributions.doctree


BIN
docs/_build/doctrees/pypdevsbbl.generic.collectors.doctree


BIN
docs/_build/doctrees/pypdevsbbl.generic.generators.doctree


BIN
docs/_build/doctrees/pypdevsbbl.generic.io.doctree


BIN
docs/_build/doctrees/pypdevsbbl.generic.math.doctree


BIN
docs/_build/doctrees/pypdevsbbl.generic.queues.doctree


BIN
docs/_build/doctrees/pypdevsbbl.generic.routing.doctree


BIN
docs/_build/doctrees/pypdevsbbl.generic.transformers.doctree


BIN
docs/_build/doctrees/test.doctree


BIN
docs/_build/doctrees/test.extra.doctree


BIN
docs/_build/doctrees/test.extra.test_distributions.doctree


BIN
docs/_build/doctrees/test.extra.test_fileutils.doctree


BIN
docs/_build/doctrees/test.extra.test_heap.doctree


BIN
docs/_build/doctrees/test.extra.test_mathutils.doctree


BIN
docs/_build/doctrees/test.extra.test_packaging.doctree


BIN
docs/_build/doctrees/test.generic.doctree


BIN
docs/_build/doctrees/test.generic.test_collectors.doctree


BIN
docs/_build/doctrees/test.generic.test_generators.doctree


BIN
docs/_build/doctrees/test.generic.test_io.doctree


BIN
docs/_build/doctrees/test.generic.test_math.doctree


BIN
docs/_build/doctrees/test.generic.test_queues.doctree


BIN
docs/_build/doctrees/test.generic.test_routing.doctree


BIN
docs/_build/doctrees/test.generic.test_transformers.doctree


+ 17 - 2
docs/_build/html/_modules/index.html

@@ -38,7 +38,8 @@
           <div class="body" role="main">
             
   <h1>All modules for which code is available</h1>
-<ul><li><a href="pypdevsbbl/domain/industry.html">pypdevsbbl.domain.industry</a></li>
+<ul><li><a href="pypdevsbbl/domain/gpss.html">pypdevsbbl.domain.gpss</a></li>
+<li><a href="pypdevsbbl/domain/industry.html">pypdevsbbl.domain.industry</a></li>
 <li><a href="pypdevsbbl/extra.html">pypdevsbbl.extra</a></li>
 <ul><li><a href="pypdevsbbl/extra/equations.html">pypdevsbbl.extra.equations</a></li>
 <li><a href="pypdevsbbl/extra/fileutils.html">pypdevsbbl.extra.fileutils</a></li>
@@ -47,7 +48,8 @@
 <li><a href="pypdevsbbl/extra/packaging.html">pypdevsbbl.extra.packaging</a></li>
 <li><a href="pypdevsbbl/extra/queues.html">pypdevsbbl.extra.queues</a></li>
 <li><a href="pypdevsbbl/extra/rngstreams.html">pypdevsbbl.extra.rngstreams</a></li>
-<li><a href="pypdevsbbl/extra/spatial.html">pypdevsbbl.extra.spatial</a></li>
+<ul><li><a href="pypdevsbbl/extra/rngstreams/distributions.html">pypdevsbbl.extra.rngstreams.distributions</a></li>
+</ul><li><a href="pypdevsbbl/extra/spatial.html">pypdevsbbl.extra.spatial</a></li>
 </ul><li><a href="pypdevsbbl/generic/collectors.html">pypdevsbbl.generic.collectors</a></li>
 <li><a href="pypdevsbbl/generic/generators.html">pypdevsbbl.generic.generators</a></li>
 <li><a href="pypdevsbbl/generic/io.html">pypdevsbbl.generic.io</a></li>
@@ -60,6 +62,19 @@
 <li><a href="pypdevsbbl/tracers/PlotTracer.html">pypdevsbbl.tracers.PlotTracer</a></li>
 <li><a href="pypdevsbbl/tracers/ProfileTracer.html">pypdevsbbl.tracers.ProfileTracer</a></li>
 <li><a href="pypdevsbbl/tracers/StatisticsTracer.html">pypdevsbbl.tracers.StatisticsTracer</a></li>
+</ul><li><a href="test/extra/test_distributions.html">test.extra.test_distributions</a></li>
+<li><a href="test/extra/test_fileutils.html">test.extra.test_fileutils</a></li>
+<li><a href="test/extra/test_heap.html">test.extra.test_heap</a></li>
+<li><a href="test/extra/test_mathutils.html">test.extra.test_mathutils</a></li>
+<li><a href="test/extra/test_packaging.html">test.extra.test_packaging</a></li>
+<li><a href="test/generic.html">test.generic</a></li>
+<ul><li><a href="test/generic/test_collectors.html">test.generic.test_collectors</a></li>
+<li><a href="test/generic/test_generators.html">test.generic.test_generators</a></li>
+<li><a href="test/generic/test_io.html">test.generic.test_io</a></li>
+<li><a href="test/generic/test_math.html">test.generic.test_math</a></li>
+<li><a href="test/generic/test_queues.html">test.generic.test_queues</a></li>
+<li><a href="test/generic/test_routing.html">test.generic.test_routing</a></li>
+<li><a href="test/generic/test_transformers.html">test.generic.test_transformers</a></li>
 </ul></ul>
 
           </div>

File diff suppressed because it is too large
+ 9 - 9
docs/_build/html/_modules/pypdevsbbl/domain/industry.html


+ 1 - 1
docs/_build/html/_modules/pypdevsbbl/extra.html

@@ -64,7 +64,7 @@
 <span class="sd">blocks and a set of inverse cumulative distribution functions that can</span>
 <span class="sd">be used in the :class:`pypdevsbbl.generic.generators.RandomNumberGenerator`.</span>
 <span class="sd">&quot;&quot;&quot;</span>
-<span class="kn">from</span> <span class="nn">pypdevs.DEVS</span> <span class="k">import</span> <span class="n">CoupledDEVS</span>
+<span class="kn">from</span> <span class="nn">pypdevs.DEVS</span> <span class="kn">import</span> <span class="n">CoupledDEVS</span>
 
 <div class="viewcode-block" id="toDot"><a class="viewcode-back" href="../../pypdevsbbl.extra.html#pypdevsbbl.extra.toDot">[docs]</a><span class="k">def</span> <span class="nf">toDot</span><span class="p">(</span><span class="n">model</span><span class="p">:</span> <span class="n">CoupledDEVS</span><span class="p">,</span> <span class="n">filename</span><span class="p">:</span> <span class="nb">str</span><span class="p">):</span>
     <span class="sd">&quot;&quot;&quot;Simple function for creating a Graphviz file for a Coupled DEVS.</span>

+ 3 - 3
docs/_build/html/_modules/pypdevsbbl/extra/heap.html

@@ -95,14 +95,14 @@
 <span class="sd">    Args:</span>
 <span class="sd">        comparator (def):   The comparison function. Defaults to :meth:`MAX_HEAP`.</span>
 <span class="sd">    &quot;&quot;&quot;</span>
-    <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">comparator</span> <span class="o">=</span> <span class="n">MAX_HEAP</span><span class="p">):</span>
+    <span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">comparator</span> <span class="o">=</span> <span class="n">MAX_HEAP</span><span class="p">):</span>
         <span class="bp">self</span><span class="o">.</span><span class="n">data</span> <span class="o">=</span> <span class="p">[]</span>
         <span class="bp">self</span><span class="o">.</span><span class="n">comparator</span> <span class="o">=</span> <span class="n">comparator</span>
 
-    <span class="k">def</span> <span class="nf">__repr__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
+    <span class="k">def</span> <span class="fm">__repr__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
         <span class="k">return</span> <span class="nb">repr</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">data</span><span class="p">)</span>
 
-    <span class="k">def</span> <span class="nf">__len__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
+    <span class="k">def</span> <span class="fm">__len__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
         <span class="sd">&quot;&quot;&quot;Gets the heap size.&quot;&quot;&quot;</span>
         <span class="k">return</span> <span class="nb">len</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">data</span><span class="p">)</span>
 

File diff suppressed because it is too large
+ 2 - 2
docs/_build/html/_modules/pypdevsbbl/extra/mathutils.html


File diff suppressed because it is too large
+ 2 - 2
docs/_build/html/_modules/pypdevsbbl/extra/packaging.html


File diff suppressed because it is too large
+ 6 - 6
docs/_build/html/_modules/pypdevsbbl/extra/queues.html


+ 3 - 3
docs/_build/html/_modules/pypdevsbbl/extra/rngstreams.html

@@ -78,10 +78,10 @@
 <span class="sd">&quot;&quot;&quot;</span>
 
 <span class="kn">import</span> <span class="nn">sys</span><span class="o">,</span> <span class="nn">random</span>
-<span class="kn">from</span> <span class="nn">ctypes</span> <span class="k">import</span> <span class="o">*</span>
-<span class="kn">from</span> <span class="nn">pypdevsbbl.extra.fileutils</span> <span class="k">import</span> <span class="o">*</span>
+<span class="kn">from</span> <span class="nn">ctypes</span> <span class="kn">import</span> <span class="o">*</span>
+<span class="kn">from</span> <span class="nn">pypdevsbbl.extra.fileutils</span> <span class="kn">import</span> <span class="o">*</span>
 <span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
-<span class="kn">from</span> <span class="nn">enum</span> <span class="k">import</span> <span class="n">Enum</span>
+<span class="kn">from</span> <span class="nn">enum</span> <span class="kn">import</span> <span class="n">Enum</span>
 
 <div class="viewcode-block" id="Generators"><a class="viewcode-back" href="../../../pypdevsbbl.extra.rngstreams.html#pypdevsbbl.extra.rngstreams.Generators">[docs]</a><span class="k">class</span> <span class="nc">Generators</span><span class="p">(</span><span class="n">Enum</span><span class="p">):</span>
     <span class="sd">&quot;&quot;&quot;Enum helper class to determine the RNG to use.&quot;&quot;&quot;</span>

File diff suppressed because it is too large
+ 2 - 2
docs/_build/html/_modules/pypdevsbbl/extra/spatial.html


File diff suppressed because it is too large
+ 16 - 16
docs/_build/html/_modules/pypdevsbbl/generic/collectors.html


File diff suppressed because it is too large
+ 17 - 17
docs/_build/html/_modules/pypdevsbbl/generic/generators.html


File diff suppressed because it is too large
+ 36 - 36
docs/_build/html/_modules/pypdevsbbl/generic/io.html


File diff suppressed because it is too large
+ 14 - 14
docs/_build/html/_modules/pypdevsbbl/generic/math.html


File diff suppressed because it is too large
+ 15 - 15
docs/_build/html/_modules/pypdevsbbl/generic/queues.html


File diff suppressed because it is too large
+ 23 - 23
docs/_build/html/_modules/pypdevsbbl/generic/routing.html


File diff suppressed because it is too large
+ 11 - 11
docs/_build/html/_modules/pypdevsbbl/generic/transformers.html


+ 6 - 6
docs/_build/html/_modules/pypdevsbbl/tracers.html

@@ -65,7 +65,7 @@
 <span class="sd">production-based models.</span>
 <span class="sd">&quot;&quot;&quot;</span>
 
-<span class="kn">from</span> <span class="nn">pypdevs.util</span> <span class="k">import</span> <span class="n">runTraceAtController</span><span class="p">,</span> <span class="n">toStr</span>
+<span class="kn">from</span> <span class="nn">pypdevs.util</span> <span class="kn">import</span> <span class="n">runTraceAtController</span><span class="p">,</span> <span class="n">toStr</span>
 <span class="kn">import</span> <span class="nn">sys</span>
 
 <span class="c1"># Efficiency can be increased if this dict is cleared, but data can be lost</span>
@@ -133,7 +133,7 @@
 <span class="sd">                    When ``None``, all results will be written to the</span>
 <span class="sd">                    standard output.</span>
 <span class="sd">    &quot;&quot;&quot;</span>
-    <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">uid</span><span class="p">,</span> <span class="n">server</span><span class="p">,</span> <span class="n">filename</span><span class="p">):</span>
+    <span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">uid</span><span class="p">,</span> <span class="n">server</span><span class="p">,</span> <span class="n">filename</span><span class="p">):</span>
         <span class="c1"># Contents of the function here are taken from the already existing tracers</span>
         <span class="k">if</span> <span class="n">server</span><span class="o">.</span><span class="n">getName</span><span class="p">()</span> <span class="o">==</span> <span class="mi">0</span><span class="p">:</span>
             <span class="bp">self</span><span class="o">.</span><span class="n">filename</span> <span class="o">=</span> <span class="n">filename</span>
@@ -219,10 +219,10 @@
 
 
 <span class="c1"># Make these available from the `tracers` subpackge root.</span>
-<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers.FootprintTracer</span> <span class="k">import</span> <span class="n">FootprintTracer</span>
-<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers.PlotTracer</span> <span class="k">import</span> <span class="n">PlotTracer</span>
-<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers.StatisticsTracer</span> <span class="k">import</span> <span class="n">StatisticsTracer</span>
-<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers.ProfileTracer</span> <span class="k">import</span> <span class="n">ProfileTracer</span>
+<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers.FootprintTracer</span> <span class="kn">import</span> <span class="n">FootprintTracer</span>
+<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers.PlotTracer</span> <span class="kn">import</span> <span class="n">PlotTracer</span>
+<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers.StatisticsTracer</span> <span class="kn">import</span> <span class="n">StatisticsTracer</span>
+<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers.ProfileTracer</span> <span class="kn">import</span> <span class="n">ProfileTracer</span>
 </pre></div>
 
           </div>

File diff suppressed because it is too large
+ 2 - 2
docs/_build/html/_modules/pypdevsbbl/tracers/FootprintTracer.html


+ 4 - 4
docs/_build/html/_modules/pypdevsbbl/tracers/PlotTracer.html

@@ -57,13 +57,13 @@
 
 <span class="sd">&quot;&quot;&quot;This file contains the tracer that can provide plots of the :mod:`pypdevsbbl.generic.collectors`.&quot;&quot;&quot;</span>
 
-<span class="kn">from</span> <span class="nn">pypdevsbbl.generic.collectors</span> <span class="k">import</span> <span class="n">BaseCollector</span>
-<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers</span> <span class="k">import</span> <span class="n">BaseTracer</span>
+<span class="kn">from</span> <span class="nn">pypdevsbbl.generic.collectors</span> <span class="kn">import</span> <span class="n">BaseCollector</span>
+<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers</span> <span class="kn">import</span> <span class="n">BaseTracer</span>
 
 <span class="kn">import</span> <span class="nn">matplotlib.pyplot</span> <span class="k">as</span> <span class="nn">plt</span>
 <span class="kn">import</span> <span class="nn">inspect</span>
 
-
+<span class="c1"># TODO: make use of matplotlib&#39;s animate module?</span>
 <div class="viewcode-block" id="PlotTracer"><a class="viewcode-back" href="../../../pypdevsbbl.tracers.PlotTracer.html#pypdevsbbl.tracers.PlotTracer.PlotTracer">[docs]</a><span class="k">class</span> <span class="nc">PlotTracer</span><span class="p">(</span><span class="n">BaseTracer</span><span class="p">):</span>
     <span class="sd">&quot;&quot;&quot;Plots data from the provided collectors.</span>
 
@@ -92,7 +92,7 @@
 <span class="sd">                            argument to pass to the plot function. What this is</span>
 <span class="sd">                            for each collector is described in their docs.</span>
 <span class="sd">    &quot;&quot;&quot;</span>
-    <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">uid</span><span class="p">,</span> <span class="n">server</span><span class="p">,</span> <span class="o">*</span><span class="n">collectors</span><span class="p">):</span>
+    <span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">uid</span><span class="p">,</span> <span class="n">server</span><span class="p">,</span> <span class="o">*</span><span class="n">collectors</span><span class="p">):</span>
         <span class="nb">super</span><span class="p">(</span><span class="n">PlotTracer</span><span class="p">,</span> <span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span class="n">uid</span><span class="p">,</span> <span class="n">server</span><span class="p">,</span> <span class="kc">None</span><span class="p">)</span>
 
         <span class="bp">self</span><span class="o">.</span><span class="n">blocks</span> <span class="o">=</span> <span class="p">{}</span>

+ 2 - 2
docs/_build/html/_modules/pypdevsbbl/tracers/ProfileTracer.html

@@ -61,7 +61,7 @@
 <span class="sd">the messages traveling through a model during simulation.</span>
 <span class="sd">&quot;&quot;&quot;</span>
 
-<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers</span> <span class="k">import</span> <span class="n">BaseTracer</span>
+<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers</span> <span class="kn">import</span> <span class="n">BaseTracer</span>
 
 <div class="viewcode-block" id="ProfileTracer"><a class="viewcode-back" href="../../../pypdevsbbl.tracers.ProfileTracer.html#pypdevsbbl.tracers.ProfileTracer.ProfileTracer">[docs]</a><span class="k">class</span> <span class="nc">ProfileTracer</span><span class="p">(</span><span class="n">BaseTracer</span><span class="p">):</span>
     <span class="sd">&quot;&quot;&quot;Traces all the coming and going of messages and transitions.</span>
@@ -80,7 +80,7 @@
 <span class="sd">        filename (str):     The name of the file to write the results to. When</span>
 <span class="sd">                            ``None``, the console output will be used instead.</span>
 <span class="sd">    &quot;&quot;&quot;</span>
-    <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">uid</span><span class="p">,</span> <span class="n">server</span><span class="p">,</span> <span class="n">filename</span><span class="p">):</span>
+    <span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">uid</span><span class="p">,</span> <span class="n">server</span><span class="p">,</span> <span class="n">filename</span><span class="p">):</span>
         <span class="nb">super</span><span class="p">()</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span class="n">uid</span><span class="p">,</span> <span class="n">server</span><span class="p">,</span> <span class="n">filename</span><span class="p">)</span>
         <span class="bp">self</span><span class="o">.</span><span class="n">connections</span> <span class="o">=</span> <span class="p">{}</span>
         <span class="bp">self</span><span class="o">.</span><span class="n">internal</span> <span class="o">=</span> <span class="p">{}</span>

+ 4 - 4
docs/_build/html/_modules/pypdevsbbl/tracers/StatisticsTracer.html

@@ -57,11 +57,11 @@
 
 <span class="sd">&quot;&quot;&quot;This file contains the tracer for statistical data.&quot;&quot;&quot;</span>
 
-<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers</span> <span class="k">import</span> <span class="n">BaseTracer</span>
+<span class="kn">from</span> <span class="nn">pypdevsbbl.tracers</span> <span class="kn">import</span> <span class="n">BaseTracer</span>
 <span class="kn">import</span> <span class="nn">numpy</span> <span class="k">as</span> <span class="nn">np</span>
 
-<span class="kn">from</span> <span class="nn">pypdevs.DEVS</span> <span class="k">import</span> <span class="n">CoupledDEVS</span>
-<span class="kn">from</span> <span class="nn">pypdevs.minimal</span> <span class="k">import</span> <span class="n">CoupledDEVS</span> <span class="k">as</span> <span class="n">minCoupledDEVS</span>
+<span class="kn">from</span> <span class="nn">pypdevs.DEVS</span> <span class="kn">import</span> <span class="n">CoupledDEVS</span>
+<span class="kn">from</span> <span class="nn">pypdevs.minimal</span> <span class="kn">import</span> <span class="n">CoupledDEVS</span> <span class="k">as</span> <span class="n">minCoupledDEVS</span>
 
 
 <div class="viewcode-block" id="StatisticsTracer"><a class="viewcode-back" href="../../../pypdevsbbl.tracers.StatisticsTracer.html#pypdevsbbl.tracers.StatisticsTracer.StatisticsTracer">[docs]</a><span class="k">class</span> <span class="nc">StatisticsTracer</span><span class="p">(</span><span class="n">BaseTracer</span><span class="p">):</span>
@@ -106,7 +106,7 @@
 <span class="sd">                            that leave the system. These may be ports of a</span>
 <span class="sd">                            coupled DEVS.</span>
 <span class="sd">    &quot;&quot;&quot;</span>
-    <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">uid</span><span class="p">,</span> <span class="n">server</span><span class="p">,</span> <span class="n">filename</span><span class="p">,</span> <span class="n">inports</span><span class="p">,</span> <span class="n">outports</span><span class="p">):</span>
+    <span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">uid</span><span class="p">,</span> <span class="n">server</span><span class="p">,</span> <span class="n">filename</span><span class="p">,</span> <span class="n">inports</span><span class="p">,</span> <span class="n">outports</span><span class="p">):</span>
         <span class="nb">super</span><span class="p">(</span><span class="n">StatisticsTracer</span><span class="p">,</span> <span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span class="n">uid</span><span class="p">,</span> <span class="n">server</span><span class="p">,</span> <span class="n">filename</span><span class="p">)</span>
         <span class="k">for</span> <span class="n">p</span> <span class="ow">in</span> <span class="n">inports</span><span class="p">:</span>
             <span class="k">if</span> <span class="ow">not</span> <span class="n">p</span><span class="o">.</span><span class="n">is_input</span><span class="p">:</span>

+ 6 - 1
docs/_build/html/_static/pygments.css

@@ -1,5 +1,10 @@
+pre { line-height: 125%; margin: 0; }
+td.linenos pre { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
+span.linenos { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
+td.linenos pre.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
+span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
 .highlight .hll { background-color: #ffffcc }
-.highlight  { background: #ffffff; }
+.highlight { background: #ffffff; }
 .highlight .c { color: #aaaaaa; font-style: italic } /* Comment */
 .highlight .err { color: #FF0000; background-color: #FFAAAA } /* Error */
 .highlight .k { color: #0000aa } /* Keyword */

File diff suppressed because it is too large
+ 715 - 29
docs/_build/html/genindex.html


BIN
docs/_build/html/objects.inv


+ 91 - 1
docs/_build/html/py-modindex.html

@@ -44,7 +44,8 @@
    <h1>Python Module Index</h1>
 
    <div class="modindex-jumpbox">
-   <a href="#cap-p"><strong>p</strong></a>
+   <a href="#cap-p"><strong>p</strong></a> | 
+   <a href="#cap-t"><strong>t</strong></a>
    </div>
 
    <table class="indextable modindextable">
@@ -62,6 +63,11 @@
        <td>&#160;&#160;&#160;
        <a href="pypdevsbbl.domain.html#module-pypdevsbbl.domain"><code class="xref">pypdevsbbl.domain</code></a></td><td>
        <em></em></td></tr>
+     <tr class="cg-1">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="pypdevsbbl.domain.gpss.html#module-pypdevsbbl.domain.gpss"><code class="xref">pypdevsbbl.domain.gpss</code></a></td><td>
+       <em></em></td></tr>
      <tr class="cg-1">
        <td></td>
        <td>&#160;&#160;&#160;
@@ -107,6 +113,11 @@
        <td>&#160;&#160;&#160;
        <a href="pypdevsbbl.extra.rngstreams.html#module-pypdevsbbl.extra.rngstreams"><code class="xref">pypdevsbbl.extra.rngstreams</code></a></td><td>
        <em></em></td></tr>
+     <tr class="cg-1">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="pypdevsbbl.extra.rngstreams.distributions.html#module-pypdevsbbl.extra.rngstreams.distributions"><code class="xref">pypdevsbbl.extra.rngstreams.distributions</code></a></td><td>
+       <em></em></td></tr>
      <tr class="cg-1">
        <td></td>
        <td>&#160;&#160;&#160;
@@ -177,6 +188,85 @@
        <td>&#160;&#160;&#160;
        <a href="pypdevsbbl.tracers.StatisticsTracer.html#module-pypdevsbbl.tracers.StatisticsTracer"><code class="xref">pypdevsbbl.tracers.StatisticsTracer</code></a></td><td>
        <em></em></td></tr>
+     <tr class="pcap"><td></td><td>&#160;</td><td></td></tr>
+     <tr class="cap" id="cap-t"><td></td><td>
+       <strong>t</strong></td><td></td></tr>
+     <tr>
+       <td><img src="_static/minus.png" class="toggler"
+              id="toggle-2" style="display: none" alt="-" /></td>
+       <td>
+       <a href="test.html#module-test"><code class="xref">test</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.extra.html#module-test.extra"><code class="xref">test.extra</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.extra.test_distributions.html#module-test.extra.test_distributions"><code class="xref">test.extra.test_distributions</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.extra.test_fileutils.html#module-test.extra.test_fileutils"><code class="xref">test.extra.test_fileutils</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.extra.test_heap.html#module-test.extra.test_heap"><code class="xref">test.extra.test_heap</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.extra.test_mathutils.html#module-test.extra.test_mathutils"><code class="xref">test.extra.test_mathutils</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.extra.test_packaging.html#module-test.extra.test_packaging"><code class="xref">test.extra.test_packaging</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.generic.html#module-test.generic"><code class="xref">test.generic</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.generic.test_collectors.html#module-test.generic.test_collectors"><code class="xref">test.generic.test_collectors</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.generic.test_generators.html#module-test.generic.test_generators"><code class="xref">test.generic.test_generators</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.generic.test_io.html#module-test.generic.test_io"><code class="xref">test.generic.test_io</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.generic.test_math.html#module-test.generic.test_math"><code class="xref">test.generic.test_math</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.generic.test_queues.html#module-test.generic.test_queues"><code class="xref">test.generic.test_queues</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.generic.test_routing.html#module-test.generic.test_routing"><code class="xref">test.generic.test_routing</code></a></td><td>
+       <em></em></td></tr>
+     <tr class="cg-2">
+       <td></td>
+       <td>&#160;&#160;&#160;
+       <a href="test.generic.test_transformers.html#module-test.generic.test_transformers"><code class="xref">test.generic.test_transformers</code></a></td><td>
+       <em></em></td></tr>
    </table>
 
 

File diff suppressed because it is too large
+ 838 - 2
docs/_build/html/pypdevsbbl.domain.gpss.html


+ 2 - 2
docs/_build/html/pypdevsbbl.domain.industry.html

@@ -61,7 +61,7 @@ speed for timing purposes. Internally, there is a
 <a class="reference internal" href="pypdevsbbl.generic.transformers.html#pypdevsbbl.generic.transformers.Transformer" title="pypdevsbbl.generic.transformers.Transformer"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.transformers.Transformer</span></code></a> that have been
 called <code class="docutils literal notranslate"><span class="pre">&lt;name&gt;-queue</span></code> and <code class="docutils literal notranslate"><span class="pre">&lt;name&gt;-transformer</span></code> respectively,
 where <code class="docutils literal notranslate"><span class="pre">&lt;name&gt;</span></code> indicates the current block’s name.</p>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/industry/conveyor-belt.svg" src="../paper/images/blocks/industry/conveyor-belt.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/conveyor-belt.svg" src="_images/conveyor-belt.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -104,7 +104,7 @@ beginning and start over again.</p>
 <p>When <code class="xref py py-attr docutils literal notranslate"><span class="pre">chained</span></code>, instead of returning to the beginning, we
 move to the next position where items can be picked up and start
 over again.</p>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/industry/transporter.svg" src="../paper/images/blocks/industry/transporter.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/transporter.svg" src="_images/transporter.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />

File diff suppressed because it is too large
+ 764 - 2
docs/_build/html/pypdevsbbl.extra.rngstreams.distributions.html


+ 4 - 4
docs/_build/html/pypdevsbbl.generic.collectors.html

@@ -116,7 +116,7 @@ of the passed items can be obtained. See their respective functions below.</p>
 <code class="docutils literal notranslate"><span class="pre">__lt__</span></code>, <code class="docutils literal notranslate"><span class="pre">__gt__</span></code>, <code class="docutils literal notranslate"><span class="pre">__add__</span></code>, <code class="docutils literal notranslate"><span class="pre">__pow__</span></code> and <code class="docutils literal notranslate"><span class="pre">__div__</span></code> operators
 available.</p>
 </div>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/collectors/collector.svg" src="../paper/images/blocks/collectors/collector.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/collector.svg" src="_images/collector.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -319,7 +319,7 @@ has a function that can obtain all boxplot- and histogram-data, called
 <li><a class="reference internal" href="pypdevsbbl.extra.mathutils.html#pypdevsbbl.extra.mathutils.histostep" title="pypdevsbbl.extra.mathutils.histostep"><code class="xref py py-meth docutils literal notranslate"><span class="pre">pypdevsbbl.extra.mathutils.histostep()</span></code></a></li>
 </ul>
 </div>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/collectors/estimate-collector.svg" src="../paper/images/blocks/collectors/estimate-collector.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/estimate-collector.svg" src="_images/estimate-collector.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -603,7 +603,7 @@ not numerical, or you require to know when certain data arrived, this
 collector is the one you need.</p>
 <p>For every item that arrives, it will add another record in a table,
 which is accessible as a dictionary (see the <a class="reference internal" href="#pypdevsbbl.generic.collectors.TableCollector.table" title="pypdevsbbl.generic.collectors.TableCollector.table"><code class="xref py py-meth docutils literal notranslate"><span class="pre">table()</span></code></a> method).</p>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/collectors/table-collector.svg" src="../paper/images/blocks/collectors/table-collector.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/table-collector.svg" src="_images/table-collector.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -677,7 +677,7 @@ Defaults to <code class="docutils literal notranslate"><span class="pre">None</s
 <em class="property">class </em><code class="descclassname">pypdevsbbl.generic.collectors.</code><code class="descname">Counter</code><span class="sig-paren">(</span><em>name: str</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/generic/collectors.html#Counter"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.generic.collectors.Counter" title="Permalink to this definition">¶</a></dt>
 <dd><p>Bases: <a class="reference internal" href="#pypdevsbbl.generic.collectors.BaseCollector" title="pypdevsbbl.generic.collectors.BaseCollector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.BaseCollector</span></code></a></p>
 <p>Counts the amount of arrived messages.</p>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/collectors/counter.svg" src="../paper/images/blocks/collectors/counter.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/counter.svg" src="_images/counter.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />

File diff suppressed because it is too large
+ 7 - 7
docs/_build/html/pypdevsbbl.generic.generators.html


File diff suppressed because it is too large
+ 12 - 12
docs/_build/html/pypdevsbbl.generic.io.html


+ 6 - 6
docs/_build/html/pypdevsbbl.generic.math.html

@@ -124,7 +124,7 @@ list, using a 0-based index.</li>
 <em class="property">class </em><code class="descclassname">pypdevsbbl.generic.math.</code><code class="descname">Adder</code><span class="sig-paren">(</span><em>name</em>, <em>n</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/generic/math.html#Adder"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.generic.math.Adder" title="Permalink to this definition">¶</a></dt>
 <dd><p>Bases: <a class="reference internal" href="#pypdevsbbl.generic.math._SP" title="pypdevsbbl.generic.math._SP"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.math._SP</span></code></a></p>
 <p>Computes the sum of a set of inputs.</p>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/math/adder.svg" src="../paper/images/blocks/math/adder.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/adder.svg" src="_images/adder.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -164,7 +164,7 @@ list, using a 0-based index.</li>
 <em class="property">class </em><code class="descclassname">pypdevsbbl.generic.math.</code><code class="descname">Multiplier</code><span class="sig-paren">(</span><em>name</em>, <em>n</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/generic/math.html#Multiplier"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.generic.math.Multiplier" title="Permalink to this definition">¶</a></dt>
 <dd><p>Bases: <a class="reference internal" href="#pypdevsbbl.generic.math._SP" title="pypdevsbbl.generic.math._SP"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.math._SP</span></code></a></p>
 <p>Computes the product of a set of inputs.</p>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/math/multiplier.svg" src="../paper/images/blocks/math/multiplier.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/multiplier.svg" src="_images/multiplier.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -225,7 +225,7 @@ attributes.</li>
 <p class="last"><a class="reference internal" href="pypdevsbbl.extra.equations.html#module-pypdevsbbl.extra.equations" title="pypdevsbbl.extra.equations"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.extra.equations</span></code></a> for a set of predefined equations which
 can be used as a function without too much thought.</p>
 </div>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/math/equation.svg" src="../paper/images/blocks/math/equation.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/equation.svg" src="_images/equation.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -332,7 +332,7 @@ and <code class="docutils literal notranslate"><span class="pre">b</span></code>
 <p>Differentiates the input over time.</p>
 <p>This block will make use of the backwards difference:</p>
 <p><span class="math notranslate nohighlight">\(\dfrac{d}{dt}f(t) = \lim_{\Delta t\to 0}\dfrac{f(t) - f(t - \Delta t)}{\Delta t}             = \dfrac{x_i - x_{i-1}}{\Delta t}\)</span></p>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/math/differentiator.svg" src="../paper/images/blocks/math/differentiator.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/differentiator.svg" src="_images/differentiator.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -370,7 +370,7 @@ and <code class="docutils literal notranslate"><span class="pre">b</span></code>
 <dd><p>Bases: <a class="reference internal" href="#pypdevsbbl.generic.math._DI" title="pypdevsbbl.generic.math._DI"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.math._DI</span></code></a></p>
 <p>Integrates the input over time.</p>
 <p><span class="math notranslate nohighlight">\(v(t) = {\displaystyle \int} f(\tau)\ d\tau = ic + {\displaystyle \int_0^t} f(\tau)\ d\tau =             v(t - \Delta t) + {\displaystyle \int_{t - \Delta t}^t} f(\tau)\ d\tau\)</span></p>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/math/integrator.svg" src="../paper/images/blocks/math/integrator.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/integrator.svg" src="_images/integrator.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -470,7 +470,7 @@ module provides an extensive implementation of a lot of distributions.</p>
 <li><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.extra.rngstreams.distributions</span></code></li>
 </ul>
 </div>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/math/random.svg" src="../paper/images/blocks/math/random.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/random.svg" src="_images/random.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />

+ 5 - 5
docs/_build/html/pypdevsbbl.generic.queues.html

@@ -66,7 +66,7 @@ renege the last item in the queue.</p>
 <p class="first admonition-title">Note</p>
 <p class="last">We will be using a maxheap in this queue.</p>
 </div>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/queue/simple-queue.svg" src="../paper/images/blocks/queue/simple-queue.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/simple-queue.svg" src="_images/simple-queue.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -206,7 +206,7 @@ that must be reneged last.</p>
 periodically request dequeues. It also keeps track of the current queue
 size, meaning that, whenever the queue is empty, it can pause until the
 next input.</p>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/queue/queue-tracker.svg" src="../paper/images/blocks/queue/queue-tracker.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/queue-tracker.svg" src="_images/queue-tracker.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -284,7 +284,7 @@ efficient to make use of the <a class="reference internal" href="#pypdevsbbl.gen
 <p class="first admonition-title">Note</p>
 <p class="last">We will be using a maxheap in this queue.</p>
 </div>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/queue/queue.svg" src="../paper/images/blocks/queue/queue.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/queue.svg" src="_images/queue.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -349,7 +349,7 @@ instance and will output a list of all these items.</li>
 </ul>
 </dd>
 </dl>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/queue/retain.svg" src="../paper/images/blocks/queue/retain.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/retain.svg" src="_images/retain.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />
@@ -421,7 +421,7 @@ block to ensure this happens.</p>
 <p class="last">When using pausing, it is pertinent that the items traveling
 through the block are hashable.</p>
 </div>
-<div align="center" class="align-center"><img alt="../paper/images/blocks/queue/advance.svg" src="../paper/images/blocks/queue/advance.svg" /></div>
+<div align="center" class="align-center"><img alt="_images/advance.svg" src="_images/advance.svg" /></div>
 <table class="docutils field-list" frame="void" rules="none">
 <col class="field-name" />
 <col class="field-body" />

File diff suppressed because it is too large
+ 10 - 10
docs/_build/html/pypdevsbbl.generic.routing.html


File diff suppressed because it is too large
+ 4 - 4
docs/_build/html/pypdevsbbl.generic.transformers.html


File diff suppressed because it is too large
+ 1 - 1
docs/_build/html/searchindex.js


+ 2 - 2
docs/_build/html/test.extra.html

@@ -46,8 +46,8 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-extra-package">
-<h1>test.extra package<a class="headerlink" href="#test-extra-package" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test.extra">
+<span id="test-extra-package"></span><h1>test.extra package<a class="headerlink" href="#module-test.extra" title="Permalink to this headline">¶</a></h1>
 <div class="section" id="submodules">
 <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
 <div class="toctree-wrapper compound">

File diff suppressed because it is too large
+ 166 - 2
docs/_build/html/test.extra.test_distributions.html


+ 37 - 2
docs/_build/html/test.extra.test_fileutils.html

@@ -47,8 +47,43 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-extra-test-fileutils-module">
-<h1>test.extra.test_fileutils module<a class="headerlink" href="#test-extra-test-fileutils-module" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test.extra.test_fileutils">
+<span id="test-extra-test-fileutils-module"></span><h1>test.extra.test_fileutils module<a class="headerlink" href="#module-test.extra.test_fileutils" title="Permalink to this headline">¶</a></h1>
+<p>Test that the file handling used in dynamic linking is accurate.</p>
+<div class="admonition seealso">
+<p class="first admonition-title">See also</p>
+<p class="last"><a class="reference internal" href="pypdevsbbl.extra.fileutils.html#module-pypdevsbbl.extra.fileutils" title="pypdevsbbl.extra.fileutils"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.extra.fileutils</span></code></a></p>
+</div>
+<dl class="class">
+<dt id="test.extra.test_fileutils.TestFileutils">
+<em class="property">class </em><code class="descclassname">test.extra.test_fileutils.</code><code class="descname">TestFileutils</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_fileutils.html#TestFileutils"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_fileutils.TestFileutils" 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="method">
+<dt id="test.extra.test_fileutils.TestFileutils.test_src">
+<code class="descname">test_src</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_fileutils.html#TestFileutils.test_src"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_fileutils.TestFileutils.test_src" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <code class="docutils literal notranslate"><span class="pre">src</span></code> folder location.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.extra.test_fileutils.TestFileutils.test_pypdevsbbl">
+<code class="descname">test_pypdevsbbl</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_fileutils.html#TestFileutils.test_pypdevsbbl"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_fileutils.TestFileutils.test_pypdevsbbl" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <code class="docutils literal notranslate"><span class="pre">pypdevsbbl</span></code> folder location.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.extra.test_fileutils.TestFileutils.test_dependencies">
+<code class="descname">test_dependencies</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_fileutils.html#TestFileutils.test_dependencies"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_fileutils.TestFileutils.test_dependencies" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <code class="docutils literal notranslate"><span class="pre">dependencies</span></code> folder location.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.extra.test_fileutils.TestFileutils.test_test">
+<code class="descname">test_test</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_fileutils.html#TestFileutils.test_test"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_fileutils.TestFileutils.test_test" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <code class="docutils literal notranslate"><span class="pre">test</span></code> folder location.</p>
+</dd></dl>
+
+</dd></dl>
+
 </div>
 
 

+ 39 - 2
docs/_build/html/test.extra.test_heap.html

@@ -47,8 +47,45 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-extra-test-heap-module">
-<h1>test.extra.test_heap module<a class="headerlink" href="#test-extra-test-heap-module" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test.extra.test_heap">
+<span id="test-extra-test-heap-module"></span><h1>test.extra.test_heap module<a class="headerlink" href="#module-test.extra.test_heap" title="Permalink to this headline">¶</a></h1>
+<p>Test that the heap implementation works as required.</p>
+<div class="admonition seealso">
+<p class="first admonition-title">See also</p>
+<p class="last"><a class="reference internal" href="pypdevsbbl.extra.heap.html#module-pypdevsbbl.extra.heap" title="pypdevsbbl.extra.heap"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.extra.heap</span></code></a></p>
+</div>
+<dl class="class">
+<dt id="test.extra.test_heap.TestHeap">
+<em class="property">class </em><code class="descclassname">test.extra.test_heap.</code><code class="descname">TestHeap</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_heap.html#TestHeap"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_heap.TestHeap" 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="method">
+<dt id="test.extra.test_heap.TestHeap.setUp">
+<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_heap.html#TestHeap.setUp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_heap.TestHeap.setUp" title="Permalink to this definition">¶</a></dt>
+<dd><p>Sets up all tests.</p>
+<p>Creates two heaps (a min-heap and a max-heap) and
+fills them with 10,000 random integers.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.extra.test_heap.TestHeap.test_insert">
+<code class="descname">test_insert</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_heap.html#TestHeap.test_insert"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_heap.TestHeap.test_insert" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the insertion in the heap.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.extra.test_heap.TestHeap.test_pop">
+<code class="descname">test_pop</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_heap.html#TestHeap.test_pop"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_heap.TestHeap.test_pop" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the pop of the max/min item in the heap.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.extra.test_heap.TestHeap.test_peek">
+<code class="descname">test_peek</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_heap.html#TestHeap.test_peek"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_heap.TestHeap.test_peek" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests peeking of items (and regaining their indexes) of the heap.</p>
+</dd></dl>
+
+</dd></dl>
+
 </div>
 
 

+ 24 - 2
docs/_build/html/test.extra.test_mathutils.html

@@ -47,8 +47,30 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-extra-test-mathutils-module">
-<h1>test.extra.test_mathutils module<a class="headerlink" href="#test-extra-test-mathutils-module" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test.extra.test_mathutils">
+<span id="test-extra-test-mathutils-module"></span><h1>test.extra.test_mathutils module<a class="headerlink" href="#module-test.extra.test_mathutils" title="Permalink to this headline">¶</a></h1>
+<p>Test that the external math functions are correct.</p>
+<div class="admonition seealso">
+<p class="first admonition-title">See also</p>
+<p class="last"><a class="reference internal" href="pypdevsbbl.extra.mathutils.html#module-pypdevsbbl.extra.mathutils" title="pypdevsbbl.extra.mathutils"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.extra.mathutils</span></code></a></p>
+</div>
+<div class="admonition warning">
+<p class="first admonition-title">Warning</p>
+<p class="last">The execution of these tests might take a bit.
+This is because all <a class="reference internal" href="pypdevsbbl.extra.mathutils.html#pypdevsbbl.extra.mathutils.BoxplotAlgorithm" title="pypdevsbbl.extra.mathutils.BoxplotAlgorithm"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.extra.mathutils.BoxplotAlgorithm</span></code></a>
+instances are tested at the same time.</p>
+</div>
+<dl class="class">
+<dt id="test.extra.test_mathutils.TestMathutils">
+<em class="property">class </em><code class="descclassname">test.extra.test_mathutils.</code><code class="descname">TestMathutils</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_mathutils.html#TestMathutils"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_mathutils.TestMathutils" 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="method">
+<dt id="test.extra.test_mathutils.TestMathutils.test_algorithms">
+<code class="descname">test_algorithms</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_mathutils.html#TestMathutils.test_algorithms"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_mathutils.TestMathutils.test_algorithms" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
 </div>
 
 

+ 30 - 2
docs/_build/html/test.extra.test_packaging.html

@@ -47,8 +47,36 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-extra-test-packaging-module">
-<h1>test.extra.test_packaging module<a class="headerlink" href="#test-extra-test-packaging-module" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test.extra.test_packaging">
+<span id="test-extra-test-packaging-module"></span><h1>test.extra.test_packaging module<a class="headerlink" href="#module-test.extra.test_packaging" title="Permalink to this headline">¶</a></h1>
+<p>Test the packaging types.</p>
+<div class="admonition seealso">
+<p class="first admonition-title">See also</p>
+<p class="last"><a class="reference internal" href="pypdevsbbl.extra.packaging.html#module-pypdevsbbl.extra.packaging" title="pypdevsbbl.extra.packaging"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.extra.packaging</span></code></a></p>
+</div>
+<dl class="class">
+<dt id="test.extra.test_packaging.TestPackaging">
+<em class="property">class </em><code class="descclassname">test.extra.test_packaging.</code><code class="descname">TestPackaging</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_packaging.html#TestPackaging"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_packaging.TestPackaging" 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="method">
+<dt id="test.extra.test_packaging.TestPackaging.setUp">
+<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_packaging.html#TestPackaging.setUp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_packaging.TestPackaging.setUp" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="test.extra.test_packaging.TestPackaging.test_package">
+<code class="descname">test_package</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_packaging.html#TestPackaging.test_package"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_packaging.TestPackaging.test_package" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.extra.packaging.html#pypdevsbbl.extra.packaging.Package" title="pypdevsbbl.extra.packaging.Package"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.extra.packaging.Package</span></code></a> class.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.extra.test_packaging.TestPackaging.test_sized_package">
+<code class="descname">test_sized_package</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_packaging.html#TestPackaging.test_sized_package"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_packaging.TestPackaging.test_sized_package" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.extra.packaging.html#pypdevsbbl.extra.packaging.SizedPackage" title="pypdevsbbl.extra.packaging.SizedPackage"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.extra.packaging.SizedPackage</span></code></a> class.</p>
+</dd></dl>
+
+</dd></dl>
+
 </div>
 
 

+ 43 - 2
docs/_build/html/test.generic.html

@@ -46,8 +46,49 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-generic-package">
-<h1>test.generic package<a class="headerlink" href="#test-generic-package" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test.generic">
+<span id="test-generic-package"></span><h1>test.generic package<a class="headerlink" href="#module-test.generic" title="Permalink to this headline">¶</a></h1>
+<p>Tests for the generic building blocks.</p>
+<dl class="class">
+<dt id="test.generic.Model">
+<em class="property">class </em><code class="descclassname">test.generic.</code><code class="descname">Model</code><span class="sig-paren">(</span><em>nodes</em>, <em>connections</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic.html#Model"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.Model" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevs.DEVS.CoupledDEVS</span></code></p>
+<p>Simple model constructor for the tests.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>nodes</strong> (<em>iter</em>) – An iterable with all submodels to add.</li>
+<li><strong>connections</strong> (<em>iter</em>) – An iterable with all port connections.
+Each entry is in the form of (from, to)</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="test.generic.simulate">
+<code class="descclassname">test.generic.</code><code class="descname">simulate</code><span class="sig-paren">(</span><em>model</em>, <em>tt=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic.html#simulate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.simulate" title="Permalink to this definition">¶</a></dt>
+<dd><p>Simulates the model.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>model</strong> (<em>MModel</em>) – The <a class="reference internal" href="#test.generic.Model" title="test.generic.Model"><code class="xref py py-class docutils literal notranslate"><span class="pre">Model</span></code></a> to simulate.</li>
+<li><strong>tt</strong> (<em>numeric</em>) – The termination time or <code class="docutils literal notranslate"><span class="pre">None</span></code> if
+no termination time needs to be set.
+Defaults to <code class="docutils literal notranslate"><span class="pre">None</span></code>.</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
 <div class="section" id="submodules">
 <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
 <div class="toctree-wrapper compound">

+ 64 - 2
docs/_build/html/test.generic.test_collectors.html

@@ -47,8 +47,70 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-generic-test-collectors-module">
-<h1>test.generic.test_collectors module<a class="headerlink" href="#test-generic-test-collectors-module" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test.generic.test_collectors">
+<span id="test-generic-test-collectors-module"></span><h1>test.generic.test_collectors module<a class="headerlink" href="#module-test.generic.test_collectors" title="Permalink to this headline">¶</a></h1>
+<p>Tests the Collector building blocks to prove validity w.r.t. these tests.</p>
+<p>Every test will run a PythonPDEVS simulation on a model. This model will
+afterwards be analyzed against the expected measures. The model has a
+general shape of</p>
+<p class="centered">
+<strong><code class="docutils literal notranslate"><span class="pre">Generator</span> <span class="pre">-&gt;</span> <span class="pre">Collector</span></code></strong></p><div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">The <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.TableCollector" title="pypdevsbbl.generic.collectors.TableCollector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.TableCollector</span></code></a> will not be tested
+in a standalone-way. Its correctness will be evaluated w.r.t. all other
+tests that are executed.</p>
+</div>
+<div class="admonition seealso">
+<p class="first admonition-title">See also</p>
+<p class="last"><a class="reference internal" href="pypdevsbbl.generic.collectors.html#module-pypdevsbbl.generic.collectors" title="pypdevsbbl.generic.collectors"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors</span></code></a></p>
+</div>
+<dl class="class">
+<dt id="test.generic.test_collectors.TestCollectors">
+<em class="property">class </em><code class="descclassname">test.generic.test_collectors.</code><code class="descname">TestCollectors</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors" 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="method">
+<dt id="test.generic.test_collectors.TestCollectors.setUp">
+<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.setUp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.setUp" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_collectors.TestCollectors.test_collector">
+<code class="descname">test_collector</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.test_collector"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.test_collector" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.Collector" title="pypdevsbbl.generic.collectors.Collector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.Collector</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_collectors.TestCollectors.test_collector_clear">
+<code class="descname">test_collector_clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.test_collector_clear"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.test_collector_clear" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the clearing of the <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.Collector" title="pypdevsbbl.generic.collectors.Collector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.Collector</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_collectors.TestCollectors.test_estimate">
+<code class="descname">test_estimate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.test_estimate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.test_estimate" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.EstimateCollector" title="pypdevsbbl.generic.collectors.EstimateCollector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.EstimateCollector</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_collectors.TestCollectors.test_estimate_clear">
+<code class="descname">test_estimate_clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.test_estimate_clear"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.test_estimate_clear" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the clearing of the <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.EstimateCollector" title="pypdevsbbl.generic.collectors.EstimateCollector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.EstimateCollector</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_collectors.TestCollectors.test_counter">
+<code class="descname">test_counter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.test_counter"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.test_counter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.EstimateCollector" title="pypdevsbbl.generic.collectors.EstimateCollector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.EstimateCollector</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_collectors.TestCollectors.test_counter_clear">
+<code class="descname">test_counter_clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_collectors.html#TestCollectors.test_counter_clear"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_collectors.TestCollectors.test_counter_clear" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the clearing of the <a class="reference internal" href="pypdevsbbl.generic.collectors.html#pypdevsbbl.generic.collectors.EstimateCollector" title="pypdevsbbl.generic.collectors.EstimateCollector"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.collectors.EstimateCollector</span></code></a>.</p>
+</dd></dl>
+
+</dd></dl>
+
 </div>
 
 

+ 88 - 2
docs/_build/html/test.generic.test_generators.html

@@ -47,8 +47,94 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-generic-test-generators-module">
-<h1>test.generic.test_generators module<a class="headerlink" href="#test-generic-test-generators-module" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test.generic.test_generators">
+<span id="test-generic-test-generators-module"></span><h1>test.generic.test_generators module<a class="headerlink" href="#module-test.generic.test_generators" title="Permalink to this headline">¶</a></h1>
+<p>Tests the Generator building blocks to prove validity w.r.t. these tests.</p>
+<p>Every test will run a PythonPDEVS simulation on a model. This model will
+afterwards be analyzed against the expected measures. The model has a
+general shape of</p>
+<p class="centered">
+<strong><code class="docutils literal notranslate"><span class="pre">Generator</span> <span class="pre">-&gt;</span> <span class="pre">TableCollector</span></code></strong></p><div class="admonition seealso">
+<p class="first admonition-title">See also</p>
+<p class="last"><a class="reference internal" href="pypdevsbbl.generic.generators.html#module-pypdevsbbl.generic.generators" title="pypdevsbbl.generic.generators"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.generic.generators</span></code></a></p>
+</div>
+<dl class="class">
+<dt id="test.generic.test_generators.GenModel">
+<em class="property">class </em><code class="descclassname">test.generic.test_generators.</code><code class="descname">GenModel</code><span class="sig-paren">(</span><em>gen=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_generators.html#GenModel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_generators.GenModel" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevs.DEVS.CoupledDEVS</span></code></p>
+<p>Simple model constructor for the tests.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>gen</strong> – The generator to use.</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="test.generic.test_generators.simulate">
+<code class="descclassname">test.generic.test_generators.</code><code class="descname">simulate</code><span class="sig-paren">(</span><em>gen</em>, <em>tt=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_generators.html#simulate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_generators.simulate" title="Permalink to this definition">¶</a></dt>
+<dd><p>Simulates the model.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>gen</strong> – The generator to use.</li>
+<li><strong>tt</strong> (<em>numeric</em>) – The termination time or <code class="docutils literal notranslate"><span class="pre">None</span></code> if
+no termination time needs to be set.
+Defaults to <code class="docutils literal notranslate"><span class="pre">None</span></code>.</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="class">
+<dt id="test.generic.test_generators.TestGenerators">
+<em class="property">class </em><code class="descclassname">test.generic.test_generators.</code><code class="descname">TestGenerators</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_generators.html#TestGenerators"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_generators.TestGenerators" 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="method">
+<dt id="test.generic.test_generators.TestGenerators.test_constant">
+<code class="descname">test_constant</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_generators.html#TestGenerators.test_constant"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_generators.TestGenerators.test_constant" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.generators.html#pypdevsbbl.generic.generators.ConstantGenerator" title="pypdevsbbl.generic.generators.ConstantGenerator"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.generators.ConstantGenerator</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_generators.TestGenerators.test_function">
+<code class="descname">test_function</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_generators.html#TestGenerators.test_function"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_generators.TestGenerators.test_function" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.generators.html#pypdevsbbl.generic.generators.FunctionGenerator" title="pypdevsbbl.generic.generators.FunctionGenerator"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.generators.FunctionGenerator</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_generators.TestGenerators.test_table">
+<code class="descname">test_table</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_generators.html#TestGenerators.test_table"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_generators.TestGenerators.test_table" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.generators.html#pypdevsbbl.generic.generators.TableGenerator" title="pypdevsbbl.generic.generators.TableGenerator"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.generators.TableGenerator</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_generators.TestGenerators.test_table_repeat">
+<code class="descname">test_table_repeat</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_generators.html#TestGenerators.test_table_repeat"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_generators.TestGenerators.test_table_repeat" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.generators.html#pypdevsbbl.generic.generators.TableGenerator" title="pypdevsbbl.generic.generators.TableGenerator"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.generators.TableGenerator</span></code></a> with a repeat.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_generators.TestGenerators.test_singlefire">
+<code class="descname">test_singlefire</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_generators.html#TestGenerators.test_singlefire"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_generators.TestGenerators.test_singlefire" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.generators.html#pypdevsbbl.generic.generators.SingleFire" title="pypdevsbbl.generic.generators.SingleFire"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.generators.SingleFire</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_generators.TestGenerators.test_bulk">
+<code class="descname">test_bulk</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_generators.html#TestGenerators.test_bulk"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_generators.TestGenerators.test_bulk" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.generators.html#pypdevsbbl.generic.generators.BulkGenerator" title="pypdevsbbl.generic.generators.BulkGenerator"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.generators.BulkGenerator</span></code></a>.</p>
+</dd></dl>
+
+</dd></dl>
+
 </div>
 
 

+ 139 - 2
docs/_build/html/test.generic.test_io.html

@@ -47,8 +47,145 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-generic-test-io-module">
-<h1>test.generic.test_io module<a class="headerlink" href="#test-generic-test-io-module" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test.generic.test_io">
+<span id="test-generic-test-io-module"></span><h1>test.generic.test_io module<a class="headerlink" href="#module-test.generic.test_io" title="Permalink to this headline">¶</a></h1>
+<p>Tests the Input/Output building blocks to prove validity w.r.t. these tests.</p>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p class="last">The <code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.io.Sound</span></code> block cannot be tested in a unit test,
+but it has been checked that the sounds will be played. To test this yourself,
+execute the <a class="reference internal" href="pypdevsbbl.generic.io.html#module-pypdevsbbl.generic.io" title="pypdevsbbl.generic.io"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.generic.io</span></code></a> module.</p>
+</div>
+<div class="admonition seealso">
+<p class="first admonition-title">See also</p>
+<p class="last"><a class="reference internal" href="pypdevsbbl.generic.io.html#module-pypdevsbbl.generic.io" title="pypdevsbbl.generic.io"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.generic.io</span></code></a></p>
+</div>
+<dl class="class">
+<dt id="test.generic.test_io.StubLogger">
+<em class="property">class </em><code class="descclassname">test.generic.test_io.</code><code class="descname">StubLogger</code><a class="reference internal" href="_modules/test/generic/test_io.html#StubLogger"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.StubLogger" 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>Helper class to <em>cheat</em> the usage of an actual logger.</p>
+<dl class="method">
+<dt id="test.generic.test_io.StubLogger.debug">
+<code class="descname">debug</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#StubLogger.debug"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.StubLogger.debug" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_io.StubLogger.info">
+<code class="descname">info</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#StubLogger.info"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.StubLogger.info" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_io.StubLogger.notice">
+<code class="descname">notice</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#StubLogger.notice"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.StubLogger.notice" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_io.StubLogger.warn">
+<code class="descname">warn</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#StubLogger.warn"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.StubLogger.warn" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_io.StubLogger.error">
+<code class="descname">error</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#StubLogger.error"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.StubLogger.error" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_io.StubLogger.critical">
+<code class="descname">critical</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#StubLogger.critical"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.StubLogger.critical" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_io.StubLogger.alert">
+<code class="descname">alert</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#StubLogger.alert"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.StubLogger.alert" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_io.StubLogger.emerg">
+<code class="descname">emerg</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#StubLogger.emerg"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.StubLogger.emerg" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="test.generic.test_io.IOModel">
+<em class="property">class </em><code class="descclassname">test.generic.test_io.</code><code class="descname">IOModel</code><span class="sig-paren">(</span><em>table</em>, <em>block</em>, <em>inp</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#IOModel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.IOModel" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevs.DEVS.CoupledDEVS</span></code></p>
+<p>Simple model constructor for the tests.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>table</strong> (<em>list</em>) – A list with all events that should happen.</li>
+<li><strong>block</strong> – The block to connect to the
+<a class="reference internal" href="pypdevsbbl.generic.generators.html#pypdevsbbl.generic.generators.TableGenerator" title="pypdevsbbl.generic.generators.TableGenerator"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.generators.TableGenerator</span></code></a>.</li>
+<li><strong>inp</strong> – The input port to connect the generator on.</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="test.generic.test_io.simulate">
+<code class="descclassname">test.generic.test_io.</code><code class="descname">simulate</code><span class="sig-paren">(</span><em>table</em>, <em>block</em>, <em>inp</em>, <em>tt=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#simulate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.simulate" title="Permalink to this definition">¶</a></dt>
+<dd><p>Simulates the model.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>table</strong> (<em>list</em>) – A list with all events that should happen.</li>
+<li><strong>block</strong> – The block to connect to the
+<a class="reference internal" href="pypdevsbbl.generic.generators.html#pypdevsbbl.generic.generators.TableGenerator" title="pypdevsbbl.generic.generators.TableGenerator"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.generators.TableGenerator</span></code></a>.</li>
+<li><strong>inp</strong> – The input port to connect the generator on.</li>
+<li><strong>tt</strong> (<em>numeric</em>) – The termination time or <code class="docutils literal notranslate"><span class="pre">None</span></code> if
+no termination time needs to be set.
+Defaults to <code class="docutils literal notranslate"><span class="pre">None</span></code>.</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="class">
+<dt id="test.generic.test_io.TestIO">
+<em class="property">class </em><code class="descclassname">test.generic.test_io.</code><code class="descname">TestIO</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#TestIO"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.TestIO" 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="method">
+<dt id="test.generic.test_io.TestIO.setUp">
+<code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#TestIO.setUp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.TestIO.setUp" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_io.TestIO.test_logger">
+<code class="descname">test_logger</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#TestIO.test_logger"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.TestIO.test_logger" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.io.html#pypdevsbbl.generic.io.Logger" title="pypdevsbbl.generic.io.Logger"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.io.Logger</span></code></a> and all its subclasses.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_io.TestIO.test_file_writer">
+<code class="descname">test_file_writer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#TestIO.test_file_writer"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.TestIO.test_file_writer" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.io.html#pypdevsbbl.generic.io.FileWriter" title="pypdevsbbl.generic.io.FileWriter"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.io.FileWriter</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_io.TestIO.test_file_reader">
+<code class="descname">test_file_reader</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#TestIO.test_file_reader"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.TestIO.test_file_reader" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.io.html#pypdevsbbl.generic.io.FileReader" title="pypdevsbbl.generic.io.FileReader"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.io.FileReader</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_io.TestIO.test_listener">
+<code class="descname">test_listener</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_io.html#TestIO.test_listener"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_io.TestIO.test_listener" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.io.html#pypdevsbbl.generic.io.Listener" title="pypdevsbbl.generic.io.Listener"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.io.Listener</span></code></a>.</p>
+</dd></dl>
+
+</dd></dl>
+
 </div>
 
 

+ 48 - 2
docs/_build/html/test.generic.test_math.html

@@ -47,8 +47,54 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-generic-test-math-module">
-<h1>test.generic.test_math module<a class="headerlink" href="#test-generic-test-math-module" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test.generic.test_math">
+<span id="test-generic-test-math-module"></span><h1>test.generic.test_math module<a class="headerlink" href="#module-test.generic.test_math" title="Permalink to this headline">¶</a></h1>
+<p>Tests the mathematical building blocks to prove validity w.r.t. these tests.</p>
+<div class="admonition seealso">
+<p class="first admonition-title">See also</p>
+<p class="last"><a class="reference internal" href="pypdevsbbl.generic.math.html#module-pypdevsbbl.generic.math" title="pypdevsbbl.generic.math"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.generic.math</span></code></a></p>
+</div>
+<dl class="class">
+<dt id="test.generic.test_math.TestMath">
+<em class="property">class </em><code class="descclassname">test.generic.test_math.</code><code class="descname">TestMath</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_math.html#TestMath"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_math.TestMath" 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="method">
+<dt id="test.generic.test_math.TestMath.test_equation">
+<code class="descname">test_equation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_math.html#TestMath.test_equation"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_math.TestMath.test_equation" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.math.html#pypdevsbbl.generic.math.Adder" title="pypdevsbbl.generic.math.Adder"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.math.Adder</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_math.TestMath.test_adder">
+<code class="descname">test_adder</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_math.html#TestMath.test_adder"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_math.TestMath.test_adder" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.math.html#pypdevsbbl.generic.math.Adder" title="pypdevsbbl.generic.math.Adder"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.math.Adder</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_math.TestMath.test_multiplier">
+<code class="descname">test_multiplier</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_math.html#TestMath.test_multiplier"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_math.TestMath.test_multiplier" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.math.html#pypdevsbbl.generic.math.Multiplier" title="pypdevsbbl.generic.math.Multiplier"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.math.Multiplier</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_math.TestMath.test_differentiator">
+<code class="descname">test_differentiator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_math.html#TestMath.test_differentiator"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_math.TestMath.test_differentiator" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.math.html#pypdevsbbl.generic.math.Differentiator" title="pypdevsbbl.generic.math.Differentiator"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.math.Differentiator</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_math.TestMath.test_integrator">
+<code class="descname">test_integrator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_math.html#TestMath.test_integrator"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_math.TestMath.test_integrator" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.math.html#pypdevsbbl.generic.math.Integrator" title="pypdevsbbl.generic.math.Integrator"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.math.Integrator</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_math.TestMath.test_random">
+<code class="descname">test_random</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_math.html#TestMath.test_random"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_math.TestMath.test_random" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
 </div>
 
 

+ 109 - 2
docs/_build/html/test.generic.test_queues.html

@@ -47,8 +47,115 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-generic-test-queues-module">
-<h1>test.generic.test_queues module<a class="headerlink" href="#test-generic-test-queues-module" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test.generic.test_queues">
+<span id="test-generic-test-queues-module"></span><h1>test.generic.test_queues module<a class="headerlink" href="#module-test.generic.test_queues" title="Permalink to this headline">¶</a></h1>
+<p>Tests the Queue building blocks to prove validity w.r.t. these tests.</p>
+<p>Every test will run a PythonPDEVS simulation on a model. This model will
+afterwards be analyzed against the expected measures. The model has a
+general shape of</p>
+<p class="centered">
+<strong><code class="docutils literal notranslate"><span class="pre">TableGenerator</span> <span class="pre">-&gt;</span> <span class="pre">Queue</span> <span class="pre">-&gt;</span> <span class="pre">TableCollector</span></code></strong></p><div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p>Whereas not all blocks seem to be tested, because the
+<a class="reference internal" href="pypdevsbbl.generic.queues.html#pypdevsbbl.generic.queues.Queue" title="pypdevsbbl.generic.queues.Queue"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.queues.Queue</span></code></a> is a coupled DEVS made up of other
+blocks, all will be tested in general.</p>
+<p class="last">As far as the <a class="reference internal" href="pypdevsbbl.generic.queues.html#pypdevsbbl.generic.queues.QueueTracker" title="pypdevsbbl.generic.queues.QueueTracker"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.queues.QueueTracker</span></code></a> is concerned,
+the edgecases will not be tested, because it is only meant to be used
+in as a part of the <a class="reference internal" href="pypdevsbbl.generic.queues.html#pypdevsbbl.generic.queues.Queue" title="pypdevsbbl.generic.queues.Queue"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.queues.Queue</span></code></a>.</p>
+</div>
+<div class="admonition seealso">
+<p class="first admonition-title">See also</p>
+<p class="last"><a class="reference internal" href="pypdevsbbl.generic.queues.html#module-pypdevsbbl.generic.queues" title="pypdevsbbl.generic.queues"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.generic.queues</span></code></a></p>
+</div>
+<dl class="class">
+<dt id="test.generic.test_queues.QModel">
+<em class="property">class </em><code class="descclassname">test.generic.test_queues.</code><code class="descname">QModel</code><span class="sig-paren">(</span><em>table</em>, <em>queue</em>, <em>qport</em>, <em>cport</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_queues.html#QModel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_queues.QModel" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevs.DEVS.CoupledDEVS</span></code></p>
+<p>Simple model constructor for the tests.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>table</strong> (<em>list</em>) – A list with all events that should happen.</li>
+<li><strong>queue</strong> – The queue to test.</li>
+<li><strong>qport</strong> – The input port of the queue.</li>
+<li><strong>cport</strong> – The output port of the queue.</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="function">
+<dt id="test.generic.test_queues.simulate">
+<code class="descclassname">test.generic.test_queues.</code><code class="descname">simulate</code><span class="sig-paren">(</span><em>table</em>, <em>queue</em>, <em>qport=None</em>, <em>cport=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_queues.html#simulate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_queues.simulate" title="Permalink to this definition">¶</a></dt>
+<dd><p>Simulates the model.</p>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
+<li><strong>table</strong> (<em>list</em>) – A list with all events that should happen.</li>
+<li><strong>queue</strong> – The queue to test.</li>
+<li><strong>qport</strong> – The input port of the queue.</li>
+<li><strong>cport</strong> – The output port of the queue.</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+</dd></dl>
+
+<dl class="class">
+<dt id="test.generic.test_queues.TestQueue">
+<em class="property">class </em><code class="descclassname">test.generic.test_queues.</code><code class="descname">TestQueue</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_queues.html#TestQueue"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_queues.TestQueue" 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="method">
+<dt id="test.generic.test_queues.TestQueue.test_discipline">
+<code class="descname">test_discipline</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_queues.html#TestQueue.test_discipline"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_queues.TestQueue.test_discipline" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the queueing discipline (<code class="docutils literal notranslate"><span class="pre">fc</span></code>) of the <a class="reference internal" href="pypdevsbbl.generic.queues.html#pypdevsbbl.generic.queues.Queue" title="pypdevsbbl.generic.queues.Queue"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.queues.Queue</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_queues.TestQueue.test_contents">
+<code class="descname">test_contents</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_queues.html#TestQueue.test_contents"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_queues.TestQueue.test_contents" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the startup contents (<code class="docutils literal notranslate"><span class="pre">contents</span></code>) of the <a class="reference internal" href="pypdevsbbl.generic.queues.html#pypdevsbbl.generic.queues.SimpleQueue" title="pypdevsbbl.generic.queues.SimpleQueue"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.queues.SimpleQueue</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_queues.TestQueue.test_reneging">
+<code class="descname">test_reneging</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_queues.html#TestQueue.test_reneging"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_queues.TestQueue.test_reneging" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the reneging of the <a class="reference internal" href="pypdevsbbl.generic.queues.html#pypdevsbbl.generic.queues.Queue" title="pypdevsbbl.generic.queues.Queue"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.queues.Queue</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_queues.TestQueue.test_overflow">
+<code class="descname">test_overflow</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_queues.html#TestQueue.test_overflow"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_queues.TestQueue.test_overflow" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the overflow of the <a class="reference internal" href="pypdevsbbl.generic.queues.html#pypdevsbbl.generic.queues.Queue" title="pypdevsbbl.generic.queues.Queue"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.queues.Queue</span></code></a>.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_queues.TestQueue.test_retain_individual">
+<code class="descname">test_retain_individual</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_queues.html#TestQueue.test_retain_individual"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_queues.TestQueue.test_retain_individual" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.queues.html#pypdevsbbl.generic.queues.Retain" title="pypdevsbbl.generic.queues.Retain"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.queues.Retain</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_queues.TestQueue.test_retain_collection">
+<code class="descname">test_retain_collection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_queues.html#TestQueue.test_retain_collection"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_queues.TestQueue.test_retain_collection" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.queues.html#pypdevsbbl.generic.queues.Retain" title="pypdevsbbl.generic.queues.Retain"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.queues.Retain</span></code></a> block in <em>collection</em> mode.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_queues.TestQueue.test_advance">
+<code class="descname">test_advance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_queues.html#TestQueue.test_advance"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_queues.TestQueue.test_advance" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.queues.html#pypdevsbbl.generic.queues.Advance" title="pypdevsbbl.generic.queues.Advance"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.queues.Advance</span></code></a> block.</p>
+</dd></dl>
+
+</dd></dl>
+
 </div>
 
 

+ 73 - 2
docs/_build/html/test.generic.test_routing.html

@@ -47,8 +47,79 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-generic-test-routing-module">
-<h1>test.generic.test_routing module<a class="headerlink" href="#test-generic-test-routing-module" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test.generic.test_routing">
+<span id="test-generic-test-routing-module"></span><h1>test.generic.test_routing module<a class="headerlink" href="#module-test.generic.test_routing" title="Permalink to this headline">¶</a></h1>
+<p>Tests the Routing building blocks to prove validity w.r.t. these tests.</p>
+<div class="admonition seealso">
+<p class="first admonition-title">See also</p>
+<p class="last"><a class="reference internal" href="pypdevsbbl.generic.routing.html#module-pypdevsbbl.generic.routing" title="pypdevsbbl.generic.routing"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.generic.routing</span></code></a></p>
+</div>
+<dl class="class">
+<dt id="test.generic.test_routing.TestRouting">
+<em class="property">class </em><code class="descclassname">test.generic.test_routing.</code><code class="descname">TestRouting</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_routing.html#TestRouting"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_routing.TestRouting" 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="method">
+<dt id="test.generic.test_routing.TestRouting.test_finish">
+<code class="descname">test_finish</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_routing.html#TestRouting.test_finish"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_routing.TestRouting.test_finish" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.routing.html#pypdevsbbl.generic.routing.Finish" title="pypdevsbbl.generic.routing.Finish"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.routing.Finish</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_routing.TestRouting.test_halt">
+<code class="descname">test_halt</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_routing.html#TestRouting.test_halt"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_routing.TestRouting.test_halt" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.routing.html#pypdevsbbl.generic.routing.Halt" title="pypdevsbbl.generic.routing.Halt"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.routing.Halt</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_routing.TestRouting.test_pick">
+<code class="descname">test_pick</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_routing.html#TestRouting.test_pick"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_routing.TestRouting.test_pick" title="Permalink to this definition">¶</a></dt>
+<dd><p>Test the <a class="reference internal" href="pypdevsbbl.generic.routing.html#pypdevsbbl.generic.routing.Pick" title="pypdevsbbl.generic.routing.Pick"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.routing.Pick</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_routing.TestRouting.test_choose_input">
+<code class="descname">test_choose_input</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_routing.html#TestRouting.test_choose_input"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_routing.TestRouting.test_choose_input" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.routing.html#pypdevsbbl.generic.routing.ChooseInput" title="pypdevsbbl.generic.routing.ChooseInput"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.routing.ChooseInput</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_routing.TestRouting.test_choose_output">
+<code class="descname">test_choose_output</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_routing.html#TestRouting.test_choose_output"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_routing.TestRouting.test_choose_output" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.routing.html#pypdevsbbl.generic.routing.ChooseOutput" title="pypdevsbbl.generic.routing.ChooseOutput"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.routing.ChooseOutput</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_routing.TestRouting.test_guard">
+<code class="descname">test_guard</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_routing.html#TestRouting.test_guard"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_routing.TestRouting.test_guard" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.routing.html#pypdevsbbl.generic.routing.Guard" title="pypdevsbbl.generic.routing.Guard"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.routing.Guard</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_routing.TestRouting.test_gate">
+<code class="descname">test_gate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_routing.html#TestRouting.test_gate"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_routing.TestRouting.test_gate" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.routing.html#pypdevsbbl.generic.routing.Gate" title="pypdevsbbl.generic.routing.Gate"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.routing.Gate</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_routing.TestRouting.test_timer">
+<code class="descname">test_timer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_routing.html#TestRouting.test_timer"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_routing.TestRouting.test_timer" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.routing.html#pypdevsbbl.generic.routing.Timer" title="pypdevsbbl.generic.routing.Timer"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.routing.Timer</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_routing.TestRouting.test_delayer">
+<code class="descname">test_delayer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_routing.html#TestRouting.test_delayer"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_routing.TestRouting.test_delayer" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.routing.html#pypdevsbbl.generic.routing.Delayer" title="pypdevsbbl.generic.routing.Delayer"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.routing.Delayer</span></code></a> block.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="test.generic.test_routing.TestRouting.test_sync">
+<code class="descname">test_sync</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/generic/test_routing.html#TestRouting.test_sync"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.generic.test_routing.TestRouting.test_sync" title="Permalink to this definition">¶</a></dt>
+<dd><p>Tests the <a class="reference internal" href="pypdevsbbl.generic.routing.html#pypdevsbbl.generic.routing.Sync" title="pypdevsbbl.generic.routing.Sync"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.routing.Sync</span></code></a> block.</p>
+</dd></dl>
+
+</dd></dl>
+
 </div>
 
 

File diff suppressed because it is too large
+ 43 - 2
docs/_build/html/test.generic.test_transformers.html


+ 23 - 2
docs/_build/html/test.html

@@ -45,8 +45,29 @@
         <div class="bodywrapper">
           <div class="body" role="main">
             
-  <div class="section" id="test-package">
-<h1>test package<a class="headerlink" href="#test-package" title="Permalink to this headline">¶</a></h1>
+  <div class="section" id="module-test">
+<span id="test-package"></span><h1>test package<a class="headerlink" href="#module-test" title="Permalink to this headline">¶</a></h1>
+<p>Tests for <code class="docutils literal notranslate"><span class="pre">Python(P)DEVS-BBL</span></code>.</p>
+<p>Execute this file to accurately set the pythonpath and run the tests.
+By default, the <code class="docutils literal notranslate"><span class="pre">dependencies</span></code> directory is ignored and verbosity
+is enabled. Pass additional <code class="docutils literal notranslate"><span class="pre">pytest</span></code> arguments to run the tests you
+require.</p>
+<div class="admonition note">
+<p class="first admonition-title">Note</p>
+<p>The <a class="reference internal" href="test.extra.test_mathutils.html#module-test.extra.test_mathutils" title="test.extra.test_mathutils"><code class="xref py py-mod docutils literal notranslate"><span class="pre">test.extra.test_mathutils</span></code></a> module takes a while to
+execute. See its documentation for more details.</p>
+<p class="last">Likewise, the tests in the <a class="reference internal" href="test.extra.test_distributions.html#module-test.extra.test_distributions" title="test.extra.test_distributions"><code class="xref py py-mod docutils literal notranslate"><span class="pre">test.extra.test_distributions</span></code></a> may
+take slightly longer than expected. Especially the tests for the
+<cite>binomial</cite>, <cite>pearson6</cite>, <cite>johnsonU</cite>, <cite>johnsonB</cite> and <cite>negbinomial</cite>
+distributions. This is mainly due to a large amount of parameters
+that’s being tested.</p>
+</div>
+<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># To execute only the &#39;fast&#39; tests of the generic package</span>
+<span class="c1"># Execute from the &#39;src/test&#39; folder.</span>
+
+python3 __init__.py --ignore<span class="o">=</span>extra/test_mathutils.py --ignore<span class="o">=</span>extra/test_distributions.py .
+</pre></div>
+</div>
 <div class="section" id="subpackages">
 <h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2>
 <div class="toctree-wrapper compound">

+ 8 - 0
src/dependencies/pythonpdevs/.idea/.gitignore

@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
+# Editor-based HTTP Client requests
+/httpRequests/

+ 41 - 0
src/dependencies/pythonpdevs/.idea/inspectionProfiles/Project_Default.xml

@@ -0,0 +1,41 @@
+<component name="InspectionProjectProfileManager">
+  <profile version="1.0">
+    <option name="myName" value="Project Default" />
+    <inspection_tool class="JSUnfilteredForInLoop" enabled="false" level="WARNING" enabled_by_default="false" />
+    <inspection_tool class="PyPackageRequirementsInspection" enabled="false" level="WARNING" enabled_by_default="false">
+      <option name="ignoredPackages">
+        <value>
+          <list size="0" />
+        </value>
+      </option>
+    </inspection_tool>
+    <inspection_tool class="PyPep8Inspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
+    <inspection_tool class="PyPep8NamingInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
+    <inspection_tool class="PyStubPackagesAdvertiser" enabled="true" level="WARNING" enabled_by_default="true">
+      <option name="ignoredPackages">
+        <list>
+          <option value="PyQt5" />
+          <option value="PyQt5-stubs==5.14.2.2" />
+        </list>
+      </option>
+    </inspection_tool>
+    <inspection_tool class="PyTypeCheckerInspection" enabled="false" level="WARNING" enabled_by_default="false" />
+    <inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
+      <option name="ignoredIdentifiers">
+        <list>
+          <option value="project.authService.vendor.mockery.mockery.docs.conf.sphinx" />
+          <option value="project.authService.vendor.mockery.mockery.docs.conf.*" />
+          <option value="scipy.special" />
+          <option value="bool.*" />
+        </list>
+      </option>
+    </inspection_tool>
+    <inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
+      <option name="processCode" value="true" />
+      <option name="processLiterals" value="true" />
+      <option name="processComments" value="true" />
+    </inspection_tool>
+    <inspection_tool class="SqlDialectInspection" enabled="false" level="WARNING" enabled_by_default="false" />
+    <inspection_tool class="SqlNoDataSourceInspection" enabled="false" level="WARNING" enabled_by_default="false" />
+  </profile>
+</component>

+ 6 - 0
src/dependencies/pythonpdevs/.idea/inspectionProfiles/profiles_settings.xml

@@ -0,0 +1,6 @@
+<component name="InspectionProjectProfileManager">
+  <settings>
+    <option name="USE_PROJECT_PROFILE" value="false" />
+    <version value="1.0" />
+  </settings>
+</component>

+ 4 - 0
src/dependencies/pythonpdevs/.idea/misc.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8" project-jdk-type="Python SDK" />
+</project>

+ 8 - 0
src/dependencies/pythonpdevs/.idea/modules.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/.idea/pythonpdevs.iml" filepath="$PROJECT_DIR$/.idea/pythonpdevs.iml" />
+    </modules>
+  </component>
+</project>

+ 21 - 0
src/dependencies/pythonpdevs/.idea/pythonpdevs.iml

@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="PYTHON_MODULE" version="4">
+  <component name="NewModuleRootManager">
+    <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+  <component name="PyDocumentationSettings">
+    <option name="format" value="PLAIN" />
+    <option name="myDocStringFormat" value="Plain" />
+  </component>
+  <component name="TemplatesService">
+    <option name="TEMPLATE_FOLDERS">
+      <list>
+        <option value="$MODULE_DIR$/src/build/lib/pypdevs/templates" />
+      </list>
+    </option>
+  </component>
+</module>

+ 7 - 0
src/dependencies/pythonpdevs/.idea/vcs.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
+  </component>
+</project>

+ 2 - 2
src/pypdevsbbl/extra/rngstreams/__init__.py

@@ -144,8 +144,8 @@ try:
         return RngStream.RngStream_SetSeed(gen, SD_TYPE(*s))
 
 except OSError as e:
-    import warnings
-    warnings.warn("%s. Cannot load RngStreams. Using 'random' module instead." % str(e))
+    # import warnings
+    # warnings.warn("%s. Cannot load RngStreams. Using 'random' module instead." % str(e))
     setGeneratorType(Generators.RANDOM)