Wavelength Selection Supporting Network Reconfiguration in WDM Networks