中文说明:采用matlab对WSN问题进行求解,算法为PSO算法,采用传感器节点的概率感知模型,迭代150次后能够找到最优解没对区域的覆盖率可达95%以上。代码可直接运行,结果为初始化、覆盖率随迭代次数的变化、最终结果。代码简单易懂,注释详细,适合新手入门
English Description:
Matlab is used to solve the WSN problem, the algorithm is PSO algorithm, and the probability perception model of sensor nodes is used. After 150 iterations, the optimal solution can be found, and the coverage rate of the area can reach more than 95%. The code can be run directly, and the result is initialization, the change of coverage with the number of iterations, and the final result. Code easy to understand, detailed notes, suitable for beginners