Next Article in Journal
Carbon Oxides Gases for Occupancy Counting and Emergency Control in Fog Environment
Previous Article in Journal
Vision-Based Parking-Slot Detection: A Benchmark and A Learning-Based Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Spectrum Graph Coloring and Applications to Wi-Fi Channel Assignment

by
David Orden
1,*,
Jose Manuel Gimenez-Guzman
2,
Ivan Marsa-Maestre
2 and
Enrique De la Hoz
2
1
Departamento de Física y Matemáticas, Universidad de Alcalá, Escuela Politécnica Superior, 28805 Alcalá de Henares (Madrid), Spain
2
Departamento de Automática, Universidad de Alcalá, Escuela Politécnica Superior, 28805 Alcalá de Henares (Madrid), Spain
*
Author to whom correspondence should be addressed.
Symmetry 2018, 10(3), 65; https://doi.org/10.3390/sym10030065
Submission received: 13 February 2018 / Revised: 8 March 2018 / Accepted: 10 March 2018 / Published: 14 March 2018

Abstract

:
We introduce and explore a family of vertex-coloring problems, which, surprisingly enough, have not been considered before despite stemming from the problem of Wi-Fi channel assignment. Given a spectrum of colors, endowed with a matrix of interferences between each pair of colors, the Threshold Spectrum Coloring problem fixes the number of colors available and aims to minimize the interference threshold, i.e., the maximum of the interferences at the vertices. Conversely, the Chromatic Spectrum Coloring problem fixes a threshold and aims to minimize the number of colors for which respecting that threshold is possible. As the main theoretical results, we prove tight upper bounds for the solutions to each problem. Since both problems turn out to be NP-hard, we complete the scene with experimental results. We propose a DSATUR-based heuristic and study its performance to minimize the maximum vertex interference in Wi-Fi channel assignment, both for randomly-generated graphs and for a real-world scenario. Further, for all these graphs, we experimentally check the goodness of the theoretical bounds.

1. Introduction

Graphs are a very useful model to represent complex networks [1], and in particular, graph coloring is one of the main problems in discrete mathematics, attracting researchers from both mathematics and engineering because of its theoretical challenges and its applications [2,3]. One of the most prominent applications of vertex-coloring problems is frequency assignment [4], with a huge variety of models ranging from the most naive, forbidding monochromatic edges, to the most general, with assignment constraints, interference constraints and an objective function.
The present work introduces and explores an intermediate model, which is shown to be interesting enough for mathematicians and useful enough for engineers: an abstract graph G and a spectrum of colors S = { c 1 , , c s } endowed with a matrix W of non-negative distances W i j = W ( c i , c j ) between each pair of colors, playing the role of interferences. Throughout this paper, the graph G will be undirected, and thus, the matrix W will be symmetric. For such a pair ( G , W ) , a coloring c of the graph will induce at each vertex v an interference:
I v ( G , W , c ) = u N ( v ) W ( c ( u ) , c ( v ) ) .
This model stems naturally from the problem of Wi-Fi channel assignment. We all use the IEEE 802.11 (Wi-Fi) technology, which has been widely deployed in local area networks, mostly because of both its low cost and the use of unlicensed frequency bands. However, for a successful deployment, there are some performance issues to be managed, such as avoiding an excessive interference that will impact performance. There is a direct relation between interference and perceived throughput [5], so that minimizing the interference would result in maximizing the available throughput. This is why a frequency channel has to be selected for each access point (AP), accounting for interferences between channels and trying to minimize the total interference in order to maximize performance. Similar goals have been considered recently in the literature for related problems, like bandwidth allocation in cellular networks [6].
In the recent past, we have successfully used our model to find efficient frequency assignments both in wireless surveillance sensor networks [7] and in real-world scenarios [8]. We have even applied our model to reconfigure a critical network in the event of a security incident [9]. With the present paper, we aim to formally introduce a mathematically-rigorous description of the model, exploring two novel coloring problems for which we provide theoretical bounds, show their complexity and finally propose and test a heuristic.
In particular, the remainder of this section introduces the two novel coloring problems and presents a case study to illustrate both of them, finishing with a compilation of relevant related work. Section 2 is devoted to theoretical results, proving upper bounds for the solutions to each problem. Section 3 starts showing that both problems are NP-hard, so a DSATUR-based heuristic is proposed for each problem, and experimental results are given to compare these heuristics with selected reference approaches for randomly-generated graphs. Section 4 goes a step further by showing experimental results for a realistic setting. Finally, Section 5 summarizes our conclusions.

1.1. Two Novel Coloring Problems

First, we introduce the problem that best fits the setting of Wi-Fi channel assignment, which we call the Threshold Spectrum Coloring (TSC) problem: Given a graph G and a spectrum of k colors (channels), endowed with a k × k matrix W of interferences between them, the goal is to determine the minimum threshold t R 0 such that ( G , W ) admits a k-coloring c (assignment of channels) in which the interference at every vertex is at most t, i.e., I v ( G , W , c ) t , v . Such a minimum t will be called the minimum k-chromatic threshold of ( G , W ) , denoted as T k ( G , W ) .
Then, since the TSC problem fixes the parameter k and aims to minimize the parameter t, it is natural to wonder about the complementary problem: In the Chromatic Spectrum Coloring (CSC) problem, a threshold t R 0 is fixed, and the spectrum is allowed to have as the size the number | V ( G ) | of vertices, the goal being to determine the minimum number of colors (channels) k N such that ( G , W ) admits a k-coloring c (assignment of channels) in which the interference at every vertex is at most that threshold t. Such a minimum k will be called the t-interference chromatic number of ( G , W ) , denoted as χ t ( G , W ) . This CSC problem has also a translation in the context of frequency assignment: it aims to compute the minimum number of frequencies (colors) that guarantees a minimum throughput to every user in the network, so it can be seen as the problem of determining the number of resources required to provide a certain quality of service.

1.2. A Case Study

