process-bigraph 0.0.4__tar.gz → 0.0.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {process-bigraph-0.0.4/process_bigraph.egg-info → process-bigraph-0.0.7}/PKG-INFO +1 -1
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/__init__.py +5 -1
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/composite.py +387 -86
- process-bigraph-0.0.7/process_bigraph/emitter.py +58 -0
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/experiments/minimal_gillespie.py +117 -91
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/registry.py +1 -0
- process-bigraph-0.0.7/process_bigraph/tests.py +354 -0
- process-bigraph-0.0.7/process_bigraph/type_system.py +383 -0
- {process-bigraph-0.0.4 → process-bigraph-0.0.7/process_bigraph.egg-info}/PKG-INFO +1 -1
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph.egg-info/SOURCES.txt +1 -0
- process-bigraph-0.0.7/process_bigraph.egg-info/requires.txt +3 -0
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/setup.py +4 -2
- process-bigraph-0.0.4/process_bigraph/tests.py +0 -122
- process-bigraph-0.0.4/process_bigraph/type_system.py +0 -166
- process-bigraph-0.0.4/process_bigraph.egg-info/requires.txt +0 -1
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/AUTHORS.md +0 -0
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/LICENSE +0 -0
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/README.md +0 -0
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/experiments/__init__.py +0 -0
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/processes.py +0 -0
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph/protocols.py +0 -0
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph.egg-info/dependency_links.txt +0 -0
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/process_bigraph.egg-info/top_level.txt +0 -0
- {process-bigraph-0.0.4 → process-bigraph-0.0.7}/setup.cfg +0 -0
|
@@ -2,10 +2,14 @@ from process_bigraph.composite import Process, Step, Composite
|
|
|
2
2
|
from process_bigraph.type_system import types
|
|
3
3
|
from process_bigraph.protocols import local_lookup
|
|
4
4
|
from process_bigraph.registry import protocol_registry, process_registry
|
|
5
|
+
from process_bigraph.emitter import ConsoleEmitter, RAMEmitter
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
# register protocols
|
|
8
9
|
protocol_registry.register('local', local_lookup)
|
|
9
10
|
|
|
10
11
|
# register processes
|
|
11
|
-
# TODO
|
|
12
|
+
# TODO
|
|
13
|
+
process_registry.register('console-emitter', ConsoleEmitter)
|
|
14
|
+
process_registry.register('ram-emitter', RAMEmitter)
|
|
15
|
+
|