Research Article

Formal and Executable Specification of Random Waypoint Mobility Model Using Timed Coloured Petri Nets for WMN

Table 1

The color set.

Color Set Definition

colset INT = intInteger color set
varsp, bb, , , , dir, a: INT;Integer type variables
colset ID = intNode identity
var id, h, h, c, c, d, d: IDNodes variables
colset COOR = product ID * IDProduct type coordinates (-axis, -axis)
colset STEP = intMovement steps
var steps: STEPSteps type variable
colset STATUS = with HOME ∣ MOVING ∣ FINISHThree states if MH, home, moving, or finish (reached to destination)
colset NODE = product ID * STEP * COOR * COOR * COOR * STATUS timedTimed node color set 6-tuple consists of node ID, step number, home, current, destination, and current status
var : NODENode type variable
colset COMPLETE = product ID * STEP * COOR * COOR * COOR * STATUS * INT timedProduct type color set same as NODE but it includes 1 more tuple after STATUS as INT, which increased by 1 on every successful epoch