Let us illustrate these two problems by analyzing an easy, but non-trivial, example using the paw graph P G [10]; see Figure 1 (right).
For the TSC problem, consider a spectrum of k = 3 colors:
S = { red , green , blue }
endowed with the 3 × 3 matrix of interferences with exponential decay of base two,
W 2 e d = 1 1 / 2 1 / 4 1 / 2 1 1 / 2 1 / 4 1 / 2 1 .
See Figure 1 (left) for an illustration. In this TSC problem, we have a fixed number of colors k, and we want to find the smallest possible interference threshold t. Figure 1, right, shows all the proper (without monochromatic edges) three-colorings of the paw graph, together with the interferences they induced at the edges and the consequent interference I v ( P G , W 2 e d , c ) at every vertex v. Observe that the highlighted colorings achieve interference at most t = 1 at every vertex. This is impossible for improper colorings, since the matrix W assigns interference of one to monochromatic edges, which, therefore, will lead to one of its endpoints having interference greater than one.
Let us show now that, in this setting, no coloring can achieve a maximum vertex interference t strictly smaller than one: Focus on the central vertex of the paw graph, and observe that, according to the matrix W 2 e d , the vertex can only achieve an interference smaller than one if it is colored red and its neighbors are colored blue, or vice versa. However, this gives rise to a monochromatic edge between the left vertices of the paw, which implies interference greater than one at those two vertices. See Figure 2.
Therefore, we have solved the corresponding TSC problem, proving that for the paw graph P G with k = 3 colors and a matrix W 2 e d with exponential decay of base two, the minimum chromatic threshold t achievable is one, i.e.,
T 3 ( P G , W 2 e d ) = 1 .
For the CSC problem, the size of the spectrum is allowed to equal the number of vertices, which is four in the paw graph P G . Consider for example S = { red , green , blue , violet } , also endowed with the matrix of interferences with exponential decay of base two, in this case of size 4 × 4 ,
W 2 e d = 1 1 / 2 1 / 4 1 / 8 1 / 2 1 1 / 2 1 / 4 1 / 4 1 / 2 1 1 / 2 1 / 8 1 / 4 1 / 2 1 .
In this setting, one can fix an interference threshold t = 1 and aim to find the smallest number k of colors for which such a threshold is achievable. The discussion above for the previous problem shows that the threshold t = 1 can be achieved with three of those colors, i.e., k = 3 . We now show that such a threshold is impossible to achieve with only k = 2 colors among the four colors available: Focus again on the central vertex of the paw graph P G . If it has a neighbor with its same color, then a monochromatic edge arises, and as above, this implies the interference at some vertex being greater than one. If the central vertex has no neighbor with its same color, then all its neighbors share a common color, so that again, a monochromatic edge arises, and there is a vertex with interference greater than one. See Figure 3.
Therefore, we have solved the corresponding CSC problem proving that, for the paw graph P G with threshold t = 1 and a matrix W 2 e d with exponential decay of base two, the interference chromatic number is three, i.e.,
χ 1 ( P G , W 2 e d ) = 3 .

1.3. Related Work

Araujo et al. [11] considered a weight function w on the edges of the graph G instead of a matrix W of interferences between colors, defining the interference at a vertex to be the sum of weights of incident monochromatic edges. Although their bounds are similar to ours, using analogous techniques, we further show tightness and follow a different, more detailed, scheme. Many other works impose conditions on the colors of the endpoints of any edge. Most of them can be framed into L ( p 1 , , p k ) -labellings [12], where vertices at distance i must get colors at distance of at least p i . Particular instances include distance coloring [13], where no two vertices at a distance of at most d can have the same color, λ -coloring [14], where adjacent vertices must get colors at least two apart and vertices at a distance of at most two must get different colors, as well as L ( h , k ) -labellings [15], where adjacent vertices must get colors at least h apart and vertices at a distance of two must get colors at least k apart.
For another setting, in a bandwidth coloring [2], a distance d i j is associated with each particular edge i j , forcing its endpoints to get colors at least d i j apart. A similar flavor has the T-coloring [16], where adjacent vertices must get colors whose distance is not in a prescribed set T, and the S-coloring [17], where the vertices have to be partitioned into sets with prescribed pairwise distances.
Of a different nature is the approach of coloring the edges of the graph instead of the vertices [18], an approach that has been applied to minimize the number of distinct channels used to route messages in a network [19].
Finally, of independent interest are the works on the frequency assignment problem, which use different models to fit the characteristics of specific applications. The bibliography about this problem is too extensive to include here even a selection. Instead, we prefer referring the reader to the comprehensive survey by Aardal et al. [4].

2. Theoretical Results

