An analysis and application of distributed constraint satisfaction and optimization algorithms in sensor networks