Physics-inspired methods for networking and communications