In this section, we prove theoretical upper bounds for the goal of the TSC problem, the minimum k-chromatic threshold T k ( G , W ) , and for the aim of the CSC problem, the t-interference chromatic number χ t ( G , W ) .
Given a graph G, a matrix W and a coloring c, we denote the potential interference at vertex v if this vertex had color i as:
I v i ( G , W , c ) = u N ( v ) W ( c ( u ) , i ) .
Note that for i, the actual color of v, i.e., i = c ( v ) , we get the actual interference at vertex v, that is, I v c ( v ) ( G , W , c ) = I v ( G , W , c ) .
We will say that a k-coloring c of G is W-stable if, for every vertex, the actual interference is no greater than any of the potential interferences, i.e., if for every vertex v, we have I v ( G , W , c ) I v j ( G , W , c ) for all j { 1 , , k } . We first prove that stable colorings do exist:
Proposition 1.
Given a graph G and a spectrum S of size | S | 2 endowed with a matrix W of interferences, there exists a W-stable coloring of G.
Proof. 
Let I be the sum of edge-interferences for the current coloring c, i.e.,
I = u v E W ( c ( u ) , c ( v ) ) .
(Note that this is actually half of the sum of interferences at every vertex.) Observe that any coloring achieving the minimum for this sum of edge-interferences will be a W-stable coloring of G: if there is a current interference I v c ( v ) that is greater than a potential interference I v i , then recoloring would lead to a smaller sum I of edge-interferences. Furthermore, we can prove that such a stable coloring can be found by a random greedy algorithm: start with a random coloring of the graph G = ( V , E ) , and if there exist a vertex v V and a color j S such that the potential interference I v j ( G , W , c ) for that color is smaller than the current interference I v c ( v ) ( G , W , c ) , then recolor the vertex v with color j and repeat.
Each step of the procedure increases I by I v j ( G , W , c ) and decreases I by I v c ( v ) ( G , W , c ) (in both cases, c is the initial coloring before the step). Hence, the sum of edge-interferences I decreases by a positive amount I v c ( v ) ( G , W , c ) I v j ( G , W , c ) , and the random greedy algorithm finishes with a W-stable coloring of G. ☐
Before proving our bounds, we also need the following lemma:
Lemma 1.
Any W-stable k-coloring c of a graph G fulfills that, for each vertex v,
k I v c ( v ) ( G , W , c ) deg ( v ) | | W | | ,
where | | W | | = max i j W i j is the natural norm of the matrix W.
Proof. 
First, observe that such a coloring fulfills:
k I v c ( v ) ( G , W , c ) j = 1 k I v j ( G , W , c ) ,
because c being stable implies that the interference I v c ( v ) ( G , W , c ) is actually no greater than all of the potential interferences I v j ( G , W , c ) . Restating the sum of the potential interferences at v as the sum of interferences contributed by neighbors of each color while varying the color of v, the right-hand side in the previous equation equals:
u N ( v ) | c ( u ) = 1 j W 1 j + + u N ( v ) | c ( u ) = k j W k j
and this sum is no greater than the number of neighbors of v times the maximum of the sums j W i j , i.e., no greater than deg ( v ) | | W | | . ☐
Now, we are ready to prove an upper bound for the aim of the TSC problem:
Theorem 1.
Given a graph G and a spectrum S of size | S | endowed with a matrix W of interferences, for any fixed natural number 2 k | S | , the following bound holds for the minimum k-chromatic threshold T k ( G , W ) :
T k ( G , W ) Δ ( G ) | | W | | k ,
where Δ ( G ) is the maximum vertex-degree in the graph G. Furthermore, this bound is tight.
Proof. 
By definition of T k ( G , W ) , in order to prove the bound, it is enough to prove that there exists a coloring c 0 of G with k colors for which the interference at every vertex does not exceed the threshold t 0 = Δ ( G ) | | W | | k . Because of Proposition 1 and k 2 , we know that there exists a W-stable coloring c 0 of G using k colors. It just remains to prove the interference condition: For every vertex v with maximum interference, we have:
k T k ( G , W ) k I v c 0 ( v ) ( G , W , c 0 ) deg ( v ) | | W | | ,
where the leftmost inequality follows from T k ( G , W ) being minimum and the rightmost inequality comes from Lemma 1. The bound in the statement follows.
For the final claim in the statement, it is enough to note that taking k = 2 and W = I , our bound results in T 2 ( G , W ) Δ ( G ) 2 , which is tight for the graph G being a cycle of odd length. In that case, it is not possible to avoid monochromatic edges, with the best coloring achieving a single monochromatic edge and, therefore, the smallest threshold of one, which matches the bound Δ ( G ) 2 = 2 2 = 1 . ☐
Next, we provide an upper bound for the aim of the CSC problem. The bound uses the generalization of the greatest common divisor (gcd) to non-integer numbers, which is defined analogously just considering that a number x divides a number y if the fraction y / x is an integer.
Theorem 2.
Given a graph G and a spectrum S having size | S | 2 and endowed with a matrix W of interferences, for any fixed threshold t being a multiple of gcd ( W ) and such that | S | t Δ ( G ) | | W | | , the following bound holds for the t-interference chromatic number χ t ( G , W ) :
χ t ( G , W ) Δ ( G ) | | W | | + gcd ( W ) t + gcd ( W ) .
If t is not a multiple of gcd ( W ) , the bound can be expressed as:
χ t ( G , W ) Δ ( G ) | | W | | + gcd ( W ) gcd ( W ) t gcd ( W ) + gcd ( W ) ,
where t is replaced by the nearest multiple of gcd ( W ) below t. Furthermore, these bounds are tight.
Proof. 
The number of colors has to be at least one, and the bound is trivially satisfied for χ t ( G , W ) = 1 , so let us focus on the case χ t ( G , W ) > 1 . We start with the case of t being a multiple of gcd ( W ) .
By definition of χ t ( G , W ) , in order to prove the bound, it is enough to prove that there exists a coloring c 0 of G with k 0 = Δ ( G ) | | W | | + gcd ( W ) t + gcd ( W ) colors for which the interference at every vertex does not exceed the threshold t, i.e., I v ( G , W , c 0 ) t , v . Note that the condition on the threshold in the statement ensures that k 0 | S | .
Because of Proposition 1 and k 0 2 , we know that there exists a W-stable coloring c 0 of G using k 0 colors. Hence, it just remains to prove the interference condition.
By contradiction, suppose that for the coloring c 0 , there is a vertex v in G with an interference above the threshold t, i.e.,
I v c 0 ( v ) ( G , W , c 0 ) > t
which, because of t and the interferences around a vertex being multiples of gcd ( W ) , implies:
I v c 0 ( v ) ( G , W , c 0 ) t + gcd ( W ) .
Then, since the coloring c 0 is stable, Lemma 1 leads to:
Δ ( G ) | | W | | deg ( v ) | | W | | k 0 I v c 0 ( v ) ( G , W , c 0 ) k 0 ( t + gcd ( W ) ) ,
where the leftmost inequality follows from the definition of Δ ( G ) .
However, then, our choice of k 0 implies that:
Δ ( G ) | | W | | Δ ( G ) | | W | | + gcd ( W ) ,
which is a contradiction.
The same arguments work for the case of t not being a multiple of gcd ( W ) , taking into account that interferences around a vertex have to be multiples of gcd ( W ) . For the final claim in the statement, it is enough to take W = I and t = 0 (which is possible as long as | S | Δ ( G ) + 1 , i.e., the coloring is not forced to be improper). Thus, our bound coincides with Brooks’ bound [20] for the chromatic number χ 0 ( G , I ) = χ ( G ) Δ ( G ) + 1 , which is tight for the graph G being a cycle of odd length. ☐
The reader can check that the case analyzed in Section 1.2 does fulfill the bounds in Theorems 1 and 2; respectively:
1 = T 3 ( P G , W 2 e d ) Δ ( P G ) | | W 2 e d | | 3 = 3 · 2 3 = 2
and:
3 = χ 1 ( P G , W 2 e d ) Δ ( P G ) | W 2 e d | | + gcd ( W 2 e d ) 1 + gcd ( W 2 e d ) = 3 · 9 4 + 1 8 1 + 1 8 = 7 .
Note that, in this case, the small size of the graph makes the upper bound of seven exceed the actual size of the spectrum | S | = | V ( G ) | = 4 , because the chosen threshold t = 1 does not fulfill the condition in the statement of Theorem 2:
4 = 4 · 1 = | S | · t < Δ ( P G ) · | | W 2 e d | | = 3 · 9 4 = 27 4 = 6.75 .
Observation 1.
The condition on the threshold t in the statement of Theorem 2 reflects the fact that a trade-off is needed between the threshold t and the size | S | of the spectrum, since decreasing one of them might require an increase in the other. Furthermore, the theorem still has useful practical implications for values of the threshold t not fulfilling that condition: If the user were allowed to extend the spectrum S in such a way that (i) the bound given in the theorem is now below the size | S | and (ii) neither | | W | | , nor gcd ( W ) are increased, then the threshold t would fulfill the condition. Thus, the user would get not only an upper bound for the t-interference chromatic number, but also a certificate that for such a t, the problem would be solvable for the extended spectrum. Finally, let us mention that the condition can be further refined to | S | t Δ ( G ) | | W | | gcd ( W ) ( | S | 1 ) .
It is interesting to note that, as long as the size of the spectrum is large enough for the chosen threshold, our bounds do not depend on the number of vertices in the graph G, but only on its maximum degree Δ ( G ) . For the sake of applications to Wi-Fi channel assignment, this guarantees the scalability of the bounds for a growing number of APs as long as the maximum number of interfering APs can be restrained. Such a property has interesting implications in the design and planning of wireless networks infrastructures, since the transmitting power of the APs could be adjusted to guarantee that the degree of the graph stays below the necessary value, and therefore, to satisfy the maximum interference threshold for a given performance requirement.

3. Experimental Results for Random Graphs

The well-known Vertex Coloring (VC) problem, which aims at a proper coloring (with no monochromatic edges), is a particular case of our Chromatic Spectrum Coloring problem, using the identity I as the matrix of weights and a threshold t = 0 . Therefore, the usual chromatic number is the zero-interference chromatic number of ( G , I ) , that is,
χ ( G ) = χ 0 ( G , I ) .
With the same identity matrix and a threshold t, we get the Improper Coloring problem, which allows at most t monochromatic edges around a vertex. These two particular cases are NP-hard [21,22], hence so is our Chromatic Spectrum Coloring problem. In addition, fixing any k 2 , it is NP-complete to decide if there exists a k-coloring with interference at most any threshold t 2 ; see [11] and the references therein. This implies that our Threshold Spectrum Coloring is also NP-hard.
The hardness of the VC problem has given rise to many heuristics and metaheuristics for different vertex-coloring problems, e.g., [23,24,25]. With the TSC and CSC problems introduced in this paper being even more general, this section is devoted to experimentally test several techniques, in a range of scenarios, and to compare their performance for the TSC and CSC problems.
As a bonus, these experiments will allow checking how tight or loose are, for average scenarios, the theoretical upper bounds given in Theorems 1 and 2.

3.1. Settings

