Update
This commit is contained in:
parent
01203e13ab
commit
8899b4ff7f
14 changed files with 74 additions and 36 deletions
|
@ -26,7 +26,7 @@ An **agent** is a type of block that may appear in the net. We may see it as a b
|
|||
|
||||
Here we defined agents `ZERO`, with one port (only the principal one), `SUCC` (for "successor", one principal and one auxiliary port) and `ADD`, with three ports (one of them is principal).
|
||||
|
||||
Now let's define interaction rules with these agents. An interaction rule simply defines a pattern of interconnected agents that get replaced by another pattern; however **interaction rule may only be defined for agents both connected by their principal ports** (so called *active pairs*). Our interaction rules will be following:
|
||||
Now let's define interaction rules with these agents. An interaction rule simply defines a pattern of interconnected agents that get replaced by another pattern; however **interaction rule may only be defined for agents both connected by their principal ports** (so called *active pairs*). Naturally, the rules also have to keep the interface (edges going in and out) of the group the same. Our interaction rules will be following:
|
||||
|
||||
```
|
||||
rule 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue