Lean, Green, and Lifetime Maximizing Sensor Deployment on a Barrier