Randy Paredis преди 4 години
родител
ревизия
f9e7d254f5
променени са 100 файла, в които са добавени 1475 реда и са изтрити 3 реда
  1. 8 0
      .idea/.gitignore
  2. 22 0
      .idea/PythonDEVS-BBL.iml
  3. 41 0
      .idea/inspectionProfiles/Project_Default.xml
  4. 6 0
      .idea/inspectionProfiles/profiles_settings.xml
  5. 4 0
      .idea/misc.xml
  6. 8 0
      .idea/modules.xml
  7. 6 0
      .idea/vcs.xml
  8. 1 0
      Library.xml
  9. 0 3
      README.md
  10. 19 0
      docs/Makefile
  11. 196 0
      docs/conf.py
  12. 26 0
      docs/ext/napoleon_custom_sections.py
  13. 48 0
      docs/index.rst
  14. 35 0
      docs/make.bat
  15. 15 0
      docs/modules.rst
  16. 7 0
      docs/pypdevsbbl.domain.gpss.rst
  17. 7 0
      docs/pypdevsbbl.domain.industry.rst
  18. 16 0
      docs/pypdevsbbl.domain.rst
  19. 7 0
      docs/pypdevsbbl.extra.equations.rst
  20. 7 0
      docs/pypdevsbbl.extra.fileutils.rst
  21. 7 0
      docs/pypdevsbbl.extra.heap.rst
  22. 7 0
      docs/pypdevsbbl.extra.mathutils.rst
  23. 7 0
      docs/pypdevsbbl.extra.packaging.rst
  24. 7 0
      docs/pypdevsbbl.extra.queues.rst
  25. 7 0
      docs/pypdevsbbl.extra.rngstreams.distributions.rst
  26. 15 0
      docs/pypdevsbbl.extra.rngstreams.rst
  27. 28 0
      docs/pypdevsbbl.extra.rst
  28. 7 0
      docs/pypdevsbbl.extra.spatial.rst
  29. 7 0
      docs/pypdevsbbl.generic.collectors.rst
  30. 7 0
      docs/pypdevsbbl.generic.generators.rst
  31. 7 0
      docs/pypdevsbbl.generic.io.rst
  32. 7 0
      docs/pypdevsbbl.generic.math.rst
  33. 7 0
      docs/pypdevsbbl.generic.queues.rst
  34. 7 0
      docs/pypdevsbbl.generic.routing.rst
  35. 21 0
      docs/pypdevsbbl.generic.rst
  36. 7 0
      docs/pypdevsbbl.generic.transformers.rst
  37. 18 0
      docs/pypdevsbbl.rst
  38. 7 0
      docs/pypdevsbbl.tracers.FootprintTracer.rst
  39. 7 0
      docs/pypdevsbbl.tracers.PlotTracer.rst
  40. 7 0
      docs/pypdevsbbl.tracers.ProfileTracer.rst
  41. 7 0
      docs/pypdevsbbl.tracers.StatisticsTracer.rst
  42. 18 0
      docs/pypdevsbbl.tracers.rst
  43. 19 0
      docs/test.extra.rst
  44. 7 0
      docs/test.extra.test_distributions.rst
  45. 7 0
      docs/test.extra.test_fileutils.rst
  46. 7 0
      docs/test.extra.test_heap.rst
  47. 7 0
      docs/test.extra.test_mathutils.rst
  48. 7 0
      docs/test.extra.test_packaging.rst
  49. 21 0
      docs/test.generic.rst
  50. 7 0
      docs/test.generic.test_collectors.rst
  51. 7 0
      docs/test.generic.test_generators.rst
  52. 7 0
      docs/test.generic.test_io.rst
  53. 7 0
      docs/test.generic.test_math.rst
  54. 7 0
      docs/test.generic.test_queues.rst
  55. 7 0
      docs/test.generic.test_routing.rst
  56. 7 0
      docs/test.generic.test_transformers.rst
  57. 16 0
      docs/test.rst
  58. BIN
      img/PythonPDEVS-BBL-Processors.pdf
  59. BIN
      img/PythonPDEVS-BBL-Processors.png
  60. BIN
      img/PythonPDEVS-BBL-Processors2.png
  61. BIN
      img/PythonPDEVS-BBL-Queues.png
  62. BIN
      img/building/beam.pdf
  63. 67 0
      img/building/beam.plantuml
  64. 13 0
      img/building/beam.svg
  65. BIN
      img/building/blinds.pdf
  66. 12 0
      img/building/blinds.plantuml
  67. 13 0
      img/building/blinds.svg
  68. BIN
      img/building/button.pdf
  69. 16 0
      img/building/button.plantuml
  70. 13 0
      img/building/button.svg
  71. BIN
      img/building/fan.pdf
  72. 12 0
      img/building/fan.plantuml
  73. 13 0
      img/building/fan.svg
  74. BIN
      img/building/heating.pdf
  75. 12 0
      img/building/heating.plantuml
  76. 13 0
      img/building/heating.svg
  77. BIN
      img/building/lamp.pdf
  78. 12 0
      img/building/lamp.plantuml
  79. 13 0
      img/building/lamp.svg
  80. BIN
      img/building/sensor.pdf
  81. 18 0
      img/building/sensor.plantuml
  82. 13 0
      img/building/sensor.svg
  83. BIN
      img/building/siren.pdf
  84. 14 0
      img/building/siren.plantuml
  85. 13 0
      img/building/siren.svg
  86. BIN
      img/building/switch.pdf
  87. 16 0
      img/building/switch.plantuml
  88. 13 0
      img/building/switch.svg
  89. BIN
      img/building/thermometer.pdf
  90. 14 0
      img/building/thermometer.plantuml
  91. 13 0
      img/building/thermometer.svg
  92. BIN
      img/collectors/collector.pdf
  93. 14 0
      img/collectors/collector.plantuml
  94. 117 0
      img/collectors/collector.svg
  95. BIN
      img/collectors/counter.pdf
  96. 18 0
      img/collectors/counter.plantuml
  97. 151 0
      img/collectors/counter.svg
  98. BIN
      img/collectors/estimate-collector.pdf
  99. 14 0
      img/collectors/estimate-collector.plantuml
  100. 0 0
      img/collectors/estimate-collector.svg

