Toward a theory of in-network computation in wireless sensor networks | Synapse