Latency and Energy-Consumption Optimized Task Allocation in Wireless Sensor Networks | IEEE Conference Publication | IEEE Xplore