+ 8 - 0
.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/

+ 22 - 0
.idea/PythonDEVS-BBL.iml

@@ -0,0 +1,22 @@
+<?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" />
+      <sourceFolder url="file://$MODULE_DIR$/src/dependencies/pythonpdevs/src" isTestSource="false" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+  <component name="PyDocumentationSettings">
+    <option name="format" value="GOOGLE" />
+    <option name="myDocStringFormat" value="Google" />
+  </component>
+  <component name="TemplatesService">
+    <option name="TEMPLATE_FOLDERS">
+      <list>
+        <option value="$MODULE_DIR$/src/dependencies/pythonpdevs/src/build/lib/pypdevs/templates" />
+      </list>
+    </option>
+  </component>
+</module>

+ 41 - 0
.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
.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
.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
.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/PythonDEVS-BBL.iml" filepath="$PROJECT_DIR$/.idea/PythonDEVS-BBL.iml" />
+    </modules>
+  </component>
+</project>

+ 6 - 0
.idea/vcs.xml

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

Файловите разлики са ограничени, защото са твърде много
+ 1 - 0
Library.xml


+ 0 - 3
README.md

@@ -1,3 +0,0 @@
-# PythonDEVS-BBL
-
-This repository contains PythonPDEVS and a corresponding Building Block Library that focusses on reusability. Additionally, there are some Jupyter notebook files to provide more information and explanation on the BBL's use.

+ 19 - 0
docs/Makefile

@@ -0,0 +1,19 @@
+# Minimal makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS    =
+SPHINXBUILD   = sphinx-build
+SOURCEDIR     = .
+BUILDDIR      = _build
+
+# Put it first so that "make" without argument is like "make help".
+help:
+	@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+
+.PHONY: help Makefile
+
+# Catch-all target: route all unknown targets to Sphinx using the new
+# "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
+%: Makefile
+	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

+ 196 - 0
docs/conf.py

