Borrar filtros
Borrar filtros

Graph coloring code for optical wavelength assignment problem

1 visualización (últimos 30 días)
Duano Silva
Duano Silva el 14 de Feb. de 2016
Comentada: Image Analyst el 14 de Feb. de 2016
Hi,
I'd like someonte share with me code for graph coloring where the input is a network routing matrix and the output have to be the wavelength assignment.
Duano Silva

Respuestas (1)

Image Analyst
Image Analyst el 14 de Feb. de 2016
Perhaps the hsv() function will help:
colormap(hsv(256))
colorbar
  3 comentarios
Walter Roberson
Walter Roberson el 14 de Feb. de 2016
No, if that was what you wanted to do then that would be a duplicate of your question http://uk.mathworks.com/matlabcentral/answers/267935-how-i-get-a-graph-coloring-from-a-routing-matrix. As we know you would not knowingly post the same question twice, you must have accidentally copied that question when you meant to ask something different here.
Image Analyst
Image Analyst el 14 de Feb. de 2016
I don't know much about graphs/networks. I was simply notifying you about a function that makes a nice list of colors in a rainbow spectrum. Use it as you see fit, if it helps you. I can't help beyond that, but, good luck.

Iniciar sesión para comentar.

Categorías

Más información sobre Graph and Network Algorithms en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by