| Algorithm 1 A broadcast slot (BS) scheduling algorithm |
| //N = the number of BSs to be scheduled |
| //m = the number of children |
| //BSN(i) = the BS number assigned to node i |
| If i is a sink then |
| If i is an intermediate node then |
| Algorithm 1 A broadcast slot (BS) scheduling algorithm |
| //N = the number of BSs to be scheduled |
| //m = the number of children |
| //BSN(i) = the BS number assigned to node i |
| If i is a sink then |
| If i is an intermediate node then |