@@ -0,0 +1,196 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+#
+# pypdevsbbl documentation build configuration file, created by
+# sphinx-quickstart on Sun Mar 15 12:52:27 2020.
+#
+# This file is execfile()d with the current directory set to its
+# containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+
+import os
+import sys
+sys.path.insert(0, os.path.abspath('../src'))
+sys.path.insert(0, os.path.abspath('./ext'))
+sys.path.insert(0, os.path.abspath('../src/dependencies/pythonpdevs/src'))
+
+
+# -- General configuration ------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+#
+# needs_sphinx = '1.0'
+
+# Add any Sphinx extension module names here, as strings. They can be
+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
+# ones.
+extensions = [
+    'sphinx.ext.coverage',
+    'sphinx.ext.mathjax',
+    'sphinx.ext.viewcode',
+    'napoleon_custom_sections'
+]
+
+autodoc_member_order = 'bysource'
+autodoc_inherit_docstrings = False
+
+# Napoleon settings
+napoleon_google_docstring = True
+napoleon_numpy_docstring = True
+napoleon_include_init_with_doc = False
+napoleon_include_private_with_doc = True
+napoleon_include_special_with_doc = False
+napoleon_use_admonition_for_examples = False
+napoleon_use_admonition_for_notes = False
+napoleon_use_admonition_for_references = False
+napoleon_use_ivar = True
+napoleon_use_param = True
+napoleon_use_rtype = True
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix(es) of source filenames.
+# You can specify multiple suffix as a list of string:
+#
+# source_suffix = ['.rst', '.md']
+source_suffix = '.rst'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = 'Python(P)DEVS-BBL'
+copyright = '2020, Randy Paredis'
+author = 'Randy Paredis'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+# The short X.Y version.
+version = ''
+# The full version, including alpha/beta/rc tags.
+release = ''
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#
+# This is also used if you do content translation via gettext catalogs.
+# Usually you set "language" from the command line for these cases.
+language = None
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+# This patterns also effect to html_static_path and html_extra_path
+exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'autumn'
+
+# If true, `todo` and `todoList` produce output, else they produce nothing.
+todo_include_todos = False
+
+
+# -- Options for HTML output ----------------------------------------------
+
+# The theme to use for HTML and HTML Help pages.  See the documentation for
+# a list of builtin themes.
+#
+html_theme = 'nature'
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further.  For a list of options available for each theme, see the
+# documentation.
+#
+# html_theme_options = {}
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+html_static_path = ['_static']
+
+html_css_files = [
+    'custom.css',
+]
+
+# Custom sidebar templates, must be a dictionary that maps document names
+# to template names.
+#
+# This is required for the alabaster theme
+# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
+html_sidebars = {
+    '**': [
+        'relations.html',  # needs 'show_related': True theme option to display
+        'searchbox.html',
+    ]
+}
+
+
+# -- Options for HTMLHelp output ------------------------------------------
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'pypdevsbbldoc'
+
+
+# -- Options for LaTeX output ---------------------------------------------
+
+latex_elements = {
+    # The paper size ('letterpaper' or 'a4paper').
+    #
+    # 'papersize': 'letterpaper',
+
+    # The font size ('10pt', '11pt' or '12pt').
+    #
+    # 'pointsize': '10pt',
+
+    # Additional stuff for the LaTeX preamble.
+    #
+    # 'preamble': '',
+
+    # Latex figure (float) alignment
+    #
+    # 'figure_align': 'htbp',
+}
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title,
+#  author, documentclass [howto, manual, or own class]).
+latex_documents = [
+    (master_doc, 'pypdevsbbl.tex', 'Python(P)DEVS-BBL Documentation',
+     'Randy Paredis', 'manual'),
+]
+
+
+# -- Options for manual page output ---------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+    (master_doc, 'pypdevsbbl', 'Python(P)DEVS-BBL Documentation',
+     [author], 1)
+]
+
+
+# -- Options for Texinfo output -------------------------------------------
+
+# Grouping the document tree into Texinfo files. List of tuples
+# (source start file, target name, title, author,
+#  dir menu entry, description, category)
+texinfo_documents = [
+    (master_doc, 'pypdevsbbl', 'Python(P)DEVS-BBL Documentation',
+     author, 'pypdevsbbl', 'Python(P)DEVS Building Block Library',
+     'Miscellaneous'),
+]
+
+
+

+ 26 - 0
docs/ext/napoleon_custom_sections.py

