To my parents, my sister, and my girlfriend,for their patience and support.
AcknowledgmentsSince I was a child I had always wanted to get a university education when I grew up. At that time, I had different studies on my mind; I wanted to be anything from a lawyer to an architect (dreams and ideas of children). I was focusing my preferences towards engineering and at the end I decided to combine it with one of my passions: computers. Just as I finished my Computer Science Degree, in 2011, one of my advisors, Dr. Piedad Garrido, offered me the chance to work with her as a researcher. Since finding a job was not easy at that moment due to the global economic recession, especially in my town, Teruel, I immediately took her up on the offer. At first, I worked with her and Dr. Francisco José Serón on issues related to Artificial Intelligence in Computer Graphics. After a while, Piedad and, Dr. Francisco José Martínez, encouraged me to continue my academic training. So, I began to study my Master's Degree in Artificial Intelligence, with the aim of carrying on with the development of this Thesis. In addition, I changed my scope in order to combine artificial intelligence with vehicular networks in my research. All this time they have given me the support and the motivation I have needed, as well as critiquing and correcting my work. Thus, I would like to give them my sincere thanks; without them, I would never have achieved this goal.After having gone on this adventure, I had the opportunity to meet the people from the Grupo de Redes de Computadores (GRC) at the Universitat Politècnica de València: Dr. Carlos Tavares Calafate, Dr. Pietro Manzoni, and especially, Dr. Juan Carlos Cano, my other advisor. I wish to thank all them for giving me the chance to work together with them; their feedback and corrections have both helped me to improve my research world. It has been an enriching experience.I will not forget my classmates of the Intelligent Networks and Information Technologies (iNiT) research group of the University of Zaragoza, Manolo, Fernando, Vicente, Jesús Ibáñez, Chon, Jesús Fuentes, and Julio, our hard work has made its existence possible. Besides, our conversations and discussions about any daily topic, as real experts, have served as release when we were under a lot of pressure. Also, I cannot miss out my other university peers,Ángel and Nava, who made the coffee breaks more enjoyable. Thank you! I do not want to forget Dr. Severino Fernández, my Master's Thesis advisor whose proposals and corrections related to Evolutionary Algorithms were very useful for me.I am also very thankful to the Fundación Antonio Gargallo, the Universitat v Politècnica de València, and the Diputación Provincial de Teruel for their economic support for the development of this work. My loving thanks to my father Javier and my mother Mercedes for the sacrifices that they have made in order to give me the opportunity to have come so far, the upbringing that they have given me, the moral values that they have taught me, and their unc...