中文说明:代码 implemts 功率控制算法的 ad hoc 网络。其初始代码,有可能会在它的错误。该代码绘制到每个节点在网络中每个节点布设的力量的结果。此外,它计算在每个节点的网络和能源消耗的平均功率。
English Description:
The code implemts power control algorithm for ad hoc network. Its an initial code and there can be errors in it. The code plots the results of power of each node corrosponding to each node in the network. Moreover, it calculates average power in the network and energy consumption of each node.