@@ -0,0 +1,26 @@
+from sphinxcontrib import napoleon
+from sphinxcontrib.napoleon._upstream import _
+from sphinxcontrib.napoleon import GoogleDocstring
+
+
+def _parse_inputs(self, section):
+    return self._format_fields(_('Input Ports'), self._consume_fields())
+GoogleDocstring._parse_inputs = _parse_inputs
+
+def _parse_outputs(self, section):
+    return self._format_fields(_('Output Ports'), self._consume_fields())
+GoogleDocstring._parse_outputs = _parse_outputs
+
+def _parse_state(self, section):
+    return self._format_fields(_('State'), self._consume_fields())
+GoogleDocstring._parse_state = _parse_state
+
+def patched_parse(self):
+    self._sections['input ports'] = self._parse_inputs
+    self._sections['output ports'] = self._parse_outputs
+    self._sections['state'] = self._parse_state
+    self._unpatched_parse()
+GoogleDocstring._unpatched_parse = GoogleDocstring._parse
+GoogleDocstring._parse = patched_parse
+
+setup = napoleon.setup

+ 48 - 0
docs/index.rst

@@ -0,0 +1,48 @@
+.. pypdevsbbl documentation master file, created by
+   sphinx-quickstart on Sun Mar 15 12:52:27 2020.
+   You can adapt this file completely to your liking, but it should at least
+   contain the root `toctree` directive.
+
+Welcome to Python(P)DEVS-BBL's documentation!
+=============================================
+
+.. toctree::
+   :maxdepth: 2
+   :caption: Contents:
+
+Homepage of ``Python(P)DEVS-BBL`` (Python(P)DEVS Building Block Library).
+
+This library contains a set of DEVS building blocks that fit together like puzzle pieces,
+all of them running on top of the ``PythonPDEVS`` kernel. They propose a lot of functionality
+as a black box. With them, anyone can make models quickly, efficiently and fluently.
+
+No need to focus on the individual components anymore, allowing users to give 100% of their
+attention to the system they're modelling!
+
+Note that ``Python(P)DEVS-BBL`` is additional code that is accompanied with my masters thesis. When in doubt
+about the usefulness or overall use-case, please take a look in the dissertation.
+
+There are a few parts available within ``Python(P)DEVS-BBL``:
+
+.. toctree::
+   :maxdepth: 6
+
+   pypdevsbbl
+
+Tests
+-----
+Additionally, since it is important that all code is tested, it is also possible to check
+the validity of the building blocks with the ``test`` package:
+
+.. toctree::
+   :maxdepth: 6
+
+   test
+
+
+Indices and tables
+==================
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`

+ 35 - 0
docs/make.bat

@@ -0,0 +1,35 @@
+@ECHO OFF
+
+pushd %~dp0
+
+REM Command file for Sphinx documentation
+
+if "%SPHINXBUILD%" == "" (
+	set SPHINXBUILD=sphinx-build
+)
+set SOURCEDIR=.
+set BUILDDIR=_build
+
+if "%1" == "" goto help
+
+%SPHINXBUILD% >NUL 2>NUL
+if errorlevel 9009 (
+	echo.
+	echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
+	echo.installed, then set the SPHINXBUILD environment variable to point
+	echo.to the full path of the 'sphinx-build' executable. Alternatively you
+	echo.may add the Sphinx directory to PATH.
+	echo.
+	echo.If you don't have Sphinx installed, grab it from
+	echo.http://sphinx-doc.org/
+	exit /b 1
+)
+
+%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
+goto end
+
+:help
+%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
+
+:end
+popd

+ 15 - 0
docs/modules.rst

@@ -0,0 +1,15 @@
+pypdevsbbl
+==========
+
+.. toctree::
+   :maxdepth: 4
+
+   pypdevsbbl
+
+test
+====
+
+.. toctree::
+   :maxdepth: 4
+
+   test

+ 7 - 0
docs/pypdevsbbl.domain.gpss.rst

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

+ 7 - 0
docs/pypdevsbbl.domain.industry.rst

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

+ 16 - 0
docs/pypdevsbbl.domain.rst

@@ -0,0 +1,16 @@
+pypdevsbbl.domain package
+=========================
+
+.. automodule:: pypdevsbbl.domain
+    :members:
+    :undoc-members:
+    :show-inheritance:
+
+Submodules
+----------
+
+.. toctree::
+
+   pypdevsbbl.domain.gpss
+   pypdevsbbl.domain.industry
+

+ 7 - 0
docs/pypdevsbbl.extra.equations.rst

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

+ 7 - 0
docs/pypdevsbbl.extra.fileutils.rst

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

+ 7 - 0
docs/pypdevsbbl.extra.heap.rst

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

+ 7 - 0
docs/pypdevsbbl.extra.mathutils.rst

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

+ 7 - 0
docs/pypdevsbbl.extra.packaging.rst

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

+ 7 - 0
docs/pypdevsbbl.extra.queues.rst

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

+ 7 - 0
docs/pypdevsbbl.extra.rngstreams.distributions.rst

@@ -0,0 +1,7 @@
+pypdevsbbl.extra.rngstreams.distributions module
+================================================
+
+.. automodule:: pypdevsbbl.extra.rngstreams.distributions
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 15 - 0
docs/pypdevsbbl.extra.rngstreams.rst

@@ -0,0 +1,15 @@
+pypdevsbbl.extra.rngstreams package
+===================================
+
+.. automodule:: pypdevsbbl.extra.rngstreams
+    :members:
+    :undoc-members:
+    :show-inheritance:
+
+Submodules
+----------
+
+.. toctree::
+
+   pypdevsbbl.extra.rngstreams.distributions
+

+ 28 - 0
docs/pypdevsbbl.extra.rst

@@ -0,0 +1,28 @@
+pypdevsbbl.extra package
+========================
+
+.. automodule:: pypdevsbbl.extra
+    :members:
+    :undoc-members:
+    :show-inheritance:
+
+Subpackages
+-----------
+
+.. toctree::
+
+    pypdevsbbl.extra.rngstreams
+
+Submodules
+----------
+
+.. toctree::
+
+   pypdevsbbl.extra.equations
+   pypdevsbbl.extra.fileutils
+   pypdevsbbl.extra.heap
+   pypdevsbbl.extra.mathutils
+   pypdevsbbl.extra.packaging
+   pypdevsbbl.extra.queues
+   pypdevsbbl.extra.spatial
+

+ 7 - 0
docs/pypdevsbbl.extra.spatial.rst

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

+ 7 - 0
docs/pypdevsbbl.generic.collectors.rst

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

+ 7 - 0
docs/pypdevsbbl.generic.generators.rst

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

+ 7 - 0
docs/pypdevsbbl.generic.io.rst

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

+ 7 - 0
docs/pypdevsbbl.generic.math.rst

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

+ 7 - 0
docs/pypdevsbbl.generic.queues.rst

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

+ 7 - 0
docs/pypdevsbbl.generic.routing.rst

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

+ 21 - 0
docs/pypdevsbbl.generic.rst

@@ -0,0 +1,21 @@
+pypdevsbbl.generic package
+==========================
+
+.. automodule:: pypdevsbbl.generic
+    :members:
+    :undoc-members:
+    :show-inheritance:
+
+Submodules
+----------
+
+.. toctree::
+
+   pypdevsbbl.generic.collectors
+   pypdevsbbl.generic.generators
+   pypdevsbbl.generic.io
+   pypdevsbbl.generic.math
+   pypdevsbbl.generic.queues
+   pypdevsbbl.generic.routing
+   pypdevsbbl.generic.transformers
+

+ 7 - 0
docs/pypdevsbbl.generic.transformers.rst

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

+ 18 - 0
docs/pypdevsbbl.rst

@@ -0,0 +1,18 @@
+pypdevsbbl package
+==================
+
+.. automodule:: pypdevsbbl
+    :members:
+    :undoc-members:
+    :show-inheritance:
+
+Subpackages
+-----------
+
+.. toctree::
+
+    pypdevsbbl.domain
+    pypdevsbbl.extra
+    pypdevsbbl.generic
+    pypdevsbbl.tracers
+

+ 7 - 0
docs/pypdevsbbl.tracers.FootprintTracer.rst

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

+ 7 - 0
docs/pypdevsbbl.tracers.PlotTracer.rst

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

+ 7 - 0
docs/pypdevsbbl.tracers.ProfileTracer.rst

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

+ 7 - 0
docs/pypdevsbbl.tracers.StatisticsTracer.rst

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

+ 18 - 0
docs/pypdevsbbl.tracers.rst

@@ -0,0 +1,18 @@
+pypdevsbbl.tracers package
+==========================
+
+.. automodule:: pypdevsbbl.tracers
+    :members:
+    :undoc-members:
+    :show-inheritance:
+
+Submodules
+----------
+
+.. toctree::
+
+   pypdevsbbl.tracers.FootprintTracer
+   pypdevsbbl.tracers.PlotTracer
+   pypdevsbbl.tracers.ProfileTracer
+   pypdevsbbl.tracers.StatisticsTracer
+

+ 19 - 0
docs/test.extra.rst

@@ -0,0 +1,19 @@
+test.extra package
+==================
+
+.. automodule:: test.extra
+    :members:
+    :undoc-members:
+    :show-inheritance:
+
+Submodules
+----------
+
+.. toctree::
+
+   test.extra.test_distributions
+   test.extra.test_fileutils
+   test.extra.test_heap
+   test.extra.test_mathutils
+   test.extra.test_packaging
+

+ 7 - 0
docs/test.extra.test_distributions.rst

@@ -0,0 +1,7 @@
+test.extra.test\_distributions module
+=====================================
+
+.. automodule:: test.extra.test_distributions
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 7 - 0
docs/test.extra.test_fileutils.rst

@@ -0,0 +1,7 @@
+test.extra.test\_fileutils module
+=================================
+
+.. automodule:: test.extra.test_fileutils
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 7 - 0
docs/test.extra.test_heap.rst

@@ -0,0 +1,7 @@
+test.extra.test\_heap module
+============================
+
+.. automodule:: test.extra.test_heap
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 7 - 0
docs/test.extra.test_mathutils.rst

@@ -0,0 +1,7 @@
+test.extra.test\_mathutils module
+=================================
+
+.. automodule:: test.extra.test_mathutils
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 7 - 0
docs/test.extra.test_packaging.rst

@@ -0,0 +1,7 @@
+test.extra.test\_packaging module
+=================================
+
+.. automodule:: test.extra.test_packaging
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 21 - 0
docs/test.generic.rst

@@ -0,0 +1,21 @@
+test.generic package
+====================
+
+.. automodule:: test.generic
+    :members:
+    :undoc-members:
+    :show-inheritance:
+
+Submodules
+----------
+
+.. toctree::
+
+   test.generic.test_collectors
+   test.generic.test_generators
+   test.generic.test_io
+   test.generic.test_math
+   test.generic.test_queues
+   test.generic.test_routing
+   test.generic.test_transformers
+

+ 7 - 0
docs/test.generic.test_collectors.rst

@@ -0,0 +1,7 @@
+test.generic.test\_collectors module
+====================================
+
+.. automodule:: test.generic.test_collectors
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 7 - 0
docs/test.generic.test_generators.rst

@@ -0,0 +1,7 @@
+test.generic.test\_generators module
+====================================
+
+.. automodule:: test.generic.test_generators
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 7 - 0
docs/test.generic.test_io.rst

@@ -0,0 +1,7 @@
+test.generic.test\_io module
+============================
+
+.. automodule:: test.generic.test_io
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 7 - 0
docs/test.generic.test_math.rst

@@ -0,0 +1,7 @@
+test.generic.test\_math module
+==============================
+
+.. automodule:: test.generic.test_math
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 7 - 0
docs/test.generic.test_queues.rst

@@ -0,0 +1,7 @@
+test.generic.test\_queues module
+================================
+
+.. automodule:: test.generic.test_queues
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 7 - 0
docs/test.generic.test_routing.rst

@@ -0,0 +1,7 @@
+test.generic.test\_routing module
+=================================
+
+.. automodule:: test.generic.test_routing
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 7 - 0
docs/test.generic.test_transformers.rst

@@ -0,0 +1,7 @@
+test.generic.test\_transformers module
+======================================
+
+.. automodule:: test.generic.test_transformers
+    :members:
+    :undoc-members:
+    :show-inheritance:

+ 16 - 0
docs/test.rst

@@ -0,0 +1,16 @@
+test package
+============
+
+.. automodule:: test
+    :members:
+    :undoc-members:
+    :show-inheritance:
+
+Subpackages
+-----------
+
+.. toctree::
+
+    test.extra
+    test.generic
+

BIN
img/PythonPDEVS-BBL-Processors.pdf


BIN
img/PythonPDEVS-BBL-Processors.png


BIN
img/PythonPDEVS-BBL-Processors2.png


BIN
img/PythonPDEVS-BBL-Queues.png


BIN
img/building/beam.pdf


+ 67 - 0
img/building/beam.plantuml

@@ -0,0 +1,67 @@
+@startuml
+sprite $ci_antenna [48x48/16] {
+000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000
+000000000B8000000000000000000000000008C000000000
+000000009FF80000000000000000000000008FF900000000
+00000005FFFC000000000000000000000000DFFF50000000
+0000001EFFE10000000000000000000000001EFFE1000000
+0000009FFF3000200000000000000000020004FFF9000000
+000001FFF90002F800000000000000008F20009FFF100000
+000008FFF1001EFF8000000000000008FFE0001FFF800000
+00000EFF90009FFF8000000000000009FFF80009FFE00000
+00003FFF3002FFFB0000000000000000CFFF1004FFF30000
+00007FFF0009FFF2000005CFFC5000002FFF7000FFF70000
+0000BFFB000EFFA000009FFFFFF900000AFFC000BFFB0000
+0000DFF9002FFF500005FFFFFFFF500005FFF1009FFD0000
+0000EFF7004FFF20000CFFFFFFFFC00002FFF3007FFE0000
+0000FFF6005FFF00000FFFFFFFFFF00000FFF5006FFF0000
+0000FFF6005FFF00000FFFFFFFFFF00000FFF5006FFF0000
+0000EFF7004FFF20000CFFFFFFFFC00002FFF4007FFE0000
+0000DFF9002FFF500005FFFFFFFF500005FFF2009FFD0000
+0000BFFB000EFFA000008FFFFFF800000AFFD000BFFB0000
+00007FFF0009FFF2000004FFFF4000002FFF9000FFF80000
+00003FFF4002FFFC000000FFFF000000BFFF2004FFF40000
+00000EFF90009FFF900000FFFF000008FFF9000AFFE00000
+000008FFF1001EFF800000FFFF000008FFE1001FFF900000
+000001FFFA0003F8000000FFFF0000008F3000AFFF200000
+0000009FFF400020000000FFFF000000020004FFFA000000
+0000001EFFE10000000000FFFF00000000002EFFF1000000
+00000005FFFD0000000000FFFF0000000000DFFF60000000
+00000000AFF70000000000FFFF00000000007FFA00000000
+000000000B800000000000FFFF000000000008C000000000
+0000000000000000000000FFFF0000000000000000000000
+0000000000000000000000FFFF0000000000000000000000
+0000000000000000000000FFFF0000000000000000000000
+0000000000000000000000FFFF0000000000000000000000
+0000000000000000000000FFFF0000000000000000000000
+0000000000000000000000FFFF0000000000000000000000
+0000000000000000000000FFFF0000000000000000000000
+0000000000000000000000FFFF0000000000000000000000
+000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000
+000000000000000000000000000000000000000000000000
+}
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ci_antenna>\nBeam" as block #LightSteelBlue
+
+interface " " as q1
+interface " " as q2
+interface " " as q3
+interface " " as q4
+
+q1 --> block: enable
+q2 --> block: disable
+q3 --> block: interrupt
+block --> q4: interrupted
+@enduml

Файловите разлики са ограничени, защото са твърде много
+ 13 - 0
img/building/beam.svg


BIN
img/building/blinds.pdf


+ 12 - 0
img/building/blinds.plantuml

@@ -0,0 +1,12 @@
+@startuml
+!include <material/blinds>
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ma_blinds>\nBlinds" as block #LightSteelBlue
+
+interface " " as q1
+
+q1 --> block: percentage
+@enduml

Файловите разлики са ограничени, защото са твърде много
+ 13 - 0
img/building/blinds.svg


BIN
img/building/button.pdf


+ 16 - 0
img/building/button.plantuml

@@ -0,0 +1,16 @@
+@startuml
+!include <material/radiobox_marked>
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ma_radiobox_marked>\nButton" as block #LightSteelBlue
+
+interface " " as q1
+interface " " as q2
+interface " " as q3
+
+q1 --> block: press
+block --> q2: on
+block --> q3: off
+@enduml

Файловите разлики са ограничени, защото са твърде много
+ 13 - 0
img/building/button.svg


BIN
img/building/fan.pdf


+ 12 - 0
img/building/fan.plantuml

@@ -0,0 +1,12 @@
+@startuml
+!include <material/fan>
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ma_fan>\nFan" as block #LightSteelBlue
+
+interface " " as q1
+
+q1 --> block: percentage
+@enduml

Файловите разлики са ограничени, защото са твърде много
+ 13 - 0
img/building/fan.svg


BIN
img/building/heating.pdf


+ 12 - 0
img/building/heating.plantuml

@@ -0,0 +1,12 @@
+@startuml
+!include <material/radiator>
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ma_radiator>\nHeating" as block #LightSteelBlue
+
+interface " " as q1
+
+q1 --> block: percentage
+@enduml

Файловите разлики са ограничени, защото са твърде много
+ 13 - 0
img/building/heating.svg


BIN
img/building/lamp.pdf


+ 12 - 0
img/building/lamp.plantuml

@@ -0,0 +1,12 @@
+@startuml
+!include <material/lightbulb>
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ma_lightbulb>\nLamp" as block #LightSteelBlue
+
+interface " " as q1
+
+q1 --> block: percentage
+@enduml

Файловите разлики са ограничени, защото са твърде много
+ 13 - 0
img/building/lamp.svg


BIN
img/building/sensor.pdf


+ 18 - 0
img/building/sensor.plantuml

@@ -0,0 +1,18 @@
+@startuml
+!include <material/access_point>
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ma_access_point>\nSensor" as block #LightSteelBlue
+
+interface " " as q1
+interface " " as q2
+interface " " as q3
+interface " " as q4
+
+q1 --> block: enable
+q2 --> block: disable
+q3 --> block: interrupt
+block --> q4: interrupted
+@enduml

Файловите разлики са ограничени, защото са твърде много
+ 13 - 0
img/building/sensor.svg


BIN
img/building/siren.pdf


+ 14 - 0
img/building/siren.plantuml

@@ -0,0 +1,14 @@
+@startuml
+!include <material/alarm_light>
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ma_alarm_light>\nSiren" as block #LightSteelBlue
+
+interface " " as q1
+interface " " as q2
+
+q1 --> block: start
+q2 --> block: stop
+@enduml

Файловите разлики са ограничени, защото са твърде много
+ 13 - 0
img/building/siren.svg


BIN
img/building/switch.pdf


+ 16 - 0
img/building/switch.plantuml

@@ -0,0 +1,16 @@
+@startuml
+!include <material/toggle_switch>
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ma_toggle_switch>\nSwitch" as block #LightSteelBlue
+
+interface " " as q1
+interface " " as q2
+interface " " as q3
+
+q1 --> block: toggle
+block --> q2: on
+block --> q3: off
+@enduml

Файловите разлики са ограничени, защото са твърде много
+ 13 - 0
img/building/switch.svg


BIN
img/building/thermometer.pdf


+ 14 - 0
img/building/thermometer.plantuml

@@ -0,0 +1,14 @@
+@startuml
+!include <material/thermometer_lines>
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ma_thermometer_lines>\nThermometer" as block #LightSteelBlue
+
+interface " " as q1
+interface " " as q2
+
+q1 --> block: detect
+block --> q2: temperature
+@enduml

Файловите разлики са ограничени, защото са твърде много
+ 13 - 0
img/building/thermometer.svg


BIN
img/collectors/collector.pdf


+ 14 - 0
img/collectors/collector.plantuml

@@ -0,0 +1,14 @@
+@startuml
+!include <material/archive>
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ma_archive>\nCollector" as block #Orange
+
+interface " " as q1
+interface " " as q2
+
+q1 --> block: input
+q2 --> block: clear
+@enduml

Файловите разлики са ограничени, защото са твърде много
+ 117 - 0
img/collectors/collector.svg


BIN
img/collectors/counter.pdf


+ 18 - 0
img/collectors/counter.plantuml

@@ -0,0 +1,18 @@
+@startuml
+!include <material/counter>
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ma_counter>\nCounter" as block #Orange
+
+interface " " as q1
+interface " " as q2
+interface " " as q3
+interface " " as q4
+
+q1 --> block: input
+block --> q2: output
+block --> q3: count
+q4 --> block: clear
+@enduml

Файловите разлики са ограничени, защото са твърде много
+ 151 - 0
img/collectors/counter.svg


BIN
img/collectors/estimate-collector.pdf


+ 14 - 0
img/collectors/estimate-collector.plantuml

@@ -0,0 +1,14 @@
+@startuml
+!include <material/chart_bar>
+
+left to right direction
+skinparam defaultTextAlignment center
+
+rectangle "<$ma_chart_bar>\nEstimate\nCollector" as block #Orange
+
+interface " " as q1
+interface " " as q2
+
+q1 --> block: input
+q2 --> block: clear
+@enduml

+ 0 - 0
img/collectors/estimate-collector.svg


Някои файлове не бяха показани, защото твърде много файлове са промени