Input: Routing protocol;
Output: Interference information table;
If a node needs to send data, it should broadcasts active notice message in two-hop
range to inform other nodes, and the receiving node record the source nodes of
these control messages as the active neighbor list;
Each node calculates its own average cumulative interference in communication
process and broadcasts interference notice message including average cumulative
interference , the active neighbor list and the transmission power level in
one-hop range through routing protocol periodically;
After receiving a control message from a neighbor node, each node establishes
an interference information table to record the adjacent node’s average
cumulative interference , the adjacent node’s active neighbor nodes and the distance
to this adjacent node which is computed through the transmission power
and the received signal strength of the control message.
Algorithm 1: Collect interference information algorithm (CIIA).