Although we are aware of the number of benchmarks available like, e.g., those in DIMACS [26], the fact that this is a seminal work, introducing a new type of coloring from both theoretical and applied perspectives, has led us to start the experiments by considering the widely-used Erdos–Renyi (ER) random graphs [27]. In these graphs, every pair of vertices has a prescribed probability p of being connected. We have created different categories of graphs, by varying the number of vertices n and the probability of connection p. In particular, we generated 10 graphs for each combination of the same settings used in [25,28], that is the number of vertices n { 60 , 70 , 80 } and the probability of connection p { 0.1 , 0.3 , 0.5 , 0.7 , 0.9 } , performing 20 repetitions of each experiment per graph.
For the matrix of interferences between colors, we have considered the exponential decay of base two already used in Section 1.2, W i j = 1 / 2 | i j | . Other choices have also been explored, leading to similar results, which are not included here in order to avoid an excessive length of the paper.
For the TSC problem, we have considered k { 4 , 6 , 11 } as values for the number of colors in the spectrum, while for the CSC problem, we have considered thresholds t { n p / 4 , n p / 2 , 3 n p / 4 } , n p being the expected average degree of the graph. These choices have a two-fold interest: on the one hand, due to including the number k = 11 of channels available in the Wi-Fi problem, so that our results show interference thresholds that can be achieved at every vertex; on the other hand, because the choices for k turn out to be similar to the best number of colors obtained for the chosen values of t and vice versa.
All the experiments in this paper have been conducted on an Intel® Core i7-2600 with 8 CPUs @3.40 GHz and 8 GB RAM, running Ubuntu 14.04.4 LTS.

3.2. Coloring Techniques Used for Benchmarking

For an experimental analysis of our two problems, we propose heuristics inspired by the sequential greedy algorithm DSATUR [29] used for the Vertex Coloring problem. Our implementation TSC-DSATUR for the Threshold Spectrum Coloring problem looks for the color minimizing the interference at v, as shown in Algorithm 1. The algorithm starts with an undefined coloring (1) and iterates by selecting at each iteration the uncolored vertex with the highest saturation degree, that is the one with more already-colored neighbors, the one with the highest degree in the case of a tie or a random vertex among the highest-degree vertices in the case of a double tie (2). Once a vertex v has been selected, a color is assigned from the available set so that the interference at vertex v is minimized (3).
Algorithm 1: TSC-DSATUR coloring algorithm.
Symmetry 10 00065 i001
Our implementation CSC-DSATUR for the Chromatic Spectrum Coloring problem is shown in Algorithm 2. The algorithm looks for a color that does not make the interference at v exceed the product of the fixed threshold t by the proportion of neighbors already colored (1). That is, if vertex v has five neighbors, but only three of them have been colored so far, the color chosen should guarantee the interference at v to be at most 3 5 t . For a color to be chosen, this constraint must hold not only for v, but also for any neighbor of v which has already been colored (2). This is a conservative approach, to ensure that it is not possible to have a solution where the maximum interference per vertex is above the threshold.
Algorithm 2: CSC-DSATUR coloring algorithm.
Symmetry 10 00065 i002
For comparison with our heuristics, we have tested a generic nonlinear optimizer based in particle swarm optimization (PSO) [30].
For the TSC problem, we have used the sum of the interferences per vertex as the objective function, since our experiments proved that PSO performed significantly worse when using the maximum interference per vertex. For the CSC problem, we have used the same PSO optimizer as for TSC in an iterative manner, progressively increasing the number of colors k from one to | V | , until we get a solution whose maximum interference per vertex is below the threshold t.
Moreover, as a baseline reference, we have evaluated a random coloring approach, which simply selects the color for each vertex from a uniform distribution on the color set. As in the case of PSO, for the CSC problem, this reference has been run in an iterative manner with an increasing number of colors k until a valid solution has been found.

3.3. Results

Recall that the bound in Theorem 1 was tight, since for some graphs, it cannot be improved. However, this does not mean that tightness is achieved for every graph. Hence, we start our experimental results by showing, in Table 1, the theoretical bound given in Theorem 1 and the gap between the best value obtained by the different techniques under study, random, TSC-DSATUR and PSO, expressed as a percentage of the bound (note that the gap is computed with real values and rounded afterwards). It can be observed that the more complex is the graph, the tighter is the bound in Theorem 1.
On the other hand, Table 2, Table 3 and Table 4 show the results obtained for the Threshold Spectrum Coloring with k equal to 4, 6 and 11 colors, respectively, and for each graph category. In columns, we have represented the average (showing in boldface the best value of each row) and standard deviation for the maximum vertex interference T k ( G , W ) achieved using each evaluated strategy: the random reference, our implementation of TSC-DSATUR and the nonlinear optimizer PSO. In addition, we also show the average time required to compute that interference T k ( G , W ) .
It is important to observe that the results in Table 4 provide, for the Wi-Fi channel assignment problem in the corresponding graph, an interference threshold that can be ensured to be achievable at every vertex.
As for the algorithms, the results show that the performance in terms of T k ( G , W ) of our heuristic TSC-DSATUR is better than the performance of PSO, except for a very limited number of cases. Moreover, in those few cases where PSO is better than TSC-DSATUR, the difference is very small. If we analyze the running times of both techniques, we can observe that TSC-DSATUR runs about 1000-times faster than PSO. From these results, we can conclude that the use of the heuristic algorithm TSC-DSATUR is very advisable, as it is able to obtain results that are usually better than those obtained by the nonlinear optimizer PSO, but with much lower computation requirements.
If we compare both algorithms in more detail, and in general, we can conclude that the performance of TSC-DSATUR in comparison to PSO decreases as the complexity of the graph increases, i.e., as p increases, both performances being fairly similar when p = 0.9 . This is due to the fact that PSO deals better with complex nonlinear problems. Furthermore, the standard deviations are noticeable lower in PSO than in TSC-DSATUR. As expected, the values obtained for the random algorithm are always much worse than the other approaches. In particular, it is interesting to see that for k = 4 and k = 6 the random algorithm achieves results very close to the theoretical bound, while with the highest number of colors that approach is worse than the bound.
It is very interesting to inspect the results also in terms of the expected average degree of the graphs, given by n p , as is shown in Figure 4. In Figure 4a–c, we can identify a linear trend between the achieved maximum interference T k ( G , W ) and the expected average degree of the graphs for k equal to 4, 6 and 11 colors, respectively. Finally, in Figure 4d, we show how the quotient between the running times between PSO and TSC-DSATUR decreases as n p increases.
Regarding Chromatic Spectrum Coloring, Table 5 shows the value of the tight theoretical bound given in Theorem 2 and the gap, for the graphs considered, between the best experimental result and the theoretical bound. The main conclusion is that the gap for the theoretical upper bound again gets narrower when the complexity of the graph increases.
Table 6, Table 7 and Table 8 show the results obtained with a threshold t on the maximum interference per vertex equal to n p / 4 , n p / 2 and 3 n p / 4 , respectively. Again, each row corresponds to a different graph category, given by n p , and again, we have marked the best values in boldface. In columns, we have represented the average and standard deviation for the number of colors χ t ( G , W ) achieved for each graph coloring approach evaluated together with the running time needed to obtain those results. Keep in mind that, as mentioned in Section 3.2, both PSO and the random reference are implemented for CSC in an iterative manner, that is they are run with an increasing number of candidate colors until we find the smaller value χ t for which the result satisfies the threshold t. We can observe again that our heuristic CSC-DSATUR generally outperforms PSO, especially for the lowest values of p. It is also interesting to note that the difference between the results obtained by our heuristic and the random reference are significantly lower as the average degree of the graph (which depends on p) increases. Although this may seem counter-intuitive, we must keep in mind that we are adjusting the threshold t proportionally with the expected average degree n p , which keeps around the same values the minimum number of different colors needed by the solutions whose interference falls below the threshold. Finding such a solution randomly is a different issue, however, and it becomes easier when the expected average degree increases, since the proportion of such solutions in the global solution space increases when increasing the degrees of freedom (i.e., the number of edges) per vertex. Finally, in Figure 5, we show the quotient between the running times required to obtain the results using PSO and CSC-DSATUR, concluding that the time gain obtained when using CSC-DSATUR decreases as the expected average degree of the graph, n p , increases, although this gain is at least of two orders of magnitude.

