{'fraction_non_alphanumeric': 0.015991471215351813, 'fraction_numerical': 0.0, 'mean_word_length': 5.302013422818792, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Comprehensive Energy Efficient Algorithm for WSN

Wireless sensor networks has been widely used. Energy problem is one of the important problems influencing the complete application. Sensor nodes use batteries as power source and have quite limit lifetime. So, efficiency of energy management becomes a key requirement in wireless sensor network design. Based on particle swarm optimization and ant colony optimization, a comprehensive algorithm with weight analysis has been proposed in the paper. In the algorithm, optimization method would be firstly used to determine the nodes number; then, particle  swarm optimization would be used to divide the networks into some clusters; finally, ant colony optimization is used to require the best transmission path and select the cluster head. The simulation results show that the new algorithm has higher energy efficiency and balanced energy consumption. It can extend the network lifetime.