y_nelson 2.0.1 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -19
- data/lib/y_nelson/dsl.rb +3 -0
- data/lib/y_nelson/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a745274e2142a23e9a2d98a27994a9658594404d
|
4
|
+
data.tar.gz: 66cee0cdcb1460c34086cf8d750317d4ee0e6de5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 124789def499cca9e89ae46915c7bc7fc60f0c08ee7511bf7ab7a092ebf704a8659d345221d022a12d45c2f1c1bed33d27e1671524a58c57de79ff119853524a
|
7
|
+
data.tar.gz: 7b4a32eca7395031aa2809b4c53d6d50ce9ed0a085b12bcf71445ad0ffcfafb0fd6f4d01a521c2c0eb4bf24e3e3104e01372069e99c8ae1fa40c7ec264a9dc41
|
data/README.md
CHANGED
@@ -1,24 +1,31 @@
|
|
1
1
|
# YNelson
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
3
|
+
`YNelson` is a domain model and a simulator of _Nelson_ _nets_. A _Nelson_ _net_
|
4
|
+
is a Petri net, whose elements (places and transitions) have at the same time
|
5
|
+
the aspect of cells of the Zz structures described by Ted Nelson.
|
6
|
+
|
7
|
+
## Petri net aspect
|
8
|
+
|
9
|
+
`YNelson` provides a _domain_ _specific_ _language_ (DSL), that can be loaded by:
|
10
|
+
```ruby
|
11
|
+
require 'y_nelson'
|
12
|
+
include YNelson
|
13
|
+
```
|
14
|
+
`YNelson` DSL includes aspects of `YPetri`. It means, that it has the same
|
15
|
+
abilities as `YPetri`. See `YPetri` gem
|
16
|
+
[for Petri net aspect usage examples](https://github.com/boris-s/y_petri).
|
17
|
+
|
18
|
+
## Zz structure aspect
|
19
|
+
|
20
|
+
`YNelson` places and transtitions are both objects (or "cells", using Ted
|
21
|
+
Nelson's terminology) of a Zz structure. They exist in a multidimensional space,
|
22
|
+
where they can have at most 2 sides -- _posward_ and _negward_ -- in each
|
23
|
+
dimension. Zz structure aspect in general is defined in
|
24
|
+
[yzz gem](https://github.com/boris-s/y_petri). In addition to this, `YNelson`
|
25
|
+
automatically creates Zz connections in parallel to arcs of a Petri net. This
|
26
|
+
way, places and transtions of a Petri net, whose relations are normally captured
|
27
|
+
by arcs, can also have other relations defined, captured by Zz dimensions. Zz
|
28
|
+
structure aspect is still in alpha stage at present.
|
22
29
|
|
23
30
|
## Contributing
|
24
31
|
|
data/lib/y_nelson/dsl.rb
CHANGED
data/lib/y_nelson/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: y_nelson
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- boris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yzz
|