4. Experimental Results in a Realistic Setting

In addition to the experimental results presented in Section 3, we have also performed a first step towards the application of our proposal to a realistic setting. The problem consists of assigning a Wi-Fi channel to each of the deployed APs of a Wi-Fi network in order to minimize the interference threshold. We consider a fixed number of channels (colors) k = 11 and want to minimize the maximum of the interferences at the vertices; therefore, we have a TSC problem. More specifically, we have made use of the real layout of the Wi-Fi network at the Polytechnic School of our university, as shown in Figure 6a. The sides of this building, approximately square-shaped, are 130 m long. Its main features are its 48 classrooms and its central courtyard. Moreover, we have made use of the real positions of the 26 access points (APs) deployed in the building (green dots in Figure 6a).
The signal strength from each AP ranges from high coverage (red) to low coverage (blue). Note the low signal coverage for the central courtyard. For this layout, we have considered three different and representative scenarios, depending on the number of network users. In the first one, called low density (LD), we consider that there are only 10 classrooms in use with 20 students each, making a total of 200 users. Note that in all scenarios, the position of the students in a classroom has been taken from a normal distribution centered around the center of each class and a standard deviation of 0.05 (considering that the size of the scenario is normalized to one). In the second one, called medium density (MD), we consider that there are 100 students uniformly distributed in the building and also 24 classrooms in use with 25 students each, for a total of 700 network users. Finally, the third scenario, called high density (HD), extends MD to have all 48 classrooms in use, for a total of 1300 users. To model each scenario, we have considered a graph, whose vertices are the APs, removing those APs that do not have any client attached to it. Note that we have considered that clients are attached to their closest AP. Moreover, the edges of the graph represent the possible interferences between two APs if they use a Wi-Fi channel that is close enough. We have taken into account not only the interferences due to AP transmissions, but also from clients, i.e. two APs i and j will be connected in the graph if the AP i or any of its attached clients interferes with the AP j or with any of its clients. Figure 6b–d shows the resulting graph for each of the three scenarios. Note that, since the aim of this paper is to introduce and explore an intermediate model between mathematics and engineering, we have considered just the abstract graphs, thus not taking into account the effect of distances between nodes in the interference (which we have considered in the engineering-oriented conference paper [8]). For the interferences between channels, we have used the values empirically measured in [31], shown in Table 9, which are similar to those defined in [32]. Since these references use only 11 channels, corresponding to the most common 2.4-GHz wireless frequency band, this will be the setting used here.
The figure also shows
For the three above-mentioned scenarios (LD, MD and HD), Table 10 shows the computed theoretical bounds according to Theorem 1 and the gap between the best experimental result obtained and the corresponding bound. As in the previous examples, the gap decreases with the increase of the complexity of the graphs.
Figure 7 shows, for each graph, the channel assignment obtained as the solution at one of the 20 repetitions performed for that graph.
On the other hand, Table 11 shows the average and standard deviation of the maximum vertex interference T k ( G , W ) and the computation times for the different techniques under study.
Results show that, clearly, random offers always the worst performance and that the performance of TSC-DSATUR and PSO is fairly similar, although the running times of PSO are more than one thousand-times (i.e., three orders of magnitude) higher than the running times required by TSC-DSATUR, for LD, MD and HD, respectively. Finally, we are interested not only in the maximum interference, but also in the interference experienced by each AP, to study if the coloring obtained by TSC-DSATUR is similar to the one obtained by PSO. Figure 8 studies this behavior.
In this figure, for each AP, we plot a heat map of the difference between the interference obtained by that AP using TSC-DSATUR ( I v T S C D S A T U R ) minus the interference obtained by that AP using PSO ( I v P S O ). Hence, in this figure, an AP in red means that the interference of TSC-DSATUR is higher than that of PSO, and the opposite holds for blue. Results show that, in general, most of the colors are either light blue, light red or white, so the difference in performance between TSC-DSATUR and PSO is low. However, it is quite interesting to see that, for the MD scenario, there two dark blue APs, for which the performance of TSC-DSATUR is much higher than the one of PSO. Finally, in the lower part of Figure 8, we also show the average interference experienced by each AP. As we can see, TSC-DSATUR behaves slightly better than PSO for LD and MD, while in HD, PSO has a better performance than TSC-DSATUR.

5. Conclusions and Future Work

We have introduced two vertex-coloring problems for graphs, in which we are given a spectrum of colors endowed with a matrix of interferences between them. The Threshold Spectrum Coloring problem (TSC), motivated by Wi-Fi channel assignment, looks for the smallest threshold below which the interference at every vertex can be kept. The Chromatic Spectrum Coloring problem (CSC) is the complement, in which a threshold is given and the aim is to find the smallest number of colors allowing one to respect that threshold. We have illustrated these two problems with a case study.
For such problems, we have provided theoretical results, showing that both of them are NP-hard and proving upper bounds for the smallest threshold in TSC and the smallest number of colors in CSC.
In order to complete the scene, we have first presented experimental results for different coloring techniques, tested on Erdos–Renyi random graphs of n { 60 , 70 , 80 } vertices and probabilities p { 0.1 , 0.3 , 0.5 , 0.7 , 0.9 } of connection, with an interference matrix of exponential decay. For the coloring techniques, we have proposed a DSATUR-based heuristic for each of the TSC and CSC problems, in order to account for the given spectrum. We have compared these heuristics with PSO, a nonlinear optimizer based on particle swarm optimization, for TSC problems of k { 4 , 6 , 11 } colors and CSC problems of thresholds t { n p / 4 , n p / 2 , 3 n p / 4 } , where n p is the expected average degree of the graph.
Further, we have performed an evaluation of our proposal in a realistic setting, the Wi-Fi network at the Polytechnic School of our university. We have made use of the real positions of the 26 access points (APs) deployed in the building, and we have considered three different and representative scenarios, with 200, 700 and 1300 network users, respectively.
The experiments show that the performance of our heuristics TSC-DSATUR and CSC-DSATUR is better than PSO for the simplest graphs, although this improvement decreases as the complexity of the graphs increases. This makes sense, since higher degrees involve more interdependencies between vertex colorings, which is the kind of constraints for which nonlinear optimizers are designed.
Finally, we have also checked the gap between the theoretical upper bounds and the best values obtained in the experiments, observing that the more complex is the graph, the smaller is this gap. As possible future work, we aim to develop and test more realistic models of the problem, like using 3D graphs to model interferences among different floors of the building.

Acknowledgments

All the authors are supported by MINECO Projects TIN2014-61627-EXP and TIN2016-80622-P (AEI/FEDER, UE) and by the University of Alcalá Project CCG2016/EXP-048. In addition, David Orden is supported by MINECO Projects MTM2014-54207 and MTM2017-83750-P, as well as by the European Union’s Horizon 2020 research and innovation program under the Marie Skłodowska-Curie Grant Agreement No. 734922.

