Skip to content
View jenetics's full-sized avatar
🙄
🙄

Block or report jenetics

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
jenetics/README.md

Jenetics

Build Status Maven Central Javadoc

Jenetics is a Genetic Algorithm, Evolutionary Algorithm, Grammatical Evolution, Genetic Programming, and Multi-objective Optimization library, written in modern day Java. It is designed with a clear separation of the several concepts of the algorithm, e.g. Gene, Chromosome, Genotype, Phenotype, Population and fitness Function. Jenetics allows you to minimize and maximize the given fitness function without tweaking it. In contrast to other GA implementations, the library uses the concept of an evolution stream (EvolutionStream) for executing the evolution steps. Since the EvolutionStream implements the Java Stream interface, it works smoothly with the rest of the Java Stream API.

Other languages

  • Jenetics.Net: Experimental .NET Core port in C# of the base library.
  • Helisa: Scala wrapper around the Jenetics library.

Documentation

The library is fully documented (javadoc) and comes with a user manual (pdf).

Build Jenetics

Jenetics requires at least Java 21 to compile and run.

Check out the master branch from GitHub.

$ git clone https://github.com/jenetics/jenetics.git <builddir>

Jenetics uses Gradle as a build system and organizes the source into sub-projects (modules). Each subproject is located in its own subdirectory:

Published projects

The following projects/modules are also published to Maven.

  • jenetics Javadoc: This project contains the source code and tests for the Jenetics core-module.
  • jenetics.ext Javadoc: This module contains additional non-standard GA operations and data types. It also contains classes for solving multi-objective problems (MOEA) and doing Grammatical Evolution (GE).
  • jenetics.prog Javadoc: The modules contain classes that allow to do genetic programming (GP). It seamlessly works with the existing EvolutionStream and evolution Engine.
  • jenetics.xml Javadoc: XML marshalling module for the Jenetics base data structures.

Non-published projects

  • jenetics.example: This project contains example code for the core-module.
  • jenetics.doc: Contains the code of the website and the manual.
  • jenetics.tool: This module contains classes used for doing integration testing and algorithmic performance testing. It is also used for creating GA performance measures and creating diagrams from the performance measures.

