| 36 | |
| 37 | |
| 38 | == Introducing an unbounded place |
| 39 | |
| 40 | For every distinct state of the root net there is a state in the reachability graph. |
| 41 | While common algorithms that create reachability graphs terminate in this case, the ReferenceNetsReachabilityGraph Plugin does not contain a comparison of markings yet. |
| 42 | Consequently, if any net contains an unbounded place, an infinite amount of nodes are created in the reachability graph. |
| 43 | To illustrate, the previous example has been modified to include a place, which counts how many times the resource in the reader/writer problem has been accessed. |
| 44 | |
| 45 | === Example |
| 46 | |
| 47 | [[Image(rw-counter-net.pdf)]] |
| 48 | [[Image(rw-counter-rggraph.pdf)]] |
| 49 | |
| 50 | As a result of the newly introduced place, a chain of nodes emerge in the reachability graph, wherein each cycle in the root net results in an additional token in the reachability graph. |
| 51 | So although only one place in the net accumulates tokens and the possible transition sequences are irrelevant to the number of tokens in that place, the resulting reachability graph gets infinitely more nodes. |
| 52 | It is still possible to visualise a portion of it by setting a depth limit for exploration. |
| 53 | However, a better approach to visualise these kinds of state spaces would be the coverability graph, which may come in a later update. |