Author Contributions

All authors have made relevant contributions to this work. The problems considered stem from numerous meetings involving all of the authors, who later led different parts of the work. David Orden led the formulation of the problems and the theoretical results, Jose Manuel Gimenez-Guzman led the design of the experiments and the analysis of the data obtained, and Ivan Marsa-Maestre and Enrique de la Hoz led the choice and use of the optimization techniques. All authors have reviewed, read and approved the manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Carreño, J.J.; Martínez, J.A.; Puertas, M.L. Efficient Location of Resources in Cylindrical Networks. Symmetry 2018, 10, 24. [Google Scholar] [CrossRef]
  2. Malaguti, E.; Toth, P. A survey on vertex coloring problems. Int. Trans. Oper. Res. 2010, 17, 1–34. [Google Scholar] [CrossRef]
  3. Tuza, Z. Graph coloring. In Handbook of Graph Theory, 2nd ed.; Gross, J.L., Yellen, J., Zhan, P., Eds.; CRC Press: Boca Raton, FL, USA, 2003; Volume 25, Chapter 5; pp. 408–438. [Google Scholar]
  4. Aardal, K.I.; van Hoesel, S.P.; Koster, A.M.; Mannino, C.; Sassano, A. Models and solution techniques for frequency assignment problems. Ann. Oper. Res. 2007, 153, 79–129. [Google Scholar] [CrossRef]
  5. Bazzi, A. On Uncoordinated Multi User Multi RAT Combining. In Proceedings of the IEEE Vehicular technology conference (VTC Fall), San Francisco, CA, USA, 5–8 September 2011; pp. 1–6. [Google Scholar]
  6. Bar-Yehuda, R.; Polevoy, G.; Rawitz, D. Bandwidth allocation in cellular networks with multiple interferences. Discret. Appl. Math. 2015, 194, 23–36. [Google Scholar] [CrossRef]
  7. De la Hoz, E.; Gimenez-Guzman, J.M.; Marsa-Maestre, I.; Orden, D. Automated Negotiation for Resource Assignment in Wireless Surveillance Sensor Networks. Sensors 2015, 15, 29547–29568. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. De la Hoz, E.; Marsa-Maestre, I.; Gimenez-Guzman, J.M.; Orden, D.; Klein, M. Multi-Agent Nonlinear Negotiation for Wi-Fi Channel Assignment. In Proceedings of the 16th International Conference on Autonomous Agents and Multiagent Systems (AAMAS 2017), Sao Paulo, Brazil, 8–12 May 2017; Das, S., Durfee, E., Larson, K., Winikoff, M., Eds.; pp. 1035–1043. [Google Scholar]
  9. De la Hoz, E.; Gimenez-Guzman, J.M.; Marsa-Maestre, I.; Cruz-Piris, L.; Orden, D. A Distributed, Multi-Agent Approach to Reactive Network Resiliencet. In Proceedings of the 16th International Conference on Autonomous Agents and Multiagent Systems (AAMAS 2017), Sao Paulo, Brazil, 8–12 May 2017; Das, S., Durfee, E., Larson, K., Winikoff, M., Eds.; pp. 1044–1053. [Google Scholar]
  10. West, D.B. Introduction to Graph Theory, 2nd ed.; Prentice-Hall: Upper Saddle River, NJ, USA, 2001. [Google Scholar]
  11. Araujo, J.; Bermond, J.C.; Giroire, F.; Havet, F.; Mazauric, D.; Modrzejewski, R. Weighted improper colouring. J. Discret. Algorithms 2012, 16, 53–66. [Google Scholar] [CrossRef] [Green Version]
  12. Griggs, J.R.; Kral, D. Graph labellings with variable weights, a survey. Discret. Appl. Math. 2009, 157, 2646–2658. [Google Scholar]
  13. Sharp, A. Distance coloring. In Lecture Notes in Computer Science; Springer: Berlin, Germany, 2007; Volume 4698, pp. 510–521. [Google Scholar]
  14. Bodlaender, H.L.; Kloks, T.; Tan, R.B.; van Leeuwen, J. λ-coloring of graphs. In Lecture Notes in Computer Science; Springer: Berlin, Germany, 2000; Volume 1770, pp. 395–406. [Google Scholar]
  15. Calamoneri, T. The L(h, k)-labelling problem: An updated survey and annotated bibliography. Comput. J. 2011, 54, 1344–1371. [Google Scholar] [CrossRef]
  16. Roberts, F.S. T-colorings of graphs: Recent results and open problems. Discret. Math. 1991, 93, 229–245. [Google Scholar] [CrossRef]
  17. Gastineau, N. Dichotomies properties on computational complexity of S-packing coloring problems. Discret. Math. 2015, 338, 1029–1041. [Google Scholar]
  18. Louis Hakimi, S.; Kariv, O. A generalization of edge-coloring in graphs. J. Graph Theory 1986, 10, 139–154. [Google Scholar] [CrossRef]
  19. Sun, Y.; Jin, Z.; Li, F. On total rainbow k-connected graphs. Appl. Math. Comput. 2017, 311, 223–227. [Google Scholar] [CrossRef]
  20. Brooks, R. On coloring the nodes of a network. Commun. ACM 1979, 22, 251–256. [Google Scholar]
  21. Karp, R.M. Reducibility among combinatorial problems. In Complexity of Computer Computations; Miller, R.E., Thatcher, J.W., Eds.; Springer: Berlin, Germany, 1972. [Google Scholar]
  22. Woodall, D. Improper colourings of graphs. In Graph Colourings; Pitman Research Notes in Mathematics Series; Nelson, R., Wilson, R.J., Eds.; Longman Scientific & Technical: New York, NY, USA, 1990; Volume 218, pp. 45–63. [Google Scholar]
  23. Di Blas, A.; Jagota, A.; Hughey, R. A range-compaction heuristic for graph coloring. J. Heuristics 2003, 9, 489–506. [Google Scholar] [CrossRef]
  24. Eiben, Á.E.; Van Der Hauw, J.K.; van Hemert, J.I. Graph coloring with adaptive evolutionary algorithms. J. Heuristics 1998, 4, 25–46. [Google Scholar] [CrossRef]
  25. San Segundo, P. A new DSATUR-based algorithm for exact vertex coloring. Comput. Oper. Res. 2012, 39, 1724–1733. [Google Scholar] [CrossRef] [Green Version]
  26. Johnson, D.S.; Trick, M.A. Cliques, Coloring, and Satisfiability: Second DIMACS Implementation Challenge, 11–13 October 1993; American Mathematical Society: Providence, RI, USA, 1996; Volume 26. [Google Scholar]
  27. Newman, M.E.; Watts, D.J.; Strogatz, S.H. Random graph models of social networks. Proc. Natl. Acad. Sci. USA 2002, 99, 2566–2572. [Google Scholar] [CrossRef] [PubMed]
  28. Méndez-Díaz, I.; Nasini, G.; Severín, D. A DSATUR-based algorithm for the Equitable Coloring Problem. Comput. Oper. Res. 2015, 57, 41–50. [Google Scholar] [CrossRef]
  29. Brélaz, D. New methods to color the vertices of a graph. Commun. ACM 1979, 22, 251–256. [Google Scholar] [CrossRef]
  30. Zhang, Y.; Wang, S.; Ji, G. A comprehensive survey on particle swarm optimization algorithm and its applications. Math. Probl. Eng. 2015, 2015, 931256. [Google Scholar]
  31. Chowdhury, K.R.; Akyildiz, I.F. Cognitive wireless mesh networks with dynamic spectrum access. IEEE J. Sel. Areas Commun. 2008, 26. [Google Scholar] [CrossRef]
  32. Shrivastava, V.; Rayanchu, S.; Yoonj, J.; Banerjee, S. 802.11 n under the Microscope. In Proceedings of the ACM 8th ACM SIGCOMM Conference on Internet Measurement, Vouliagmeni, Greece, 20–22 October 2008; pp. 105–110. [Google Scholar]
