
In graph theory, path coloring is a type of graph coloring where colors (or wavelengths) are assigned to a set of paths in a graph such that any two paths sharing an edge receive different colors. The objective is typically to minimize the number of colors used. Path coloring is motivated by the problem of allocating optical bandwidth to communication requests in all-optical networks that utilize Wavelength-division multiplexing (WDM).
Path coloring may refer to either the WA problem or the RWA problem.
In the wavelength assignment problem (or WA problem), the input consists of a graph
G
P
G
P
G
This formulation is equivalent to vertex coloring the conflict graph of
P
P
G
In the routing and wavelength assignment problem (also wavelength routing problem or RWA problem), the input consists of a graph
G
R
The RWA problem thus decomposes into two subproblems: the routing problem of selecting a path for each request, and the WA problem of coloring the resulting paths.
In general graphs where multiple paths exist between node pairs, these subproblems interact, making RWA more complex than WA alone.
In tree networks, the path connecting any two nodes is unique. Therefore, the routing subproblem becomes trivial, and wavelength routing in trees reduces to the WA problem. For this reason, research on path coloring often focuses on tree topologies.
The load of an edge is defined as the number of paths passing through it, and the load of a set of paths
L
Path coloring can be studied in both undirected and bidirected (directed) settings:
G
The directed variant models networks where each physical fiber link has separate capacity for each transmission direction.
Path coloring is NP-hard for both undirected and bidirected ring networks. For trees:
O((logn)1-\varepsilon)
\varepsilon>0
For undirected trees, a greedy algorithm using edge coloring of multigraphs achieves an approximation ratio of 3/2, which is tight. An algorithm with absolute approximation ratio 4/3 and asymptotic approximation ratio 1.1 also exists.
For bidirected trees, deterministic greedy algorithms achieve a
5L/3
L
7L/5+o(L)
Path coloring is closely related to call scheduling, which generalizes the problem by introducing bandwidth requirements and call durations. When all bandwidth requirements, edge capacities, and call durations equal 1, call scheduling reduces to the RWA problem, with colors corresponding to time slots.