tokens: A different approach , , presents a particle swarm optimization ( PSO ) algorithm in order to solve the problem of resource allocation based on the signal - to - noise plus interference ratio optimization in a hybrid wavelength division multiplexing / optical code division multiplexing network ( WDM / OCDM ) under Quality of Service ( QoS ) restrictions and the energy efficiency constraint problem .