Algorithm 2. Intra-CRBAN data transmission. |
Input: Information of data channel and start_time of CBi {Chik(t) = 1, ΔT(Bi)}, length of frame T, time slot for data transmission ts, set of unscheduled sensors sij ∈ CBi
Output: Data transmission schedule of the sensor nodes 1. Assign schedule = ø 2. For each sij ∈ CBi 3. Find the sij so that (pij)max 4. Add sij to the schedule: schedule = {sij} 5. Assign start_time(sij ) = ΔT(Bi) 6. Update current_time = ΔT(Bi) + ts 7. Remove sij out of CBi 8. End For |