Algorithms for next generation networks.