Aiming at solving the problem of uneven energy consumption in wireless sensor networks (WSNs),an uneven clustering routing protocol based on the improved firefly algorithm optimized back propagation(BP) neural network (IFABPUC) is proposed. To balance the intra-cluster load and reduce the inter-cluster communication distances,a weighting factor which takes into account four more evaluation indexes than the conventional firefly algorithm is embedded in the improved firefly algorithm. To achieve the best clustering, BP neural network is combined ...