Figure 1. Left: Matrix W 2 e d and the interferences it induces on the different possible colorings of an edge. Right: All proper three-colorings of the paw graph, the interferences they induce at every edge and the induced interferences at the vertices (using typewriter font). Highlighted colorings achieve interference ≤1 at every vertex.
Figure 1. Left: Matrix W 2 e d and the interferences it induces on the different possible colorings of an edge. Right: All proper three-colorings of the paw graph, the interferences they induce at every edge and the induced interferences at the vertices (using typewriter font). Highlighted colorings achieve interference ≤1 at every vertex.
Symmetry 10 00065 g001
Figure 2. Possibilities for the central vertex of the paw graph to have interference smaller than one.
Figure 2. Possibilities for the central vertex of the paw graph to have interference smaller than one.
Symmetry 10 00065 g002
Figure 3. Possibilities for the central vertex of the paw graph to have no neighbor with its same color, when using k = 2 colors among the four colors available.
Figure 3. Possibilities for the central vertex of the paw graph to have no neighbor with its same color, when using k = 2 colors among the four colors available.
Symmetry 10 00065 g003
Figure 4. Effect of expected average degree of the graphs ( n p ) in the Threshold Spectrum Coloring problem.
Figure 4. Effect of expected average degree of the graphs ( n p ) in the Threshold Spectrum Coloring problem.
Symmetry 10 00065 g004
Figure 5. Comparison between the running times of CSC-DSATUR and PSO for the CSC problem.
Figure 5. Comparison between the running times of CSC-DSATUR and PSO for the CSC problem.
Symmetry 10 00065 g005
Figure 6. Scenario and graph models for the realistic setting. LD, low density; MD, medium density; HD, high density.
Figure 6. Scenario and graph models for the realistic setting. LD, low density; MD, medium density; HD, high density.
Symmetry 10 00065 g006
Figure 7. Particular colorings (channel assignments) obtained in one of the executions for each of LD, MD and HD.
Figure 7. Particular colorings (channel assignments) obtained in one of the executions for each of LD, MD and HD.
Symmetry 10 00065 g007
Figure 8. Heat map of the differences of interferences.
Figure 8. Heat map of the differences of interferences.
Symmetry 10 00065 g008
Table 1. Bounds for the maximum vertex interference T k ( G , W ) for Threshold Spectrum Coloring (TSC). Each row shows a specific combination of the number of vertices n and the probability of connection p.
Table 1. Bounds for the maximum vertex interference T k ( G , W ) for Threshold Spectrum Coloring (TSC). Each row shows a specific combination of the number of vertices n and the probability of connection p.
k = 4 k = 6 k = 11
npBoundGap (%)BoundGap (%)BoundGap (%)
600.16.739.35.258.13.275.7
0.314.926.811.635.07.147.0
0.521.015.216.422.510.035.7
0.727.314.421.219.313.025.5
0.932.512.025.215.515.415.6
700.17.434.75.748.53.572.5
0.317.123.513.333.68.144.6
0.525.118.019.622.111.933.2
0.732.014.424.920.615.222.6
0.937.711.629.316.217.915.0
800.18.331.26.546.54.069.5
0.319.119.814.828.69.139.5
0.528.615.522.222.913.629.0
0.735.814.427.818.417.021.7
0.943.412.333.714.720.615.5
Table 2. Maximum vertex interference T k ( G , W ) and running times for TSC with k = 4 .
Table 2. Maximum vertex interference T k ( G , W ) and running times for TSC with k = 4 .
RandomTSC-DSATURPSO
T k ( G , W ) T k ( G , W ) Time T k ( G , W ) Time
npavgstdavgstdavgavgstdavg
600.16.90.74.10.52.6 ms5.20.53.6 s
0.314.90.710.90.83.2 ms12.50.55.1 s
0.521.61.017.81.35.5 ms18.30.86.2 s
0.727.70.523.40.67.6 ms23.90.67.6 s
0.932.80.528.80.59.0 ms28.60.18.6 s
700.17.70.54.80.62.9 ms6.00.54.5 s
0.317.20.613.10.94.5 ms14.60.66.5 s
0.525.10.720.61.48.0 ms21.80.68.2 s
0.732.20.627.40.910.4 ms28.20.49.9 s
0.938.30.633.50.812.1 ms33.30.211.4 s
800.18.50.65.70.93.6 ms6.80.55.7 s
0.319.20.615.30.76.7 ms16.70.58.3 s
0.528.80.724.11.510.8 ms25.00.411.1 s
0.736.20.630.60.713.4 ms31.70.713.0 s
0.944.10.638.00.515.7 ms38.30.315.6 s
Table 3. Maximum vertex interference T k ( G , W ) and running times for TSC with k = 6 .
Table 3. Maximum vertex interference T k ( G , W ) and running times for TSC with k = 6 .
RandomTSC-DSATURPSO
T k ( G , W ) T k ( G , W ) Time T k ( G , W ) Time
npavgstdavgstdavgavgstdavg
600.15.60.52.20.42.7 ms3.50.34.2 s
0.312.00.47.50.63.5 ms9.20.45.6 s
0.517.00.712.70.65.0 ms13.80.76.7 s
0.721.80.617.10.67.6 ms18.00.57.7 s
0.925.80.321.50.410.1 ms21.30.18.7 s
700.16.30.33.00.43.1 ms4.40.45.1 s
0.313.60.58.80.94.6 ms10.90.56.9 s
0.520.00.515.20.77.3 ms16.40.38.4 s
0.725.90.419.80.810.6 ms21.30.510.7 s
0.930.10.424.60.413.6 ms25.10.311.5 s
800.16.90.43.50.33.8 ms5.20.36.7 s
0.315.30.310.61.05.8 ms12.50.58.4 s
0.522.80.417.10.99.9 ms18.80.511.4 s
0.728.80.722.70.813.9 ms24.20.512.8 s
0.934.60.228.80.717.9 ms28.80.215.2 s
Table 4. Maximum vertex interference T k ( G , W ) and running times for TSC with k = 11 .
Table 4. Maximum vertex interference T k ( G , W ) and running times for TSC with k = 11 .
RandomTSC-DSATURPSO
T k ( G , W ) T k ( G , W ) Time T k ( G , W ) Time
npavgstdavgstdavgavgstdavg
600.14.00.30.80.13.2 ms1.90.25.5 s
0.38.20.33.70.54.7 ms5.50.26.3 s
0.511.60.46.40.46.5 ms8.40.47.6 s
0.714.50.29.70.58.8 ms11.10.28.9 s
0.917.00.313.00.313.0 ms13.30.110.3 s
700.14.60.21.00.13.9 ms2.50.16.8 s
0.39.30.34.50.36.1 ms6.60.38.3 s
0.513.40.28.00.58.8 ms10.10.110.3 s
0.717.00.411.80.712.2 ms13.20.211.9 s
0.919.50.315.20.317.6 ms15.40.113.8 s
800.14.90.21.20.24.9 ms3.00.27.9 s
0.310.40.35.50.67.8 ms7.80.310.4 s
0.515.10.49.60.711.4 ms11.70.212.8 s
0.718.90.313.30.715.8 ms15.00.315.2 s
0.922.50.417.40.723.4 ms17.70.117.3 s
Table 5. Bounds for the number of colors χ t ( G , W ) for Chromatic Spectrum Coloring (CSC).
Table 5. Bounds for the number of colors χ t ( G , W ) for Chromatic Spectrum Coloring (CSC).
t = np / 4 t = np / 2 t = 3 np / 4
npBoundGap (%)BoundGap (%)BoundGap (%)
600.12462.91252.5847.5
0.31841.1931.1633.8
0.51526.7827.5534.5
0.71417.1725.3540.0
0.91314.0728.6540.0
700.12358.31249.2848.8
0.31840.0933.3633.3
0.51628.8825.1643.3
0.71415.7723.7540.0
0.91315.4728.6540.0
800.12355.71245.8847.5
0.31735.3933.3633.3
0.51627.5823.9644.3
0.71417.9724.9540.0
0.91313.2728.6540.0
Table 6. Number of colors χ t ( G , W ) and running times for CSC with t = n p / 4 .
Table 6. Number of colors χ t ( G , W ) and running times for CSC with t = n p / 4 .
RandomCSC-DSATURPSO
χ t ( G , W ) χ t ( G , W ) Time χ t ( G , W ) Time
npavgstdavgstdavgavgstdavg
600.132.01.48.90.73.9 ms12.50.76.0 s
0.321.70.710.60.812.3 ms13.30.76.9 s
0.518.10.711.00.830.0 ms12.60.68.3 s
0.716.20.311.60.556.0 ms12.10.29.5 s
0.914.70.311.20.499.9 ms11.20.110.6 s
700.132.71.39.60.75.4 ms13.90.88.2 s
0.322.00.510.80.618.4 ms13.90.48.9 s
0.518.30.311.40.545.6 ms13.20.411.0 s
0.716.30.211.80.489.9 ms12.40.312.9 s
0.914.60.311.00.0154.9 ms11.30.114.3 s
800.134.91.710.21.06.7 ms15.20.710.1 s
0.322.00.511.00.627.7 ms14.40.411.2 s
0.518.70.211.60.570.0 ms13.50.313.7 s
0.716.20.511.50.5129.7 ms12.40.215.8 s
0.914.40.311.50.5230.7 ms11.30.118.2 s
Table 7. Number of colors χ t ( G , W ) and running times for CSC with t = n p / 2 .
Table 7. Number of colors χ t ( G , W ) and running times for CSC with t = n p / 2 .
RandomCSC-DSATURPSO
χ t ( G , W ) χ t ( G , W ) Time χ t ( G , W ) Time
npavgstdavgstdavgavgstdavg
600.115.01.05.70.53.4 ms7.40.54.9 s
0.39.40.56.20.410.1 ms6.60.35.8 s
0.57.60.45.80.623.7 ms5.80.36.8 s
0.76.80.25.40.543.3 ms5.20.27.7 s
0.96.10.25.00.063.8 ms5.00.08.5 s
700.114.71.16.10.34.6 ms8.00.66.0 s
0.39.10.46.00.615.4 ms6.70.37.2 s
0.57.70.26.10.334.6 ms6.00.28.9 s
0.76.80.35.40.565.6 ms5.30.210.3 s
0.96.00.15.00.099.1 ms5.00.011.6 s
800.114.00.86.50.56.0 ms8.10.67.0 s
0.39.00.36.00.422.4 ms6.70.28.7 s
0.57.60.36.10.349.9 ms6.10.211.1 s
0.76.70.25.70.595.6 ms5.30.112.6 s
0.96.20.15.00.0145.4 ms5.00.015.1 s
Table 8. Number of colors χ t ( G , W ) and running times for CSC with t = 3 n p / 4 .
Table 8. Number of colors χ t ( G , W ) and running times for CSC with t = 3 n p / 4 .
RandomCSC-DSATURPSO
χ t ( G , W ) χ t ( G , W ) Time χ t ( G , W ) Time
npavgstdavgstdavgavgstdavg
600.18.40.94.20.63.5 ms5.10.54.6 s
0.35.10.44.00.010.0 ms4.00.35.5 s
0.54.10.33.50.521.1 ms3.30.36.5 s
0.73.60.13.00.035.6 ms3.00.07.3 s
0.93.00.03.00.049.6 ms3.00.08.6 s
700.18.20.84.10.54.5 ms5.20.45.9 s
0.35.10.34.00.014.4 ms4.00.27.2 s
0.54.20.23.40.532.6 ms3.50.38.4 s
0.73.50.23.00.052.7 ms3.00.09.8 s
0.93.10.13.00.074.1 ms3.00.011.1 s
800.17.80.74.20.45.7 ms5.20.46.7 s
0.35.00.34.00.020.0 ms4.10.28.9 s
0.54.20.23.80.445.3 ms3.30.210.7 s
0.73.40.23.00.076.9 ms3.00.012.1 s
0.93.10.13.00.0113.4 ms3.00.014.5 s
Table 9. Interference matrix W i j used in the realistic setting [31].
Table 9. Interference matrix W i j used in the realistic setting [31].
| i j | 012345≥6
W i j 10.80.50.20.10.0010
Table 10. Bounds for the maximum vertex interference T k ( G , W ) for TSC in the Wi-Fi scenario with k = 11 .
Table 10. Bounds for the maximum vertex interference T k ( G , W ) for TSC in the Wi-Fi scenario with k = 11 .
ScenarioBoundGap (%)
LD3.145.5
MD6.544.1
HD6.137.3
Table 11. Maximum vertex interference T k ( G , W ) and running times for TSC in the Wi-Fi scenario with k = 11 .
Table 11. Maximum vertex interference T k ( G , W ) and running times for TSC in the Wi-Fi scenario with k = 11 .
RandomTSC-DSATURPSO
Scenario T k ( G , W ) T k ( G , W ) Time T k ( G , W ) Time
avgstdavgstdavgavgstdavg
LD3.90.71.80.20.7 ms1.70.40.9 s
MD6.51.13.60.11.4 ms3.70.51.6 s
HD6.91.13.80.41.4 ms4.00.41.9 s

Share and Cite

MDPI and ACS Style

Orden, D.; Gimenez-Guzman, J.M.; Marsa-Maestre, I.; De la Hoz, E. Spectrum Graph Coloring and Applications to Wi-Fi Channel Assignment. Symmetry 2018, 10, 65. https://doi.org/10.3390/sym10030065

AMA Style

Orden D, Gimenez-Guzman JM, Marsa-Maestre I, De la Hoz E. Spectrum Graph Coloring and Applications to Wi-Fi Channel Assignment. Symmetry. 2018; 10(3):65. https://doi.org/10.3390/sym10030065

Chicago/Turabian Style

Orden, David, Jose Manuel Gimenez-Guzman, Ivan Marsa-Maestre, and Enrique De la Hoz. 2018. "Spectrum Graph Coloring and Applications to Wi-Fi Channel Assignment" Symmetry 10, no. 3: 65. https://doi.org/10.3390/sym10030065

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop