I would do it by setting up an X-Y grid, 100 x 100 units square.
Some locations have a radio.
Some radios are a good guy. Some radios are an attacker.
During a time period of 1 mSec, some radios will go to a different channel.
Examine every radio.
If an attacker and good guy are located less than 5 units from each other, and they are on the same channel, then the good guy is jammed.
Increment the time marker. Repeat the above process.
I found out what is meant by cognitive radios, and attacks, by reading this article: