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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea818e5d4cb9055a77287cadec64a7050333f638
4
- data.tar.gz: 152909e30337e411763ad7f1c5b4d0edcddfa3a3
3
+ metadata.gz: a745274e2142a23e9a2d98a27994a9658594404d
4
+ data.tar.gz: 66cee0cdcb1460c34086cf8d750317d4ee0e6de5
5
5
  SHA512:
6
- metadata.gz: e15d5d83f1adb7299448d2517193f0b7caee251bd10a97480537d73d7c472dd7b1cf645fc0a187a0e73196905cbf7f0d001db90bc8697aa11e505240a66e3966
7
- data.tar.gz: c77ff082eb96e5f092d1624c72f019dce938f70ff329bc82c12f7f111f6183a2ec3aa7fe582a19ee8ae26cc624abd679f85c5cbae407074413dc22b62537c2cd
6
+ metadata.gz: 124789def499cca9e89ae46915c7bc7fc60f0c08ee7511bf7ab7a092ebf704a8659d345221d022a12d45c2f1c1bed33d27e1671524a58c57de79ff119853524a
7
+ data.tar.gz: 7b4a32eca7395031aa2809b4c53d6d50ce9ed0a085b12bcf71445ad0ffcfafb0fd6f4d01a521c2c0eb4bf24e3e3104e01372069e99c8ae1fa40c7ec264a9dc41
data/README.md CHANGED
@@ -1,24 +1,31 @@
1
1
  # YNelson
2
2
 
3
- TODO: Write a gem description
4
-
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- gem 'y_nelson'
10
-
11
- And then execute:
12
-
13
- $ bundle
14
-
15
- Or install it yourself as:
16
-
17
- $ gem install y_nelson
18
-
19
- ## Usage
20
-
21
- TODO: Write usage instructions here
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
@@ -60,6 +60,9 @@ module YNelson
60
60
  :plot_selected,
61
61
  :plot_state,
62
62
  :plot_flux,
63
+ :plot_firing,
64
+ :plot_gradient,
65
+ :plot_delta,
63
66
  to: :y_nelson_agent )
64
67
 
65
68
 
@@ -1,4 +1,4 @@
1
1
  module YNelson
2
2
  DEBUG = false
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.3"
4
4
  end
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.1
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-18 00:00:00.000000000 Z
11
+ date: 2013-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yzz