Skip to main content
Fig. 5 | BMC Bioinformatics

Fig. 5

From: A methodological approach for using high-level Petri Nets to model the immune system response

Fig. 5

Example of the use of a stochastic transitions to represent 2D random walk over a square grid with toroidal geometry. In this example we suppose that the place that represents TH entities contains tokens defined according the following product colorset: (STATE,LIFE,RECEPTOR, X, Y), with X and Y defined as integer colorsets. Random 2D Movement is achieved by using stochastic transitions. The x_inc and x_dec transitions are used to model movement under the x direction, whereas The y_inc and y_dec represent the movement on the y direction. The predecessor (−) and successor (+) colorset functions are here used to decrement or increment the position indices

Back to article page