Abstract

Ant Colony Optimization is a metaheuristic used to create heuristic algorithms to find good solutions for combinatorial optimization problems. This metaheuristic is inspired on the effective behavior present in some species of ants of exploring the environment to find and transport food to the nest. Several works have proposed using Ant Colony Optimization algorithms to solve problems such as vehicle routing, frequency assignment, scheduling and graph coloring. The graph coloring problem essentially consists in finding a number k of colors to assign to the vertices of a graph, so that there are no two adjacent vertices with the same color. This paper presents the hybrid ColorAnt-RT algorithms, a class of algorithms for graph coloring problems which is based on the Ant Colony Optimization metaheuristic and uses Tabu Search as local search. The experiments with ColorAnt-RT algorithms indicate that changing the way to reinforce the pheromone trail results in better results. In fact, the results with ColorAnt-RT show that it is a promising option in finding good approximations of k. The good results obtained by ColorAnt-RT motivated it use on a register allocation based on Ant Colony Optimization, called CARTRA. As a result, this paper also presents CARTRA, an algorithm that extends a classic graph coloring register allocator to use the graph coloring algorithm ColorAnt-RT. CARTRA minimizes the amount of spills, thereby improving the quality of the generated code.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call