Abstract
Swarm programming is the swarm-based automatic programming in which swarm intelligence algorithms are used to evolve computer programs automatically. Automatic programming is a division of machine learning where machines learn how to write the program for themselves. Grammar-based swarm programming is an interesting research topic in recent times. In grammar-based swarm programming, context-free grammar (CFG) is utilized in the generation of computer programs automatically in any arbitrary target computer language. In this paper, grammatical multi-verse optimizer (GMVO) is proposed to generate computer programs automatically. The proposed method is applied to three benchmark problems such as Santa Fe Ant Trail (SFAT), 3-multiplexer, and symbolic regression. The experimental results of the proposed GMVO are compared with that of grammatical fireworks algorithm (GFWA), grammatical bee colony (GBC), and grammatical swarm (GS). The empirical results with analysis demonstrate that the GMVO can be used in automatic generation of computer programs in any arbitrary target computer language.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Rich C, Waters RC (1998) Automatic Programming: Myths and Prospects. IEEE Computer 21(8):40–51
Koza JR (1992) Genetic programming: on the programming of computers by means of natural selection. MIT Press, Cambridge
Ryan C, Collins JJ, O’Neill M (1998) Grammatical evolution: evolving programs for an arbitrary language. In: Banzhaf W, Poli R, Schoenauer M, Fogarty TC (eds) EuroGP 1998. LNCS, vol 1391. Springer, Heidelberg, pp 83–95
O’Neill M, Ryan C (2001) Grammatical Evolution. IEEE Transactions on Evolutionary Computation 5(4):349–358
Olmo JL, Romero JR, Ventura S (2014) Swarm-based metaheuristics in automatic programming: a survey. WIREs Data Min Knowl Discov https://doi.org/10.1002/widm.1138
Roux O, Fonlupt C (2000) Ant programming: or how to use ants for automatic programming. In: International conference on swarm intelligence (ANTS), pp 121–129
Dorigo M, Maniezzo V, Colorni A (1996) Ant system: optimization by a colony of cooperating agents. IEEE Trans Syst Man Cybern B Cybern 26:29–41. https://doi.org/10.1109/3477.484436
Karaboga D, Ozturk C, Karaboga N, Gorkemli B (2012) Artificial bee colony programming for symbolic regression. Inform Sci 209:1–15. https://doi.org/10.1016/j.ins.2012.05.002
Karaboga D (2005) An idea based on honey bee swarm for numerical optimization. In: Technical report-TR06, Erciyes University, Engineering Faculty, Computer Engineering Department
O’Neill M, Brabazon A (2004) Grammatical swarm. In: Genetic and evolutionary computation conference (GECCO), pp 163–174
O’Neill M, Brabazon A (2006) Grammatical Swarm: The Generation of Programs by Social Programming. Natural Computing 5(4):443–462
O’Neill M, Leahy F, Brabazon A (2006) Grammatical swarm: a variable-length particle swarm algorithm. Swarm intelligent systems. Studies in computational intelligence. Springer, Berlin, pp 59–74
Kennedy J, Eberhart R (1995) Particle swarm optimization. In: IEEE international conference on neural networks, Perth, Australia
Si T, De A, Bhattacharjee AK (2013) Grammatical bee colony. In: Panigrahi BK et al (eds) SEMCCO 2013, Part I. LNCS, vol 8297, pp 436–445
Si T (2016) Grammatical evolution using fireworks algorithm. In: Pant M et al (eds) Proceedings of fifth international conference on soft computing for problem solving. Advances in intelligent systems and computing, vol 436. https://doi.org/10.1007/978-981-10-0448-3
Tan Y, Zhu Y (2010) Firework algorithm for optimization. In: Tan Y et al (eds) ICSI 2010, Part I. LNCS, vol 6145. Springer, Berlin, pp 355–364
Si T (2021) Swarm programming using moth-flame optimization and whale optimization algorithms. In: Gao XZ, Kumar R, Srivastava S, Soni BP (eds) Applications of artificial intelligence in engineering. Algorithmsfor intelligent systems. Springer, Singapore. https://doi.org/10.1007/978-981-33-4604-8_3
Mirjalili S (2015) Moth-flame optimization algorithm: a novel nature-inspired heuristic paradigm. Knowl-Based Syst. https://doi.org/10.1016/j.knosys.2015.07.006
Mirjalili S, Lewis A (2016) The Whale Optimization Algorithm. Advances in Engineering Software 95:51–67
Mahanipour A, Nezamabadi-pour H (2019) GSP: an automatic programming technique with gravitational search algorithm. Appl Intell 49:1502–1516. https://doi.org/10.1007/s10489-018-1327-7
Rashedi E, Nezamabadi-Pour H, Saryazdi S (2009) GSA: a gravitational search algorithm. Inf Sci 179:2232–2248
Togelius J, Nardi RD, Moraglio A (2008) Geometric pso + gp = particle swarm programming. In: 2008 IEEE congress on evolutionary computation (CEC 2008)
Moraglio A, Chio CD, Poli R (2007) Geometric particle swarm optimization. In: Ebner M et al (eds) Proceedings of the European conference on genetic programming (EuroGP). Lecture notes in computer science, vol 4445. Springer, Berlin, pp 125–136
Qing L, Odaka T, Kuroiwa J, Ogura H (2013) Application of an artificial fish swarm algorithm in symbolic regression. IEICE Trans Inf Syst 96:872–885
Husselmann AV, Hawick KA (2014) Geometric firefly algorithms on graphical processing units. Cuckoo search and firefly algorithm. Springer, Berlin, pp 245–269
Headleand C, Teahan W (2013) Grammatical herding. J Comput Sci Syst Biol 6:043–047
Ramstein G, Beaume N, Jacques Y (2008) A grammatical swarm for protein classification. In: IEEE congress on evolutionary computation (IEEE world congress on computational intelligence)
Si T, Sujauddin SK (2016) A comparison of grammatical bee colony and neural networks in medical data mining. Int J Comput Appl (0975 - 8887) 134(6):1–4
Si T, De A, Bhattacharjee AK (2018) Segmentation of brain MRI using wavelet transform and grammatical bee colony. Journal of Circuits, Systems and Computers 27(7):1850108
Tackett WA (1993) Genetic programming for feature discovery and image discrimination. In: ICGA, pp 303–311
Si T, De A, Bhattacharjee AK (2014) Grammatical swarm for artificial neural network training. In: International conference on circuits, power and computing technologies, pp 1657–1661
Mirjalili S, Mirjalili SM, Hatamlou A (2016) Multi-verse optimizer: a nature-inspired algorithm for global optimization. Neural Comput Appl 27:495–513. https://doi.org/10.1007/s00521-015-1870-7
Derrac J, Garcia S, Molina D, Herrera F (2001) A practical tutorial on the use of nonparametric statistical tests as a methodology for comparing evolutionary and swarm intelligence algorithms. Swarm and Evolutionary Computation 1:3–18
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Si, T. (2021). Swarm Programming Using Multi-verse Optimizer. In: Tiwari, A., Ahuja, K., Yadav, A., Bansal, J.C., Deep, K., Nagar, A.K. (eds) Soft Computing for Problem Solving. Advances in Intelligent Systems and Computing, vol 1392 . Springer, Singapore. https://doi.org/10.1007/978-981-16-2709-5_1
Download citation
DOI: https://doi.org/10.1007/978-981-16-2709-5_1
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-16-2708-8
Online ISBN: 978-981-16-2709-5
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)