A minimum cost heterogeneous sensor network with a lifetime constraint | Synapse