#include "maisie.h" /* #include "stdlib.h" */ #define N 300 /* N is the number of rounds */ #define B 250 /* B is the message size (1K) */ #define P 16 /* P is the number of entities */ #define C 500 /* C indicates amount of computation */ /* This is a random topology program. */ /* It sends a message around N times among P entities. */ /* Adapted for Masie v. 3.0 on 2-25-97 */ /* Declare global message types */ message enemy {ename name;}; message bomb {int size[B];}; /* Driver created terrorist entities */ entity driver {} { int id, my_id; ename Terrorist[P]; int bombarray[B]; for (id=0; id