For building the library change into the <builddir> directory (or one of the module directories) and call one of the available tasks:

  • compileJava: Compiles the Jenetics sources and copies the class files to the <builddir>/<module-dir>/build/classes/main directory.
  • jar: Compiles the sources and creates the JAR files. The artifacts are copied to the <builddir>/<module-dir>/build/libs directory.
  • javadoc: Generates the API documentation. The Javadoc is stored in the <builddir>/<module-dir>/build/docs directory
  • test: Compiles and executes the unit tests. The test results are printed onto the console, and a test-report, created by TestNG, is written to <builddir>/<module-dir> directory.
  • clean: Deletes the <builddir>/build/* directories and removes all generated artifacts.

For building the library jar from the source call

$ cd <build-dir>
$ ./gradlew jar

Example

Hello World (Ones counting)

The minimum evolution Engine setup needs a genotype factory, Factory<Genotype<?>>, and a fitness Function. The Genotype implements the Factory interface and can therefore be used as prototype for creating the initial Population and for creating new random Genotypes.

import io.jenetics.BitChromosome;
import io.jenetics.BitGene;
import io.jenetics.Genotype;
import io.jenetics.engine.Engine;
import io.jenetics.engine.EvolutionResult;
import io.jenetics.util.Factory;

public class HelloWorld {
    // 2.) Definition of the fitness function.
    private static Integer eval(Genotype<BitGene> gt) {
        return gt.chromosome()
            .as(BitChromosome.class)
            .bitCount();
    }

    public static void main(String[] args) {
        // 1.) Define the genotype (factory) suitable
        //     for the problem.
        Factory<Genotype<BitGene>> gtf =
            Genotype.of(BitChromosome.of(10, 0.5));

        // 3.) Create the execution environment.
        Engine<BitGene, Integer> engine = Engine
            .builder(HelloWorld::eval, gtf)
            .build();

        // 4.) Start the execution (evolution) and
        //     collect the result.
        Genotype<BitGene> result = engine.stream()
            .limit(100)
            .collect(EvolutionResult.toBestGenotype());

        System.out.println("Hello World:\n" + result);
    }
}

In contrast to other GA implementations, the library uses the concept of an evolution stream (EvolutionStream) for executing the evolution steps. Since the EvolutionStream implements the Java Stream interface, it works smoothly with the rest of the Java streaming API. Now let's have a closer look at the listing above and discuss this simple program step by step:

  1. The probably most challenging part, when setting up a new evolution Engine, is to transform the problem domain into a appropriate Genotype (factory) representation. In our example we want to count the number of ones of a BitChromosome. Since we are counting only the ones of one chromosome, we are adding only one BitChromosome to our Genotype. In general, the Genotype can be created with 1 to n chromosomes.

  2. Once this is done, the fitness function, which should be maximized, can be defined. Utilizing the new language features introduced in Java 8, we simply write a private static method, which takes the genotype we defined and calculates its fitness value. If we want to use the optimized bit-counting method, bitCount(), we have to cast the Chromosome<BitGene> class to the actual used BitChromosome class. Since we know for sure that we created the Genotype with a BitChromosome, this can be done safely. A reference to the eval method is then used as fitness function and passed to the Engine.build method.

  3. In the third step we are creating the evolution Engine, which is responsible for changing, respectively evolving, a given population. The Engine is highly configurable and takes parameters for controlling the evolutionary and the computational environment. For changing the evolutionary behavior, you can set different alterers and selectors. By changing the used Executor service, you control the number of threads; the Engine is allowed to use. A new Engine instance can only be created via its builder, which is created by calling the Engine.builder method.

  4. In the last step, we can create a new EvolutionStream from our Engine. The EvolutionStream is the model or view of the evolutionary process. It serves as a »process handle« and also allows you, among other things, to control the termination of the evolution. In our example, we simply truncate the stream after 100 generations. If you don't limit the stream, the EvolutionStream will not terminate and run forever. Since the EvolutionStream extends the java.util.stream.Stream interface, it integrates smoothly with the rest of the Java Stream API. The final result, the best Genotype in our example, is then collected with one of the predefined collectors of the EvolutionResult class.

Evolving images

This example tries to approximate a given image by semitransparent polygons. It comes with a Swing UI, where you can immediately start your own experiments. After compiling the sources with

$ ./gradlew compileTestJava

you can start the example by calling

$ ./jrun io.jenetics.example.image.EvolvingImages

Evolving images

The previous image shows the GUI after evolving the default image for about 4,000 generations. With the »Open« button, it is possible to load other images for polygonization. The »Save« button allows storing polygonized images in PNG format to disk. At the button of the UI, you can change some GA parameters of the example.

Projects using Jenetics

  • SPEAR: SPEAR (Smart Prognosis of Energy with Allocation of Resources) created an extendable platform for energy and efficiency optimizations of production systems.
  • Renaissance Suite: Renaissance is a modern, open, and diversified benchmark suite for the JVM, aimed at testing JIT compilers, garbage collectors, profilers, analyzers and other tools.
  • APP4MC: Eclipse APP4MC is a platform for engineering embedded multi- and many-core software systems.

Blogs and articles

Citations

Šimić, G., Jevremović, A., Strugarević, D. Improvement of the Teaching Process Using the Genetic Algorithm. In: Perakovic, D., Knapcikova, L. (eds) Future Access Enablers for Ubiquitous and Intelligent Infrastructures. FABULOUS 2024. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 596. Oct. 2024.

...

  1. Šimić, G., Jevremović, A., Strugarević, D. Improvement of the Teaching Process Using the Genetic Algorithm. In: Perakovic, D., Knapcikova, L. (eds) Future Access Enablers for Ubiquitous and Intelligent Infrastructures. FABULOUS 2024. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 596. Oct. 2024.
  2. Dimitris G. Mintisa ∙ Nikolaos Cheimariosa ∙ Andreas Tsoumanisa ∙ Anastasios G. Papadiamantisa ∙ Nico W. van den Brinkd ∙ Henk J. van Lingene ∙ Georgia Melagrakif ∙ Iseult Lynchb ∙ Antreas Afantitis. NanoBioAccumulate: Modelling the uptake and bioaccumulation of nanomaterials in soil and aquatic invertebrates via the Enalos DIAGONAL Cloud Platform. Computational and Structural Biotechnology Journal. Elsevier, 2001-0370. Oct. 2024.
  3. R. Jordão, F. Bahrami, Y. Yang, M. Becker, I. Sander and K. Rosvall. Multi-objective preference-free exact design space exploration of static DSP on multicore platforms. 2024 Forum on Specification & Design Languages (FDL), Stockholm, Sweden, 2024, pp. 1-9. Sep. 2024.
  4. Jared Murphy and Travis Desell. Minimizing the EXA-GP Graph-Based Genetic Programming Algorithm for Interpretable Time Series Forecasting. In Proceedings of the Genetic and Evolutionary Computation Conference Companion (GECCO '24 Companion). Association for Computing Machinery, New York, NY, USA, 1686–1690. Aug. 2024.
  5. Jared Murphy, Devroop Kar, Joshua Karns, and Travis Desell. EXA-GP: Unifying Graph-Based Genetic Programming and Neuroevolution for Explainable Time Series Forecasting. In Proceedings of the Genetic and Evolutionary Computation Conference Companion (GECCO '24 Companion). Association for Computing Machinery, New York, NY, USA, 523–526. Aug. 2024.
  6. Sebastian Gruber, Paul Feichtenschlager, and Christoph G. Schuetz. Using Genetic Algorithms for Privacy-Preserving Optimization of Multi-Objective Assignment Problems in Time-Critical Settings: An Application in Air Traffic Flow Management. In Proceedings of the Genetic and Evolutionary Computation Conference (GECCO '24). Association for Computing Machinery, New York, NY, USA, 1246–1254. July 2024.
  7. Jianghao Wang, Clay Stevens, Brooke Kidmose, Myra B. Cohen & Hamid Bagheri. Evolutionary Analysis of Alloy Specifications with an Adaptive Fitness Function. Search-Based Software Engineering. SSBSE 2024. Lecture Notes in Computer Science, vol 14767. Springer. July 2024.
  8. Bernhard J. Berger; Christina Plump; Lauren Paul; Rolf Drechsler. EvoAl — Codeless Domain-Optimisation. Genetic and Evolutionary Computation Conference (GECCO-2024). July 2024.
  9. Christina Plump, Daniel C. Hoinkiss, Jörn Huber, Bernhard J. Berger, Matthias Günther, Christoph Lüth, Rolf Drechsler. Finding the perfect MRI sequence for your patient --- Towards an optimisation workflow for MRI-sequences. IEEE WCCI 2024. June 2024.
  10. Milan Čugurović, Milena Vujošević Janičić, Vojin Jovanović, Thomas Würthinger. GraalSP: Polyglot, efficient, and robust machine learning-based static profiler. Journal of Systems and Software, Volume 213, 2024, 112058, ISSN 0164-1212. July. 2024.
  11. Wenwen Feng, Xiaohui Lei, Yunzhong Jiang, Chao Wang, Weihong Liao, Hao Wang, Gong Xinghui, Yu Feng. Coupling model predictive control and rules-based control for real-time control of urban river systems. Journal of Hydrology, 2024, 131228, ISSN 0022-1694. April 2024.
  12. S. Sint, A. Mazak-Huemer, M. Eisenberg, D. Waghubinger and M. Wimmer. Automatic Optimization of Tolerance Ranges for Model-Driven Runtime State Identification. IEEE Transactions on Automation Science and Engineering. April. 2024.
  13. Cicirello, Vincent A. Evolutionary Computation: Theories, Techniques, and Applications. Applied Sciences 14, no. 6: 2542. Mar. 2024.
  14. Koitz-Hristov R, Sterner T, Stracke L, Wotawa F. On the suitability of checked coverage and genetic parameter tuning in test suite reduction. J Softw Evol Proc. 2024;e2656. Feb. 2024.
  15. Jordão, Rodolfo; Becker, Matthias; Sander, Ingo. IDeSyDe: Systematic Design Space Exploration via Design Space Identification. ACM Transactions on Design Automation of Electronic Systems. Feb. 2024.
  16. Squillero, G., Tonda, A. Veni, Vidi, Evolvi commentary on W. B. Langdon’s “Jaws 30”. Genet Program Evolvable Mach 24, 24 (2023) Nov. 2023.
  17. Eneko Osaba, Gorka Benguria, Jesus L. Lobo, Josu Diaz-de-Arcaya, Juncal Alonso, Iñaki Etxaniz. Optimizing IaC Configurations: a Case Study Using Nature-inspired Computing. CIIS 2023. Nov. 2023.
  18. Sapra, D., Pimentel, A.D. Exploring Multi-core Systems with Lifetime Reliability and Power Consumption Trade-offs. Embedded Computer Systems: Architectures, Modeling, and Simulation. SAMOS 2023. Lecture Notes in Computer Science, vol 14385. Springer, Cham. Nov. 2023.
  19. Syed Juned Ali, Jan Michael Laranjo, Dominik Bork. A Generic and Customizable Genetic Algorithms-based Conceptual Model Modularization Framework. 27th International EDOC Conference (EDOC 2023) - Enterprise Design, Operations and Computing. Sep. 2023.
  20. A. Elyasaf, E. Farchi, O. Margalit, G. Weiss and Y. Weiss. Generalized Coverage Criteria for Combinatorial Sequence Testing. IEEE Transactions on Software Engineering, vol. 49, no. 08, pp. 4023-4034. Aug. 2023.
  21. Julien Amblard, Robert Filman, Gabriel Kopito. GPStar4: A flexible framework for experimenting with genetic programming. OGECCO '23 Companion: Proceedings of the Companion Conference on Genetic and Evolutionary Computation. July 2023.
  22. Garmendia, A., Bork, D., Eisenberg, M., Ferreira, T., Kessentini, M., Wimmer, M. Leveraging Artificial Intelligence for Model-based Software Analysis and Design. Optimising the Software Development Process with Artificial Intelligence. Natural Computing Series. Springer, Singapore. July 2023.
  23. Sikora, M., Smołka, M. An Application of Evolutionary Algorithms and Machine Learning in Four-Part Harmonization. Computational Science – ICCS 2023. ICCS 2023. Lecture Notes in Computer Science, vol 14073. Springer June 2023.
  24. Dolly Sapra and Andy D. Pimentel. Exploring Multi-core Systems with Lifetime Reliability and Power Consumption Trade-offs. SAMOS '23. May 2023.
  25. Vipin Shukla, Mainak Bandyopadhyay. Optimization of input parameters of ANN–driven plasma source through nature-inspired evolutionary algorithms. Intelligent Systems with Applications, Volume 18, 2023, 200200, ISSN 2667-3053. May 2023.
  26. P. Feichtenschlager, K. Schuetz, S. Jaburek, C. Schuetz, E. Gringinger. Privacy-Preserving Implementation of an Auction Mechanism for ATFM Slot Swapping. Proceedings of the 23rd Integrated Communications, Navigation and Surveillance Conference (ICNS 2023), Washington D.C., U.S.A., April 18-20, 2023, IEEE Press, 12 pages. April 2023.
  27. Christoph Laaber, Tao Yue, Shaukat Ali. Multi-Objective Search-Based Software Microbenchmark Prioritization. ArXiv/Computer Science/Software Engineering. Nov. 2022.
  28. Ricardo Ferreira Vilela, João Choma Neto, Victor Hugo Santiago Costa Pinto, Paulo Sérgio Lopes de Souza, Simone do Rocio Senger de Souza. Bio-inspired optimization to support the test data generation of concurrent software. Concurrency and Computation: Practice and Experience. Nov. 2022.
  29. G. Mateeva, D. Parvanov, I. Dimitrov, I. Iliev and T. Balabanov. An Efficiency of Third Party Genetic Algorithms Software Libraries in Mobile Distributed Computing for Financial Time Series Forecasting. 2022 International Conference Automatics and Informatics (ICAI). Oct. 2022.
  30. Guilherme Espada, Leon Ingelse, Paulo Canelas, Pedro Barbosa, Alcides Fonseca. Data types as a more ergonomic frontend for Grammar-Guided Genetic Programming. arXiv. Oct. 2022.
  31. Christoph G. Schuetz, Thomas Lorünser, Samuel Jaburek, Kevin Schuetz, Florian Wohner, Roman Karl & Eduard Gringinger. A Distributed Architecture for Privacy-Preserving Optimization Using Genetic Algorithms and Multi-party Computation. CoopIS 2022: Cooperative Information Systems pp 168–185. Sep. 2022.
  32. Christina Plump, Bernhard J. Berger, Rolf Drechsler. Using density of training data to improve evolutionary algorithms with approximative fitness functions. WCCI2022 IEEE WORLD CONGRESS ON COMPUTATIONAL INTELLIGENCE. July 2022.
  33. Christina Plump, Bernhard J. Berger, Rolf Drechsler. Adapting mutation and recombination operators to range-aware relations in real-world application data. GECCO '22: Proceedings of the Genetic and Evolutionary Computation Conference Companion. Pages 755–758. July 2022.
  34. Eric Medvet, Giorgia Nadizar, Luca Manzoni. JGEA: a modular java framework for experimenting with evolutionary computation. GECCO '22: Proceedings of the Genetic and Evolutionary Computation Conference Companion. Pages 2009–2018. July 2022.
  35. Moshe Sipper, Tomer Halperin, Itai Tzruia, Achiya Elyasaf. EC-KitY: Evolutionary Computation Tool Kit in Python with Seamless Machine Learning Integration. arXiv:2207.10367v1 [cs.NE]. July 2022.
  36. A. Billedeaux and B. DeVries. Using Metamorphic Relationships and Genetic Algorithms to Test Open-Source Software. 2022 IEEE International Conference on Electro Information Technology (eIT), 2022, pp. 342-345. July 2022.
  37. R. Koitz-Hristov, L. Stracke and F. Wotawa. Checked Coverage for Test Suite Reduction – Is It Worth the Effort? 2022 IEEE/ACM International Conference on Automation of Software Test (AST), pp. 6-16. June 2022.
  38. Abdessamed Ouessai, Mohammed Salem, Antonio M. Mora. Evolving action pre-selection parameters for MCTS in real-time strategy games. Entertainment Computing, Volume 42. April 2022.
  39. Musatafa Abbas Abbood Albadr, Sabrina Tiun, Masri Ayob, Fahad Taha AL-Dhief, Khairuddin Omar & Mhd Khaled Maen. Speech emotion recognition using optimized genetic algorithm-extreme learning machine. Multimedia Tools and Applications, March 2022.
  40. Christina Plump, Bernhard Berger, Rolf Drechsler. Choosing the right technique for the right restriction - a domain-specific approach for enforcing search-space restrictions in evolutionary algorithms. LDIC-2022, International Conference on Dynamics in Logistics, Feb. 2022.
  41. Quoc Nhat Han Tran, Nhan Quy Nguyen, Hicham Chehade, Lionel Amodeo, Farouk Yalaoui. Outpatient Appointment Optimization: A Case Study of a Chemotherapy Service. Applied Sciences/Computing and Artificial Intelligence. Jan. 2022.
  42. Achiya Elyasaf, Eitan Farchi, Oded Margalit, Gera Weiss, Yeshayahu Weiss. Combinatorial Sequence Testing Using Behavioral Programming and Generalized Coverage Criteria. Journal of Systems and Software. Jan. 2022.
  43. Frequentis Group. D4.1 Report on State-ofthe-Art of Relevant Concepts. SLOTMACHINE - RESULTS & PUBLIC DELIVERABLES, Frequentis Dec. 2021.
  44. Huang Wanjie, Wang Haotian, Xue Yibo. Research on Optimization of in-warehouse picking Model based on genetic algorithm. 2021 International Conference on Information Technology, Education and Development (ICITED 2021). Dec. 2021.
  45. Aalam Z., Kaur S., Vats P., Kaur A., Saxena R. A Comprehensive Analysis of Testing Efforts Using the Avisar Testing Tool for Object Oriented Softwares. Intelligent Sustainable Systems. Lecture Notes in Networks and Systems, vol 334. Springer, Singapore. Dec. 2021.
  46. Anh Vu Vo, Debra F. Laefer, Jonathan Byrne. Optimizing Urban LiDAR Flight Path Planning Using a Genetic Algorithm and a Dual Parallel Computing Framework. Remote Sensing, Volume 13, Issue 21. Nov. 2021.
  47. Pozas N., Durán F. On the Scalability of Compositions of Service-Oriented Applications. ICSOC 2021: Service-Oriented Computing pp 449-463 Nov. 2021.
  48. Küster, T., Rayling, P., Wiersig, R. et al. Multi-objective optimization of energy-efficient production schedules using genetic algorithms. Optimization and Engineering (2021). Oct. 2021.
  49. B. DeVries and C. Trefftz. A Novelty Search and Metamorphic Testing Approach to Automatic Test Generation. 2021 IEEE/ACM 14th International Workshop on Search-Based Software Testing (SBST), 2021, pp. 8-11. May 2021.
  50. W. Geithner, Z. Andelkovic, O. Geithner, F. Herfurth, V. Rapp, A. Németh, F. Wilhelmstötter, A. H. Van Benschoten. ION SOURCE OPTIMIZATION USING BI-OBJECTIVE GENETIC AND MATRIX-PROFILE ALGORITHM. IPAC2021 - 12th International Particle Accelerator Conference. May 2021.
  51. C. Plump, B. J. Berger and R. Drechsler. Domain-driven Correlation-aware Recombination and Mutation Operators for Complex Real-world Applications. 2021 IEEE Congress on Evolutionary Computation (CEC), pp. 540-548. July 2021.
  52. Sapra, D., Pimentel, A.D. Designing convolutional neural networks with constrained evolutionary piecemeal training. Appl Intell (2021). July 2021.
  53. Michela Lorandi, Leonardo Lucio Custode, Giovanni Iacca. Genetic improvement of routing in delay tolerant networks. GECCO '21: Proceedings of the Genetic and Evolutionary Computation Conference Companion. July 2021, Pages 35–36.
  54. Plump, Christina and Berger, Bernhard J. and Drechsler, Rolf. Improving evolutionary algorithms by enhancing an approximative fitness function through prediction intervals. IEEE Congress on Evolutionary Computation (IEEE CEC-2021). June 2021.
  55. Faltaous, Sarah, Abdulmaksoud, Aya, Kempe, Markus, Alt, Florian and Schneegass, Stefan. GeniePutt: Augmenting human motor skills through electrical muscle stimulation. it - Information Technology, vol. , no. , 2021. May 2021.
  56. Yiming Tang, Raffi Khatchadourian, Mehdi Bagherzadeh, Rhia Singh, Ajani Stewart, and Anita Raja. An Empirical Study of Refactorings and Technical Debt in Machine Learning Systems. In International Conference on Software Engineering, ICSE ’21. May 2021.
  57. Arifin H.H., Robert Ong H.K., Dai J., Daphne W., Chimplee N. Model-Based Product Line Engineering with Genetic Algorithms for Automated Component Selection. In: Krob D., Li L., Yao J., Zhang H., Zhang X. (eds) Complex Systems Design & Management. Springer, Cham. April 2021.
  58. MICHELA LORANDI, LEONARDO LUCIO CUSTODE, and GIOVANNI IACCA. Genetic Improvement of Routing Protocols for DelayTolerant Networks. arXiv:2103.07428v1 March 2021.
  59. Amine Aziz-Alaoui, Carola Doerr, Johann Dreo. Towards Large Scale Automated Algorithm Designby Integrating Modular Benchmarking Frameworks. E arXiv:2102.06435 Feb. 2021.
  60. Dominik Bork and Antonio Garmendia and Manuel Wimmer. Towards a Multi-Objective Modularization Approach for Entity-Relationship Models. ER 2020, 39th International Conference on Conceptual Modeling. Nov. 2020.
  61. Sarfarazi, S.; Deissenroth-Uhrig, M.; Bertsch, V. Aggregation of Households in Community Energy Systems: An Analysis from Actors’ and Market Perspectives. Energies 2020, 13, 5154. Oct. 2020.
  62. M. Šipek, D. Muharemagić, B. Mihaljević and A. Radovan. Enhancing Performance of Cloud-based Software Applications with GraalVM and Quarkus. 2020 43rd International Convention on Information, Communication and Electronic Technology (MIPRO), Opatija, Croatia, 2020, pp. 1746-1751. Oct. 2020.
  63. Vats P., Mandot M. A Comprehensive Analysis for Validation of AVISAR Object-Oriented Testing Tool. Joshi A., Khosravy M., Gupta N. (eds) Machine Learning for Predictive Analysis. Lecture Notes in Networks and Systems, vol 141. Springer, Singapore. Oct. 2020.
  64. Thakur, K., Kumar, G. Nature Inspired Techniques and Applications in Intrusion Detection Systems: Recent Progress and Updated Perspective. Archives of Computational Methods in Engineering (2020). Aug. 2020.
  65. Nur Hidayah Mat Yasin, Abdul Sahli Fakhrudin, Abdul Wafie Afnan Abdul Hadi, Muhammad Harith Mohd Khairuddin, Noor Raihana Abu Sepian, Farhan Mohd Said, Norazwina Zainol. Comparison of Response Surface Methodology and Artificial Neural Network for the Solvent Extraction of Fatty Acid Methyl Ester from Fish Waste. International Journal of Modern Agriculture, Volume 9, No.3, 2020, ISSN: 2305-7246. Sep. 2020.
  66. Cicirello, V. A. Chips-n-Salsa: A Java Library of Customizable, Hybridizable, Iterative, Parallel, Stochastic, and Self-Adaptive Local Search Algorithms. Journal of Open Source Software, 5(52), 2448. Aug. 2020.
  67. Li, Yuanyuan; Carabelli, Stefano;Fadda, Edoardo; Manerba, Daniele; Tadei, Roberto; Terzo, Olivier. Machine Learning and Optimization for Production Rescheduling in Industry 4.0. THE INTERNATIONAL JOURNAL OF ADVANCED MANUFACTURING TECHNOLOGY. - ISSN 1433-3015. Aug. 2020.
  68. Dolly Sapra and Andy D. Pimentel. An Evolutionary Optimization Algorithm for GraduallySaturating Objective Functions. GECCO ’20, Cancún, Mexico. July. 2020.
  69. Dolly Sapra and Andy D. Pimentel. Constrained Evolutionary Piecemeal Training to Design Convolutional Neural Networks. IEA/AIE 2020 – Kitakyushu, Japan. July. 2020.
  70. Femi Emmanuel Ayo, Sakinat Oluwabukonla Folorunso, Adebayo A. Abayomi-Alli, Adebola Olayinka Adekunle, Joseph Bamidele Awotunde. Network intrusion detection based on deep learning model optimized with rule-based hybrid feature selection. Information Security Journal: A Global Perspective. May 2020.
  71. Zainol N., Fakharudin A.S., Zulaidi N.I.S. Model Optimization Using Artificial Intelligence Algorithms for Biological Food Waste Degradation. Yaser A. (eds) Advances in Waste Processing Technology. Springer, Singapore. May 2020.
  72. Sonya Voneva, Manar Mazkatli, Johannes Grohmann and Anne Koziolek. Optimizing Parametric Dependencies forIncremental Performance Model Extraction. Karlsruhe Institute of Technology, Karlsruhe, Germany. April. 2020.
  73. Raúl Lara-Cabrera, Ángel González-Prieto, Fernando Ortega and Jesús Bobadilla. Evolving Matrix-Factorization-Based Collaborative Filtering Using Genetic Programming. MDPI, Applied Sciences. Feb. 2020.
  74. Humm B.G., Hutter M. Learning Patterns for Complex Event Detection in Robot Sensor Data. Optimization and Learning. OLA 2020. Communications in Computer and Information Science, vol 1173. Springer Feb. 2020.
  75. Erich C. Teppan, Giacomo Da Col. Genetic Algorithms for Creating Large Job Shop Dispatching Rules. Advances in Integrations of Intelligent Methods. Smart Innovation, Systems and Technologies, vol 170. Springer, Singapore. Jan. 2020.
  76. Ricardo Pérez-Castillo, Francisco Ruiz, Mario Piattini. A decision-making support system for Enterprise Architecture Modelling. Decision Support Systems. Jan. 2020.
  77. Sabrina Appel, Wolfgang Geithner, Stephan Reimann, Mariusz Sapinski, Rahul Singh and Dominik Vilsmeier. Application of nature-inspired optimization algorithms and machine learning for heavy-ion synchrotrons. International Journal of Modern Physics A. Dec. 2019.
  78. O. M. Elzeki, M. F. Alrahmawy, Samir Elmougy. A New Hybrid Genetic and Information Gain Algorithm for Imputing Missing Values in Cancer Genes Datasets. PInternational Journal of Intelligent Systems and Applications (IJISA), Vol.11, No.12, pp.20-33, DOI: 10.5815/ijisa.2019.12.03. Dec. 2019.
  79. Oliver Strauß, Ahmad Almheidat and Holger Kett. Applying Heuristic and Machine Learning Strategies to ProductResolution. Proceedings of the 15th International Conference on Web Information Systems and Technologies (WEBIST 2019), pages 242-249. Nov. 2019.
  80. Yuanyuan Li, Stefano Carabelli, Edoardo Fadda, Daniele Manerba, Roberto Tadei1 and Olivier Terzo. Integration of Machine Learning and OptimizationTechniques for Flexible Job-Shop Rescheduling inIndustry 4.0. Politecnico di Torino, Operations Research and Optimization Group. Oct. 2019.
  81. Höttger R., Igel B., Spinczyk O. Constrained Software Distribution for Automotive Systems. Communications in Computer and Information Science, vol 1078. Oct. 2019.
  82. Jin-wooLee, Gwangseon Jang, Hohyun Jung, Jae-Gil Lee, Uichin Lee. Maximizing MapReduce job speed and reliability in the mobile cloud by optimizing task allocation. Pervasive and Mobile Computing. Oct. 2019.
  83. Krawczyk, Lukas, Mahmoud Bazzal, Ram Prasath Govindarajan and Carsten Wolff. Model-Based Timing Analysis and Deployment Optimization for Heterogeneous Multi-core Systems using Eclipse APP4MC. 2019 ACM/IEEE 22nd International Conference on Model Driven Engineering Languages and Systems Companion: 44-53. Sep. 2019.
  84. Junio Cezar Ribeiro da Silva, Lorena Leão, Vinicius Petrucci, Abdoulaye Gamatié, Fernando MagnoQuintao Pereira. Scheduling in Heterogeneous Architectures via Multivariate Linear Regression on Function Inputs. lirmm-02281112. Sep. 2019.
  85. Eric O. Scott, Sean Luke. ECJ at 20: toward a general metaheuristics toolkit. GECCO '19: Proceedings of the Genetic and Evolutionary Computation Conference Companion, Pages 1391–1398. July 2019.
  86. Francisco G. Montoya and Raúl Baños Navarro (Eds.). Optimization Methods Applied to Power Systems, Volume 2. MDPI Books, ISBN 978-3-03921-156-2. July 2019.
  87. Höttger, Robert & Ki, Junhyung & Bui, Bao & Igel, Burkhard & Spinczyk, Olaf. CPU-GPU Response Time and Mapping Analysis for High-Performance Automotive Systems. 10th International Workshop on Analysis Tools and Methodologies for Embedded and Real-time Systems (WATERS) co-located with the 31st Euromicro Conference on Real-Time Systems (ECRTS'19). July 2019.
  88. Maxime Cordy, Steve Muller, Mike Papadakis, and Yves Le Traon. Search-based test and improvement of machine-learning-based anomaly detection systems. Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA 2019). ACM, New York, NY, USA, 158-168. July 2019.
  89. Michael Vistein, Jan Faber, Clemens Schmidt-Eisenlohr, Daniel Reiter. Automated Handling of Auxiliary Materials using a Multi-Kinematic Gripping System. Procedia Manufacturing Volume 38, 2019, Pages 1276-1283. June 2019.
  90. Nikolaos Nikolakis, Ioannis Stathakis, Sotirios Makris. On an evolutionary information system for personalized support to plant operators. 52nd CIRP Conference on Manufacturing Systems (CMS), Ljubljana, Slovenia. June 2019.
  91. Michael Trotter, Timothy Wood and Jinho Hwang. Forecasting a Storm: Divining Optimal Configurations using Genetic Algorithms and Supervised Learning. 13th IEEE International Conference on Self-Adaptive and Self-Organizing Systems (SASO 2019). June 2019.
  92. Krawczyk, Lukas & Bazzal, Mahmoud & Prasath Govindarajan, Ram & Wolff, Carsten. An analytical approach for calculating end-to-end response times in autonomous driving applications. 10th International Workshop on Analysis Tools and Methodologies for Embedded and Real-time Systems (WATERS 2019). June 2019.
  93. Rodolfo Ayala Lopes, Thiago Macedo Gomes, and Alan Robert Resende de Freitas. A symbolic evolutionary algorithm software platform. Proceedings of the Genetic and Evolutionary Computation Conference Companion (GECCO '19). July 2019.
  94. Aleksandar Prokopec, Andrea Rosà, David Leopoldseder, Gilles Duboscq, Petr Tůma, Martin Studener, Lubomír Bulej, Yudi Zheng, Alex Villazón, Doug Simon, Thomas Würthinger, Walter Binder. Renaissance: Benchmarking Suite for Parallel Applications on the JVM. PLDI ’19, Phoenix, AZ, USA. June 2019.
  95. Robert Höttger, Lukas Krawczyk, Burkhard Igel, Olaf Spinczyk. Memory Mapping Analysis for Automotive Systems. Brief Presentations Proceedings (RTAS 2019). Apr. 2019.
  96. Al Akkad, M. A., & Gazimzyanov, F. F. AUTOMATED SYSTEM FOR EVALUATING 2D-IMAGE COMPOSITIONAL CHARACTERISTICS: CONFIGURING THE MATHEMATICAL MODEL. Intellekt. Sist. Proizv., 17(1), 26-33. doi: 10.22213/2410-9304-2019-1-26-33. Apr. 2019.
  97. Alcayde, A.; Baños, R.; Arrabal-Campos, F.M.; Montoya, F.G. Optimization of the Contracted Electric Power by Means of Genetic Algorithms. Energies, Volume 12, Issue 7, Apr. 2019.
  98. Abdul Sahli Fakharudin, Norazwina Zainol, Zulsyazwan Ahmad Khushairi. Modelling and Optimisation of Oil Palm Trunk Core Biodelignification using Neural Network and Genetic Algorithm. IEEA '19: Proceedings of the 8th International Conference on Informatics, Environment, Energy and Applications; Pages 155–158, Mar. 2019.
  99. Aleksandar Prokopec, Andrea Rosà, David Leopoldseder, Gilles Duboscq, Petr Tůma, Martin Studener, Lubomír Bulej, Yudi Zheng, Alex Villazón, Doug Simon, Thomas Wuerthinger, Walter Binder. On Evaluating the Renaissance Benchmarking Suite: Variety, Performance, and Complexity. Cornell University: Programming Languages, Mar. 2019.
  100. S. Appel, W. Geithner, S. Reimann, M Sapinski, R. Singh, D. M. Vilsmeier OPTIMIZATION OF HEAVY-ION SYNCHROTRONS USINGNATURE-INSPIRED ALGORITHMS AND MACHINE LEARNING.13th Int. Computational Accelerator Physics Conf., Feb. 2019.
  101. Saad, Christian, Bernhard Bauer, Ulrich R Mansmann, and Jian Li. AutoAnalyze in Systems Biology. Bioinformatics and Biology Insights, Jan. 2019.
  102. Gandeva Bayu Satrya, Soo Young Shin. Evolutionary Computing Approach to Optimize Superframe Scheduling on Industrial Wireless Sensor Networks. Cornell University, Dec. 2018.
  103. H.R. Maier, S. Razavi, Z. Kapelan, L.S. Matott, J. Kasprzyk, B.A. Tolson. Introductory overview: Optimization using evolutionary algorithms and other metaheuristics. Environmental Modelling & Software, Dec. 2018.
  104. Erich C. Teppan and Giacomo Da Col. Automatic Generation of Dispatching Rules for Large Job Shops by Means of Genetic Algorithms. CIMA 2018, International Workshop on Combinations of Intelligent Methods and Applications, Nov. 2018.
  105. Pasquale Salzaa, Filomena Ferrucci. Speed up genetic algorithms in the cloud using software containers. Future Generation Computer Systems, Oct. 2018.
  106. Ghulam Mubashar Hassan and Mark Reynolds. Genetic Algorithms for Scheduling and Optimization of Ore Train Networks. GCAI-2018. 4th Global Conference on Artificial Intelligence, Sep. 2018.
  107. Drezewski, Rafal & Kruk, Sylwia & Makowka, Maciej. The Evolutionary Optimization of a Company’s Return on Equity Factor: Towards the Agent-Based Bio-Inspired System Supporting Corporate Finance Decisions. IEEE Access. 6. 10.1109/ACCESS.2018.2870201, Sep. 2018.
  108. Arifin, H. H., Chimplee, N. , Kit Robert Ong, H. , Daengdej, J. and Sortrakul, T. Automated Component‐Selection of Design Synthesis for Physical Architecture with Model‐Based Systems Engineering using Evolutionary Trade‐off. INCOSE International Symposium, 28: 1296-1310, Aug. 2018.
  109. Ong, Robert & Sortrakul, Thotsapon. Comparison of Selection Methods of Genetic Algorithms for Automated Component-Selection of Design Synthesis with Model-Based Systems Engineering. Conference: I-SEEC 2018, May 2018.
  110. Stephan Pirnbaum. Die Evolution im Algorithmus - Teil 2: Multikriterielle Optimierung und Architekturerkennung. JavaSPEKTRUM 03/2018, pp 66–69, May 2018.
  111. W. Geithner, Z. Andelkovic, S. Appel, O. Geithner, F. Herfurth, S. Reimann, G. Vorobjev, F. Wilhelmstötter. Genetic Algorithms for Machine Optimization in the Fair Control System Environment. The 9th International Particle Accelerator Conference (IPAC'18), May 2018.
  112. Stephan Pirnbaum. Die Evolution im Algorithmus - Teil 1: Grundlagen. JavaSPEKTRUM 01/2018, pp 64–68, Jan. 2018.
  113. Alexander Felfernig, Rouven Walter, José A. Galindo, David Benavides, Seda Polat Erdeniz, Müslüm Atas, Stefan Reiterer. Anytime diagnosis for reconfiguration. Journal of Intelligent Information Systems, pp 1–22, Jan. 2018.
  114. Bruce A. Johnson. From Raw Data to Protein Backbone Chemical Shifts Using NMRFx Processing and NMRViewJ Analysis. Protein NMR: Methods and Protocols, pp. 257--310, Springer New York, Nov. 2017.
  115. Cuadra P., Krawczyk L., Höttger R., Heisig P., Wolff C. Automated Scheduling for Tightly-Coupled Embedded Multi-core Systems Using Hybrid Genetic Algorithms. Information and Software Technologies: 23rd International Conference, ICIST 2017, Druskininkai, Lithuania. Communications in Computer and Information Science, vol 756. Springer, Cham, Sep. 2017.
  116. Michael Trotter, Guyue Liu, Timothy Wood. Into the Storm: Descrying Optimal Configurations Using Genetic Algorithms and Bayesian Optimization. Foundations and Applications of Self* Systems (FAS*W), 2017 IEEE 2nd International Workshops Sep. 2017.
  117. Emna Hachicha, Karn Yongsiriwit, Mohamed Sellami. Genetic-Based Configurable Cloud Resource Allocation in QoS-Aware Business Process Development. Information and Software Technologies: 23rd International Conference, ICIST 2017, Druskininkai, Lithuania. Web Services (ICWS), 2017 IEEE International Conference, Jun. 2017.
  118. Abraão G. Nazário, Fábio R. A. Silva, Raimundo Teive, Leonardo Villa, Antônio Flávio, João Zico, Eire Fragoso, Ederson F. Souza. Automação Domótica Simulada Utilizando Algoritmo Genético Especializado na Redução do Consumo de Energia. Computer on the Beach 2017 pp. 180-189, March 2017.
  119. Bandaru, S. and Deb, K. Metaheuristic Techniques. Decision Sciences. CRC Press, pp. 693-750, Nov. 2016.
  120. Lyazid Toumi, Abdelouahab Moussaoui, and Ahmet Ugur. EMeD-Part: An Efficient Methodology for Horizontal Partitioning in Data Warehouses. Proceedings of the International Conference on Intelligent Information Processing, Security and Advanced Communication. Djallel Eddine Boubiche, Faouzi Hidoussi, and Homero Toral Cruz (Eds.). ACM, New York, NY, USA, Article 43, 7 pages, 2015.
  121. Andreas Holzinger (Editor), Igo Jurisica (Editor). Interactive Knowledge Discovery and Data Mining in Biomedical Informatics. Lecture Notes in Computer Science, Vol. 8401. Springer, 2014.
  122. Lyazid Toumi, Abdelouahab Moussaoui, Ahmet Ugur. Particle swarm optimization for bitmap join indexes selection problem in data warehouses. The Journal of Supercomputing, Volume 68, Issue 2, pp 672-708, May 2014.
  123. TANG Yi (Guangzhou Power Supply Bureau Limited, Guangzhou 511400, China) Study on Object-Oriented Reactive Compensation Allocation Optimization Algorithm for Distribution Networks, Oct. 2012.
  124. John M. Linebarger, Richard J. Detry, Robert J. Glass, Walter E. Beyeler, Arlo L. Ames, Patrick D. Finley, S. Louise Maffitt. Complex Adaptive Systems of Systems Engineering Environment Version 1.0. SAND REPORT, Feb. 2012.

Release notes

Improvements

  • #822: Improve the build script for generating combined Javadoc.
  • #898: Add support for reading data from CSV files or strings. This simplifies the code for regression problems.
static List<Sample<Double>> parseDoubles(final CharSequence csv) {
	return CsvSupport.parseDoubles(csv).stream()
		.map(Sample::ofDouble)
		.toList();
}
  • #904: Upgrade to Gradle 8.10 and cleanup of build scripts.
  • #907: Add a chapter in the user's manual for optimization strategies: Practical Jenetics.
  • #909: Helper methods for converting primitive arrays.
final Codec<int[], DoubleGene> codec = Codecs
    .ofVector(DoubleRange.of(0, 100), 100)
    .map(Conversions::doubleToIntArray);

Bugs

  • #419: Fix flaky statistical tests.

Improvements

  • Java 21 is used for building and using the library.
  • #878: Allow Virtual-Threads evaluating the fitness function. Must be enabled when creating an Engine (see code snippet below), the previous behavior has been preserved.
final Engine<DoubleGene, Double> engine = Engine.builder(ff)
	.fitnessExecutor(BatchExecutor.ofVirtualThreads())
	.build();
  • #880: Replace code examples in Javadoc with JEP 413.
  • #886: Improve CharStore sort.
  • #894: New genetic operators: ShiftMutator, ShuffleMutator and UniformOrderBasedCrossover.
  • #895: Improve default RandomGenerator selection. The used RandomGenerator is selected in the following order:
    1. Check if the io.jenetics.util.defaultRandomGenerator start parameter is set. If so, take this generator.
    2. Check if the L64X256MixRandom generator is available. If so, take this generator.
    3. Find the best available random generator according to the RandomGeneratorFactory.stateBits() value.
    4. Use the Random generator if no best generator can be found. This generator is guaranteed to be available on every platform.

All Release Notes

License

The library is licensed under the Apache License, Version 2.0.

Copyright 2007-2024 Franz Wilhelmstötter

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Used software

IntelliJ

SmartGit

Pinned Loading

  1. jenetics jenetics Public

    Jenetics - Genetic Algorithm, Genetic Programming, Grammatical Evolution, Evolutionary Algorithm, and Multi-objective Optimization

    Java 852 152

  2. jpx jpx Public

    JPX - Java GPX library

    Java 206 31

  3. prngine prngine Public

    PRNGine - Pseudo Random Number Engines for Monte Carlo simulations

    Java 9 2

  4. facilejdbc facilejdbc Public

    FacileJDBC - Fast, simple and lightweight JDBC wrapper

    Java 39 1