Next Article in Journal
Advances in Computational Fluid Dynamics of Mechanical Processes in Food Engineering: Mixing, Extrusion, Drying, and Process Optimization
Previous Article in Journal
Epigenetic Signatures of Dental Stem Cells: Insights into DNA Methylation and Noncoding RNAs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Cellular Automata-Based Crossover Operator for Binary Chromosome Population Genetic Algorithms

Department of Mathematics-Informatics, The National University of Science and Technology POLITEHNICA Bucharest, Pitești University Centre, 110040 Pitești, Romania
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(15), 8750; https://doi.org/10.3390/app15158750
Submission received: 6 July 2025 / Revised: 29 July 2025 / Accepted: 4 August 2025 / Published: 7 August 2025
(This article belongs to the Special Issue Applications of Genetic and Evolutionary Computation)

Abstract

In this paper, we propose a crossover operator for genetic algorithms with binary chromosomes populations based on the cellular automata ( CGACell ). After presenting the fundamental elements regarding cellular automata with specific examples for one- and two- dimensional cases, the the most widely used crossover operators in applications with genetic algorithms are described, and the crossover operator based on cellular automata is defined. Specific forms of the crossover operator based on the ECA and 2D CA cases are described and exemplified. The CGACell crossover operator is used in the genetic structure to improved the KNN algorithm in terms of the parameter represented by the number of nearest neighbors selected by the data classification method. Validity and practical performance testing are performed on image data classification problems by optimizing the nearest-neighbors-based algorithm. The experimental study on the proposed crossover operator, by comparing a GA algorithm based on CGACell with GA algorithms based on other crossover methods, including classical GAs and permutation-based, heuristic, and hybrid methods, attests to good qualitative performance in terms of correctness percentages in the recognition of new images, as well as in classification and recognition applications of facial image classes corresponding to several persons.

1. Introduction

The numerous theoretical and practical applications, conferred by the ability to offer innovative solutions for a varied range of complex problems, have positioned optimization techniques in the attention of researchers from various fields such as machine learning, operations research, computational systems biology, mechanics, economics, and finance. Among the categories of optimization techniques, we can specify stochastic optimization, linear programming, quadratic programming, continuous optimization, discrete optimization, and unconstrained optimization, as well as evolutionary algorithms, that are able to find solutions in complex and large data spaces [1,2]. The main evolutionary algorithms used are Genetic Algorithms, Particle Swarm Optimizations (PSOs), the Ant Colony (AC) Algorithm, Simulated Annealing (SA), Immune Algorithms (IAs), the Artificial Bee Colony (ABC), the Firefly Algorithm (FA), and Differential Evolution (DE). Realizing the percentages of use in applications, with a value of over 50%, genetic algorithms were chosen [3]. Among the various applications of genetic algorithms, the most important is the optimization of problems by determining the optimal solutions. Genetic algorithms are optimization algorithms inspired by the process of natural selection through which representative individuals are advantaged, and it was developed by Goldberg (1989) [4]. Applications using GA include data clustering and mining, neural networks, image processing, feature selection for machine learning, medical science, learning robot behavior, the traveling salesman problem, vehicle routing problems, financial markets, manufacturing systems, and mechanical engineering design [5,6].
In the process of searching for solutions in the solution space, a genetic algorithm performs an evolutionary transformation of the population, over several generations, by using the genetic operators of selection, crossover, and mutation, and the quality of the descendants of the chromosomes in the current population is evaluated by the function fitness that decides the composition of the new population of chromosomes. An essential role in the evolutionary process of a genetic algorithm is represented by the reproduction stage, in which the chromosomes, selected to participate in the formation of the new generation, determine the new descendants through the gene crossing operation [7,8]. Thus, the crossover problem has many developments in specialized research, establishing experimental performances from classic methods (with one point, with two or more crossing points—uniform or ordered) to techniques to solve object classification problems (Looseness control crossover or Greedy partition crossover) [9,10,11,12,13].
The aim of the paper is to propose a crossover operator for genetic algorithms using cellular automata and to establish the experimental performance in specific data classification applications.

2. Related Work

In the specialized literature, there are many optimization applications in which genetic algorithms are used, with improvements at the crossover stage. E. Tafehi et al. introduced a new and improved method for GAs based on Chaotic Cellular Automata (CCA), along with the influencing pseudorandom number generator. The operations specific to the genetic algorithm of selection, mutation, and crossover are influenced by the pseudorandom number generator and thus change the behavior of the evolution of chromosomes in the exploration space [14,15,16,17,18]. U. Cerruti et al. introduced an original implementation of a cellular automaton whose rules use a fitness function to select for each cell the best mate to reproduce and a crossover operator to determine the resulting offspring. They also created two generalizations of the game of life and other applications in the paper [19]. Deng et al., in their paper [20], proposed a hybrid cellular genetic algorithm with simulated annealing in which the genetic algorithm was used together with cellular automata. They applied a hybrid cellular genetic algorithm combined with a simulated annealing algorithm to solve the TSP, and the experimental results showed the optimization performance of the hybrid cellular genetic algorithm. In the paper [21], M. Mitchell et al. applied genetic algorithms to the design of cellular automata that can perform calculations that require global coordination. The proposed work method establishes for each chromosome in the population a candidate rule table. The evolution of CA with the GA has provided an appropriate framework in which to study the mechanisms by which an evolutionary process could create complex coordinated behavior in decentralized distributed natural systems. S.J. Louis and G.L. Raines used a genetic algorithm to calibrate a cellular automaton that modeled mining activity on public land in Idaho and Western Montana. The genetic algorithm searches in the parameter space of the transition rules of a 2D CA to find the parameters of the rule that matches the observed mining activity data [22]. Also, with reference to the proposed application of the optimization of the KNN algorithm by using the proposed crossover operator, other results established in this direction can be mentioned. For example, the authors N. Suguna and K. Thanushkodi in the paper [23] presented an improved version of KNN where instead of considering all the training samples, the GA was employed to take k-neighbors straightaway and then calculate the distance to classify the test samples; before classification, the reduced feature set is initially received from a novel method based on rough set theory hybrid with Bee Colony Optimization. In [24], the authors presented a novel approach for classifying heart disease by combining KNN with a genetic algorithm. As a way to validate the proposed method, they tested with emphasis on heart disease, and the experimental results showed that their algorithm enhanced the accuracy in the diagnosis of heart disease.

3. The Cellular Automata

Cellular automata are among the oldest models of natural computing, with the first studies being carried out by John von Neumann in the 1940s. Cellular automata have a biological motivation rendered by the design of artificial systems that have the property of self-replication, having as inspiration the model from the level of the human brain in which memory and processing units do not operate separately but are able to work together [25]. Following S. Ulam’s suggestions, J. Neumann developed the system by considering a discrete space consisting of a two-dimensional mesh of machines with finite states. Given the ability to solve problems of high complexity, cellular automata have been used in the fields of natural sciences, mathematics, and computer science [26,27,28]. After A. Burks published J. von Neumann’s book in 1966, more scientists became interested in cellular automata. John Conway in 1970 introduced a CA game called Game of Life. He used a two-dimensional lattice with two possible states for the cells (dead or alive), and the transition was made based on the neighboring cells of the dead or alive type [29]. A cellular system constitutes a basic framework or cellular space in which the events of the automaton can take place and the simple and precise rules applied will ensure the functioning of the system [30]. The cellular space is defined by an n-dimensional space, together with a neighborhood relation defined on this space. The neighborhood relation associates each cell in the cell space with a lot of neighboring cells. A cellular automaton is specified by a finite list of states for each cell, an initial state, and a transition function that, based on the neighborhood relationship at time t, establishes a new state at time t + 1 corresponding to each cell. In the standard formulation, CA can be studied in the Z d ( d N * ) space and using an alphabet L. In recent years, several generalizations relative to the CA alphabet have been developed through the use of groups, vector spaces, and commutative monoids [31,32,33,34]. For the case of a group V and an alphabet set L, the specific elements (configuration space, shift action, memory set, and local function) for defining a cellular automaton are given below [35,36].
Definition 1 (configuration space).
The configuration space represents the set of functions defined on V with values in L of the form L V = { f : V L } .
Definition 2 (shift action).
The shift action of V on L V is defined by g · f ( h ) = f · ( g 1 h ) , for all f L V , g , h V .
Definition 3 (memory set and local function).
The memory set represents a subset M of the set V ( M V ), and a local function is defined by a function φ : L M L .
Definition 4 (cellular automaton).
A cellular automaton is defined by a function γ : L V L V that satisfies the property γ ( f ) ( g ) = φ ( g 1 · f ) | M ) , with memory set M and local function φ, f L V , g V and where | M denotes the restriction to M of a configuration in L V .
Remark 1 (Elementary cellular automaton (ECA) 1D CA). 
The elementary cellular automaton represents a one-dimensional cellular automaton (1D CA) with two states ( L = { 0 , 1 } ), and the transition rule in a new state of a cell depends only on the neighborhood formed with the adjacent cells (the current cell and the left and right neighbors of the cell).
An ECA capable of universal computation due to the property of simulating any Turing machine, thus allowing the system to recognize or decide other sets of data manipulation rules, is a one-dimensional CA corresponding to rule 110 of the Wolfram code, establishing the resulting states for the eight possible configurations associated with a cell with its two adjacent neighbors.
To establish the particular case of the ECA, the settings corresponding to the one-dimensional case with two cell states are considered by V = Z and L = { 0 , 1 } . With these conditions, the configuration space is L V = L Z = { f : Z L } , L Z = { , f n , f ( n 1 ) , , f 2 , f 1 , f 0 , f 1 , f 2 , , f n , } , where f i = { , f m , f ( m 1 ) , , f 2 , f 1 , f 0 , f 1 , f 2 , , f m 1 , f m , } , f i = f ( i ) , i Z , and f ( i ) represents the value of the image of i by the function f i , n , m N . In this case, the shift action of r Z on L Z can be written by the following relation: r · f = { , f r m , f ( r + m 1 ) , , f r 2 , f r 1 , f r , f r + 1 , f r + 2 , , f r + m 1 , f r + m , } .
Also, the memory set M is established based on the pattern associated with the neighborhood used for the cells of the automaton by M = { 1 , 0 , 1 } , and the local function of the automaton is defined by φ : L M L ( φ : { 0 , 1 } { 1 , 0 , 1 } { 0 , 1 } ).
The cellular automaton is defined based on set memory M and the local function φ through the function γ : { 0 , 1 } Z { 0 , 1 } Z that satisfies the property γ ( f ) ( j ) = φ ( j 1 · f ) | M ) , f { 0 , 1 } Z , j Z , and where | M denotes the restriction to M = { 1 , 0 , 1 } of a configuration in { 0 , 1 } Z .
Using the Wolfram code and choosing rule 110 and rule 90 for the local function φ, the ECA can be written according to the values specified in Table 1 (ECA110) and Table 2 (ECA90), respectively, in which both the state values of the neighboring cells and the output values associated with rule 110 and rule 90 (with binary representation 110 2 = 01101110 and 90 2 = 01011010 ) are shown. The results of ECA 110 for n r = 10 generations of evolution of cell states of a cellular automaton with n = 16 cells are shown in Table 3. The results of ECA 90 for n r = 10 generations of evolution of cell states of a cellular automaton with n = 16 cells are shown in Table 4.
Table 5 shows the binary images associated with the state values of the elementary automata cells corresponding to rules 30, 90, 99, and 110, respectively, 158 (denoted by E 30, E 90, E 99, and E 110, respectively, E 158) after 150 g e n e r a t i o n s of cell evolution and by using 31 c e l l s in the initial sequence.
Remark 2 (Two-dimensional cellular automata (2D CA)). 
There are several approaches in the field to define two-dimensional cellular automata (2D CA). As in the case of ECA, the components of a cellular automaton are the lattice (set of cells—each one in a state), the neighborhood, and the local transition rules. The rules represent the communication between each cell and its neighborhood; it is local and uniform for the whole lattice and synchronous. The rules determine the global evolution of the system at each discrete step in time. The lattice represents the V group also considered for the definition of one-dimensional cellular automata ECA. If V = Z was considered for the ECA, V = Z 2 is considered for the definition of two-dimensional cellular automata. The neighborhood is the set of cells taken into account in the evolution of the cell. The most used are the Von Neumann and Moore neighborhoods. The von Neuman neighborhood model is a template that contains the immediate north, south, east, and west neighbors of the current cell. The Moore neighborhood model is a template that includes all the immediate neighbors of the current cell (from the north, south, east, west, northeast, northwest, southeast, and southwest). Over time, several models with adequate results in applications have been added to these templates [37,38] (Figure 1).
The states of a 2D CA at any moment can be represented by a binary matrix A of size m · n , m , n N * that will contain the cells of the automaton. According to the definition in [39], for the von Neumann neighborhood consisting of five neighbors and the lattice A, the state of a cell in position ( i , j ) ( i , j N * ) of A, a i j t + 1 is updated from a new generation t + 1 ( t N * ) through a relation of the form a i j t + 1 = ϕ ( a i j 1 t , a i j + 1 t , a i j t , a i 1 j t , a i + 1 j t ) , with i = 1 . . n ¯ , j = 1 . . m ¯ , t = 1 . . N g ¯ , where N g N * is the number of generations of evolution of the automaton. Given the size of the considered neighborhood with k = 5 neighbors, we have 2 k possible states associated with cells in the neighborhood based on a rule for associating bits from the binary representation of numerical values in the interval [ 0 , 2 2 k 1 ] N .
Another variant used is the one in which the state of the current cell is determined by a rule based on a function f, with the argument represented by the sum of the values of the states of the neighbors retrieved according to the template used as a i j t + 1 = f ( a i j 1 t + a i j + 1 t + a i j t + a i 1 j t + a i + 1 j t ) with i = 1 . . n ¯ and j = 1 . . m ¯ and t = 1 . . N g ¯ with the extension of f ˜ through a i j t + 1 = f ˜ ( a i j t , a i j 1 t + a i j + 1 t + a i 1 j t + a i + 1 j t ) by using only the four neighbors. In this case, the sum of the binary state of the neighbors are maximally 4, and we may establish the new state of the cell a i j t + 1 to be equal with the bit value by position a i j 1 t + a i j + 1 t + a i 1 j t + a i + 1 j t from the binary representation for the choose rule in numerical domain like [ 0 , 2 k 1 ] = [ 0 , 2 5 1 ] N . By using the variant based on the f ˜ function, the images associated with the evolution generations of the 2D CA in Figure 2, Figure 3, Figure 4, Figure 5, Figure 6 and Figure 7 were generated. The two-dimensional space of the cellular automaton is initialized by using a square matrix of size 28, with all state values equal to 0, with the exception of the cell located in the middle of the matrix, which is initialized with the value 1, for all cases represented graphically. Figure 3 and Figure 4 are shown in two-dimensional results of the cellular automaton for the von Neumann neighborhood case and the application of the f ˜ function for rules 6 (line 1), 9 (line 2), 17 (line 3), 21 (line 4), and 26 (line 5), respectively. In Figure 3 are displayed the images corresponding to the results of the automaton along the first 10 generations of evolution, and in Figure 4 are displayed the images associated with the automaton for generations from 5 to 50 but displayed with the progression rate equal to 5. Figure 6 and Figure 7 are shown in two-dimensional results of the cellular automaton for the Moore neighborhood case and the application of the f ˜ function for rules 33 (line 1), 90 (line 2), 94 (line 3), 150 (line 4), 234 (line 5), 261 (line 6), 322 (line 7), 330 (line 8), 386 (line 9), and 490 (line 10), respectively. In Figure 6 are displayed the images corresponding to the results of the 2D CA along the first 10 generations of evolution, and in Figure 7 are displayed the images associated with the 2D CA for generations from 5 to 50 but displayed with the progression rate equal to 5. The graphic representation of the evolution of a 2D CA along 100 generations of cellular evolution is made in Figure 2 and Figure 5 in which the images obtained by using a von Neumann neighborhood with rule 9 are shown, respectively, and of a Moore neighborhood with rule 330.

4. Genetic Algorithms

4.1. The General Presentation of GA

Genetic algorithms are adaptive heuristic search techniques based on principles genetics and natural selection, stated by Darwin (survival of the best adapted). The mechanism is similar to the biological process of evolution. According to this process, only the species that adapt better to the environment are able to survive and evolve over generations, while those less adapted do not manage to survive and eventually disappear, as a result of natural selection. As practical applications, genetic algorithms are most often used in solving problems of optimization, planning, or searches [40].
The fitness function is used to measure the quality of the chromosomes and is formulated starting from the numerical function to be optimized. The fitness function has a key role at the level of the genetic algorithm through the ranking of chromosomes and the decisions it can produce in the choice of offspring throughout the calculation generations.
The genetic operators used by genetic algorithms are the following:
  • Selection: This is an important stage of a genetic algorithm in that it determines the way of choosing the parent chromosomes that will participate in the recombination stage and produce new individuals in the current population. Among the most important selection techniques are roulette wheel, rank, tournament, Boltzmann, and stochastic universal sampling [41].
  • Crossover: This determines the transformation method of the genes from the parent chromosomes to result in new candidate chromosomes for the next generation.
  • The mutation: This is based on some probability values, where certain values of the genes of a descendant chromosome can be changed. Mutation is an operator that maintains the genetic diversity from one population to the next population.
For the stages of selection, recombination, and mutation, there are several application and calculation methods used in the field of genetic algorithms. Depending on the specifics of the application and the way chromosome genes are represented, certain methods associated with the application of genetic operators have been chosen in order to obtain good results in experimental studies [42]. The initialization stage at the level of the genetic algorithm is represented by the evaluation of the format of the input data corresponding to the domain of the problem being optimized and the encoding of the input data, as a rule, by binary values or real values. The initial population will consist of a lot of input vectors with binary or real values as chromosomes. Genetic operators will be applied to the population of chromosomes over several generations of evolution, until the stopping condition is fulfilled, by forming new generations based on the fitness function that evaluates the quality of the individuals in the current population.
The general structure of a genetic algorithm (also shown in the Figure 8) is defined as follows:
  • Set the time t 0 .
  • Creation of the initial population P ( t ) .
  • Evaluation of the initial population with the fitness function ( f i t n e s s ( P ( t ) ) ) .
  • Therein, the final condition is false and defined as follows:
    t t + 1 .
    Selection of new generation P ( t ) from P ( t 1 ) .
    Application of the crossover operator for the selected chromosomes for the new population P ( t ) .
    Evaluation of the new population with the fitness function ( f i t n e s s ( P ( t ) ) ) and determining the final chromosomes (keeping the best chromosomes or according to a certain rule for the formation of new generations).

4.2. Crossover Methods Used by GA

Crossover operators are used to generate offspring chromosomes by recombining selected individuals from the current population to form the new generation. Among the most used crossover operators are single-point, two-point, k-point, uniform, partially matched, order, precedence preserving crossover, shuffle, reduced surrogate, and cycle.
Single-point crossing determines the offspring by taking the values of the genes from one parent up to the crossing point and the genes from the other parent after the crossing point position. Application examples for one-point crossover are shown in Figure 9, where the gene values are binary values, and in Figure 10, where the gene values are real values.
In a two-point and k-point crossing, two or more random crossing points are selected, and the offspring are obtained by taking the genetic information from each parent by swiping in the crossing points. Application examples for k-point crossover ( k N * , k = 3 ) are shown in Figure 11, where the gene values are binary values, and in Figure 12, where the gene values are real values.
Uniform crossover is achieved by taking genes from the first or second parent evenly based on a uniform random parameter, for each gene, that decides which parent the gene is taken. Application examples for uniform crossover (the uniform parameter establishes the modification of the genes on positions 4 and 7) are shown in Figure 13, where the gene values are binary values, and in Figure 14, where the gene values are real values.
Partially Mapped Crossover (PMX) was proposed by D. Goldberg and R. Lingle and is one of the most used operators in genetic algorithm applications [43]. The working method for this operator includes several stages: two parents are selected for recombination, the values of the two cutting positions are determined that determine the mapping of the values from one parent to the other, and analysis of the mapping rules and their application to the gene areas outside the mapping area at the level of the two parents is conducted. In the end, two descendants are obtained that in the cutting area keep the genes of one of the parents, and outside the cutting area, certain values are updated based on the mapping between the two parents. An example regarding the steps mentioned for the PMX crossover is shown in Figure 15 by considering the cut positions equal to 3 and 6 for two parent chromosomes with nine genes.
Order Crossover (OX) is another crossover method that is based on the establishment of cutoff points that induce the preservation of the values of the genes from one parent in the respective intervals, and the rest of the genes are completed with the values from the other parent, from which the values taken are already excluded from the first parent [44]. An example for OX crossover is shown in Figure 16 having cut positions equal to 2, 4, 6, and 7 for two parent chromosomes with nine genes in the component.
In addition to the previously exemplified crossing methods in this section, many other crossover techniques have been developed by making changes to the basic ones or based on other working principles. Thus, we can specify the Average Crossover (AX), Shuflle Crossover, Modified Order Crossover (MOC), Modified Partially Mapped Crossover (MPMX), Cycle Crossover (CX), Voting Recombination Crossover Operator (VR), Masked Crossover (MkX), Heuristic Crossover (HX), Edge Recombination Crossover (ER), Alternate Edges Crossover, and Greedy Subtour Crossover [45]. A series of crossover techniques used to solve object classification problems are added, such as Looseness Control Crossover (LCC) and Headless Chicken Crossover (HCC) for classification problems; Product Geometric Crossover (PMX) for Sudoku; Simplex Crossover; Multi-Parent Crossover; Multi-Parent Feature Crossover (MFX); Multicut Crossover (MX) and Seed Crossover (SX); and Conflict Elimination Crossover (CEX) and Greedy Partition Crossover (GPX) for graph coloring problem and others [46,47,48,49,50].

5. CGACell Operator for Binary Chromosomes Population of Genetic Algorithms

In this section, the crossover operator based on cellular automata is introduced ( CGACell   operator ) for the case of chromosomes represented by genes with binary values.
Consider a cellular automaton γ and a genetic algorithm G with the population consisting of genes with binary values P ( t ) = { c h 1 , c h 2 , , c h n c } , where c h i is the i chromosome, c h i = { g i 1 , g i 2 , , g n g } , g i q { 0 , 1 } for q = 1 . . n g ¯ and i = 1 . . n c ¯ , n c N * is the number of chromosomes in P ( t ) at time t N * , and n g N * is the number of genes of the chromosomes c h i with i N * .
Definition 5 (CGACell Crossover Operator). 
The crossover operator CGACell is defined for a population of binary chromosomes P ( t ) = { c h 1 , c h 2 , , c h n c } , a cellular automaton γ (k-dimensional, k N * ), and a neighborhood V h established according to a given template for taking neighbors, where V h = { v 1 , v 2 , , v n r } , v i N k , i = 1 . . n r ¯ , n r N * is the elements number of V h , as follows:
CGACell ( C s , V h , γ ) = k D C A ( C s , V h , γ ) ,
where k D C A ( C s , V h , γ ) represents the descendant chromosome obtained by applying a k-dimensional cellular automaton ( k D C A ) on a set of chromosomes C s (with C s P ( t ) ) chosen by the selection techniques established by GA, with a cardinality correlated with the size of the neighborhood used V h .
Remark 3 (CGACell ECA). 
In the one-dimensional case of cellular automata, the crossover operator CGACell ECA is obtained. We have the relationship CGACell ( C s , V h , γ ) = 1 D C A ( C s , V h , γ ) , where the neighborhood V h consists of three elements represented by the neighboring cells on the left and right of the current cells, where V h = { v 1 , v 2 , v 3 } , v i { 0 , 1 } , n r = 3 , i = 1 . . n r ¯ , n r N * is the elements number of V h .
Observation The CGACell ECA operator can be applied in two ways: individually on each chromosome chosen in the selection stage for recombination or mixed on genes on the same positions (or corresponding through a mapping) from a number of chromosomes chosen for recombination equal to the cardinality of the set of memory M of the cellular automaton (equal to three for the exemplified case).
  • Example 1—CGACell ECA
The method of applying the operator CGACell ECA at the chromosome level using an ECA with r u l e 110 previously presented in section CA ( r e m a r k 1) is illustrated in Figure 17. Also, the results of the CGACell ECA crossover operator for E C A R u l e 90 are illustrated in Figure 18. The two offspring chromosomes correspond to the chromosomes chosen by selection to participate in reproduction for GA. Cells that change their state by applying CGACell ECA crossover and according to E C A r u l e 110 or 90 are highlighted on a white colored background for each descendant. For cells in extreme positions, they are generically filled with inactive values equal to zero for full ECA rule application.
  • Example 2—CGACell ECA
The crossover operator CGACell ECA can also be applied in mixed mode on three chromosomes chosen after the selection stage. Let the set of chromosomes chosen for reproduction in the GA selection stage be of the form C s = { c h 1 , c h 2 , c h 3 } from the current population P ( t ) .
Having the representation of chromosomes c h i = { g i 1 , g i 2 , , g i n g } , g i q { 0 , 1 } for q = 1 . . n g ¯ ( n g = 9 ) and i = 1 . . n c ¯ , n c = 3 , the neighborhood V h is formed for the application of the CGACell ECA crossover operator, by V h = { v 1 , v 2 , v 3 } , with v i = g i j , j { 1 , 2 , , n g } , v i { 0 , 1 } , n r = 3 , i = 1 . . n c ¯ .
The application of the operator CGACell ECA at a mixed level on three chromosomes using ECA with r u l e 110 is presented in Figure 19 and by using ECA with r u l e 90 in Figure 20. We can see the descendant chromosome ( D 1 or D 2 ) obtained by CGACell ECA crossover using E C A r u l e 110 or 90 with the neighborhood formed by taking the values of the genes on the same positions from the three chromosomes selected for crossing.
Descendant chromosome ( D 1 or D 2 ) cells that differ from the corresponding states in chromosome two, after applying CGACell ECA crossover and E C A r u l e 110 or 90, are highlighted on a white background.
Remark 4 (CGACell 2D CA). 
By using two-dimensional cellular automata, the version of the CGACell 2D CA crossover operator is obtained. We have the relationship CGACell ( C s , V h , γ ) = 2 D C A ( C s , V h , γ ) , where the neighborhood V s h is built in accordance with the templates presented for two-dimensional cellular automata (Remark 2), with the most representative being the von Neumann neighborhood with five neighbors; the Moore neighborhood with nine neighbors, V h = { v 1 , v 2 , v n v } , v i { 0 , 1 } , i = 1 . . n r ¯ , and n v N * is the number of neighbors in V h .
Property 1. 
The configuration space of the cellular automaton V is formed by completing the two-dimensional space with chromosomes chosen as ( C s ) from the current population P ( t ) to participate in the creation of descendants and the new generation of individuals.
  • Example 3—CGACell 2D CA
The results of applying the 2D CA crossover operator are displayed graphically in Figure 21, Figure 22, Figure 23 and Figure 24. The figures show graphical representations of the binary images corresponding to the application of CGACell 2D CA crossover with evolution in 100 generations of the chromosomes selected in C s to denote the two-dimensional configuration space of the 2D CA automaton for von Neumann neighborhoods with rules 6 and 11, respectively, and Moore with rules 330 and 490 with the use of 10 chromosomes consisting of 20 genes. In all four figures, the chromosomes descended from time t ( t N * ) are displayed by binary images of size 10 (the number of chromosomes selected for recombination) multiplied by 20 (the number of genes of each chromosome in the population) and were obtained by applying CGACell 2D CA on the parent chromosomes shown in the previous evolution generation t 1 .
Remark 5 (Application in data classification with KNN method of the CGACell crossover-based genetic algorithm). 
This is considered a data classification application using the KNN algorithm based on the nearest neighbors [51,52,53,54,55,56]. Performance testing in data classification through the KNN algorithm is performed on the basis of a set of training data X L and a set of test data X t , both sets of data from multiple data classes, and the key element that determines the improvement of the results is the parameter k number of neighbors taken into account for classification. For the optimal establishment regarding the performance in classification of the value of the k parameter, it can be achieved by applying a genetic algorithm based on CGACell crossover. The genetic algorithm based on the CGACell crossover operator (usually the ECA or 2D CA versions are used), denoted by CGACell-GA for data classification by the nearest neighbors method, includes the following work steps:
+
The population is made up of chromosomes with binary values corresponding to the binary representation of the values in the field of representation of the k parameter that designates the number of nearest neighbors that will decide, depending on the classes of origin, the classification results for the KNN algorithm.
+
The population consists of binary chromosomes with a size equal to the number of bits ( n b N * ) in the representation of the maximum value ( K m a x ) in the range of possible values for the parameter k. Let K m a x be the maximum value of k established based on the number of data used for training by K m a x = p k i = 1 l n i L , ( k [ K m i n , K m a x ] ) , where n i L is the number of the training data input from class i, i = 1 . . l ¯ ), l N * is number of data classes, and p k is the selection weight for the maximum number of neighbors with values, usually chosen, in the interval p k [ 0.4 , 0.8 ] and K m i n = 0 .
+
The population of the genetic algorithm consists of chromosomes as follows: P ( t ) = { c h 1 , c h 2 , . . . , c h n c } . Therein, c h i is the i chromosome, c h i [ K m i n , K m a x ] , c h i = { b 1 , b 2 , . . . , b n b } , b q { 0 , 1 } for q = 1 . . n b ¯ and i = 1 . . n c ¯ , with n c N * being the number of chromosomes, and in the experiments, a value adapted to the total number of training data was used.
+
The fitness function f ( c h i ) , i = 1 . . n c ¯ is represented by the performance (percentage of correct classification) in the classification of the test data obtained by using a number of nearest neighbors equal to the value in base ten of the chromosome ( c h i ) argument of the function.
+
The selection is carried out by the roulette type method after determining the scaling function for the chromosomes in the current population (the moment of time t N * ), establishing the selection probabilities and the actual selection of chromosomes P 1 ( t ) = { c h i 1 , c h i 2 , . . . , c h i n s c } , with { i 1 , i 2 , . . . , i n s c } { 1 , 2 , . . . , n c } , and n s c N * is the number of selected chromosomes for the crossing stage based on randomly generated values in the numerical range [ 0 , 1 ] .
+
The CGACell crossover is performed for the chromosomes selected from the set P 1 ( t ) through several transformation methods at the level of the binary vectors from the chromosome representations. CGACell ECA or 2D CA crossover are used. For each crossing case, the corresponding experimental results were established in the classification of the test data from the test set X t .
+
The mutation is carried out at the level of the chromosomes in the set P 1 ( t ) resulting after the step of crossing the binary genes. The mutation operation involves updating certain genes in a very small proportion (between 1 % 5 % ) by transforming the chosen genes into the complementary binary value.
+
After the genetic mutation operation, the set of chromosomes in P 1 ( t ) P ( t ) is reevaluated by applying the fitness function in order to establish their quality, and the new generation of chromosomes is formed by choosing the best n c chromosomes.
+
The algorithm is repeated by applying the genetic operators of selection, CGACell crossover, and mutation and forming new generations with the best performing n c chromosomes until a predetermined maximum number of training generations is reached or the optimal value is reached or in the situation where the classification performance test data stagnates.
The experimental results regarding the application of CGACell crossover in KNN data classification showed good performance in a study compared to other classification methods and are presented in the experimental analysis section. Furthermore, a complexity analysis and comparative evaluation with the single-point crossover are provided in Table 6, while a summary of the respective strengths and weaknesses of the CGACell and single-point crossover methods is presented in Table 7.

6. Experimental Analysis for CGACell Crossover Operator in Specific Tasks

Experiment 1 (Comparing CGACell crossover with other crossover techniques)
Experimental performance outcomes of the algorithm (CGACell-GA) were established for the problem of classifying classes of face images, corresponding to multiple individuals, from the free Yale Face database. The Yale database contains 165 images of faces corresponding to 15 people with 11 images, with each representing certain facial expressions or configurations (glasses, happy, left light, right light, sad, sleepy, surprised, wink, center light, no glasses and normal). The experimental results were achieved by the stability of the correctness percentages in the classification of image classes from the Yale image database by using a GA with different crossover methods (proposed crossover, classical GA, permutation-based, heuristic methods, and hybrid methods).

Proposed Crossover—Heuristic and Hybrid Methods

  • CGACell ECA crossover.

Classical GA

  • Single-point crossover.
  • Two-point crossover.
  • Uniform crossover.

Permutation-Based

  • PMX (Partially Mapped Crossover).
  • Order Crossover (OX).
  • Shuffle Crossover.

Heuristic and Hybrid Methods

  • Average Crossover.
  • GA–CA Hybrid Crossover.
  • VR (Voting Recombination).
  • MkX (Masked Crossover).
  • HX (Heuristic Crossover).
To test the performance of the aforementioned crossover methods, three cases were used regarding the division of the database into training data and testing data, respectively (Table 8). A comparison of crossover mechanisms and related approaches- including CGACell ECA, CGACell–kD CA, single-point crossover, GA–CA Hybrid, and Canonical Correlation Analysis (CCA)- is presented in Table 9.

Train–Test Split Cases

Next, we will analyze the data recognition performance for the GA with CGACell ECA crossover in a comparative study with GAs with other crossover methods mentioned above for the cases where the number of generations is equal to 100, 200, and 400, respectively. Finally, the results of ANOVA and Tukey HSD post hoc statistical tests are presented.
The visual comparison in Figure 25 shows classification accuracy for the GA with CGACell ECA crossover and other crossover strategies after 100 generations evaluated under three different data split conditions. The results, for this case with 100 generations, are in Table 10, and it was found that the CGACell ECA consistently outperformed all other crossover operators in all three data splits; the GA–CA Hybrid and PMX were also strong performers, especially in higher training ratios, and the traditional methods like single-point, Shuffle, and Average Crossover showed noticeably lower performance, particularly under more challenging (50/50) splits.
Figure 26 shows the classification accuracy for the GA with CGACell ECA crossover and other crossover strategies after 200 generations evaluated under three different data split conditions. The results, for this case with 200 generations, are in Table 11, and it was found that the CGACell ECA consistently outperformed all traditional crossover methods (single-point, two-point, PMX, OX, etc.) across all data splits (70/30, 60/40, and 50/50). At 200 generations in the 70/30 split case, the CGACell ECA reached 96.10%, exceeding the best classical method (GA–CA Hybrid at 95.02%).
Figure 27 shows the classification accuracy for the GA with CGACell ECA crossover and other crossover strategies after 400 generations evaluated under three different data split conditions. The results, for this case with 400 generations, are in Table 12, and it was found that the CGACell ECA once again outperformed all other methods, maintaining the highest average accuracy (96.29%) and slightly improving from the 300-generation run. It should be noted that the GA–CA Hybrid remained a strong second at 94.69%, showing the robustness of CA-integrated strategies; the PMX and Voting Recombination (VR) continued to outperform classical single- and two-point crossovers, and the Heuristic and Masked crossover operators again delivered the lowest accuracies across all three splits.
A structured statistical analysis using ANOVA and Tukey’s HSD post hoc test for the accuracy comparison table—GA with 400 generations—is presented in the following. This assumes that the precision values per method and division represent the averages of multiple repeated runs in order to have valid ANOVA hypotheses.
The ANOVA analysis has the objective to determine whether there are significant differences in mean accuracies between different GA crossover methods. The Null Hypothesis ( H 0 ) is all that crossover methods have equal mean accuracy, and the alternative Hypothesis ( H 1 ) is at least one method differs significantly. Interpretation for ANOVA test: Since p < 0.0001 (see the Table 13), we reject the null hypothesis. It is attested that there are significant differences among the crossover methods.
The Tukey HSD post hoc test results are presented in Table 14. Based on the test results in this table, it is attested that there are significant differences between the crossover methods. Thus, the Tukey HSD confirms distinct performance clusters.
Experiment 2 (CGACell crossover for KNN optimization)
In the second experiment, the CGACell crossover operator presented in this paper was used in image classification problems through the KNN algorithm to optimize the parameter k representing the number of nearest neighbors. The genetic algorithm (CGACell-GA) based on CGACell crossover is detailed in Remark 5.
The performance outcomes in testing new images for the proposed algorithm are highlighted through an experimental comparative study with standard classification methods such as the Kmeans algorithm, the Principal Component Analysis (PCA) algorithm. (by using the eigenvectors corresponding to the k n largest eigenvalues, k n < = 10 % of the total number of eigenvalues of the input centering image database covariance matrix. The projections onto the space of eigenvectors corresponding to the k n largest eigenvalues are used in the stages of new image recognition by determining the minimum Euclidean distance of the projection of the new image onto the space of eigenvectors from the set of eigenvectors established for the k n largest eigenvalues in their descending order), the Canonical Correlation Analysis (CCA), the GA–CA Hybrid algorithm, and the standard KNN algorithm. In the comparative study, three cases were considered regarding the number of classes of images: the classification of 3 classes of images, the classification of 7 classes of images, and all the classes (11) of images available in the database. For each case of the number of classes of images, the correctness percentages in the classification of images corresponding to the use of three, five, and eight training images from each class of images were established. In all three cases, the number of images used for the training stage is represented by the labels Series1—three training images, Series2—five training images, and Series3—eight training images—in Figure 28, Figure 29, Figure 30 and Figure 31. Figure 31 shows the results obtained from the experimental analysis based on the Yale image database for the classification of images from 3, 7, and 11 face image classes by using a name of three, five, and eight training face images, respectively. Also, the numerical results obtained from the experimental analysis for the algorithm based on CGACell crossover, using the Yale image database for classifying images from face image classes 3, 7, and 11 having successive values of three, five, and eight training face images, respectively, as well as the rest of the images remained in the test set, are specified in Table 15.
The symbols and variables used throughout the paper are summarized in Table 16.
Case I: For the first test, the images from three classes of images taken from the Yale Face database were classified by applying the proposed CGACell-GA algorithm, as well as the Kmeans, standard KNN, and PCA algorithms. The percentages of correct classification of images from the three classes are graphically represented in Figure 28 for different values (three, five, and eight images, respectively) of the number of training images from each class of face images.
Case II: For the second test, the procedure was similar to the working method of case 1, except that seven classes of images were classified, and the results are shown in Figure 29.
Case III: For the third test, the procedure was similar to the working method of cases 1 and 2, except that eleven classes of images were classified, and the results are shown in Figure 30.

7. Summary and Conclusions

In the elaborated work, a version of crossover specific to genetic algorithms by using cellular automata was described and established. The introduced crossover operator is based on the functionality of cellular automata, and the specification of the operator for the cases most used in applications of elementary automata—two-dimensional and with the von Neumann and Moore neighborhoods—were described. The results of the comparative study were obtained for the proposed algorithm based on the cellular crossover operator with other crossover methods and with standard image classification methods from the Yale face database, and we established good performance in the classification of new images from the considered image classes. In the future development, we will analyze the possibility of using the proposed crossover operator in an integrated system of multilayer neural networks with applications in image recognition, as well as explore applications for generating knowledge assessment tests of different difficulty categories in the educational system.

Author Contributions

Conceptualization, D.C. and C.B.; methodology, D.C.; software, D.C.; validation, D.C. and C.B.; formal analysis, C.B.; investigation, C.B.; resources, D.C. and C.B.; data curation, D.C. and C.B.; writing—original draft preparation, D.C.; writing—review and editing, D.C. and C.B.; visualization, C.B.; supervision, C.B.; project administration, D.C. and C.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
GAGenetic Algorithm
CACellular Automata
ECAElementary Cellular Automata
KNNK-Nearest Neighbors
PCAPrincipal Component Analysis
PSOParticle Swarm Optimization
SASimulated Annealing
IAImmune Algorithms
ABCArtificial Bee Colony
FAFirefly Algorithm
DEDifferential Evolution

References

  1. Burke, E.K.; Kendall, G. Search Methodologies Introductory Tutorials in Optimization and Decision Support Techniques; Springer Science Business Media: New York, NY, USA, 2005. [Google Scholar]
  2. Muhlenbein, H. Parallel genetic algorithms, population genetics and combinatorial optimization. In Proceedings of the Workshop on Parallel Processing: Logic, Organization and Technology, Wildbad Kreuth, Germany, 24–28 July 1989; pp. 398–406. [Google Scholar]
  3. Wang, Z.Z.; Sobey, A. A comparative review between Genetic Algorithm use in composite optimisation and the state-of-the-art in evolutionary computation. Compos. Struct. 2020, 223, 111739. [Google Scholar] [CrossRef]
  4. Goldberg, D.E. Genetic Algorithms in Search, Optimization, and Machine Learning; Addison-Wesley: Boston, MA, USA, 1989. [Google Scholar]
  5. Katoch, S.; Chauhan, S.S.; Kumar, V. A review on genetic algorithm: Past, present, and future. Multimed. Tools Appl. 2021, 80, 8091–8126. [Google Scholar] [CrossRef]
  6. Sengoku, H.; Yoshihara, I. A Fast TSP Solution using Genetic Algorithm. In Proceedings of the 46th National Convention of Information Processing Society of Japan, Kanagawa, Japan, 9–11 August 1993. [Google Scholar]
  7. Sushil, J.; Louis, J.; Gregory, E.; Rawlins, E. Designer Genetic Algorithms: Genetic Algorithms in Structure Design. In Proceedings of the 4th International Conference on Genetic Algorithms, San Diego, CA, USA, 13–16 July 1991; pp. 53–60. [Google Scholar]
  8. Whitley, L.D.; Vose, M.D. Foundations of Genetic Algorithms; Morgan Kaufmann: Burlington, MA, USA, 1985. [Google Scholar]
  9. Burkowski, F.J. Shuffle Crossover and Mutual Information. In Proceedings of the Congress on Evolutionary Computation, Washington, DC, USA, 6–9 July 1999; pp. 1574–1580. [Google Scholar]
  10. Mooi, S.; Lim, S.; Sultan, M.; Bakar, A.; Sulaiman, M.; Mustapha, A.; Leong, K.Y. Crossover and mutation operators of genetic algorithms. Int. J. Mach. Learn. Comput. 2017, 7, 9–12. [Google Scholar] [CrossRef]
  11. Moraglio, A.; Kim, Y.H.; Yoon, Y.; Moon, B. Geometric Crossovers for Multiway Graph Partitioning. Evol. Comput. 2007, 15, 445–474. [Google Scholar] [CrossRef]
  12. Tsutsui, S.; Yamamura, M.; Higuchi, T. Multi-parent recombination with simplex crossover in real coded genetic algorithms. In Proceedings of the Genetic and Evolutionary Computation Conference, Orlando, Florida, 13–17 July 1999; Volume 1, pp. 657–664. [Google Scholar]
  13. Umbarkar, A.; Sheth, P. Crossover operators in genetic algorithms: A review. J. Soft Comput. 2015, 6, 1083–1092. [Google Scholar]
  14. Tafehi, E.; Ahmadnia, S.; Yousefi, M. Improved Genetic Algorithm using Chaotic Cellular Automata-CCAGA. In Proceedings of the 1st Conference on Swarm Intelligence and Evolutionary Computation (CSIEC2016), Higher Education Complex of Bam, Bam, Iran, 9–11 March 2016. [Google Scholar]
  15. Adamatzky, A. Identification of Cellular Automata; Taylor and Francis: London, UK; Bristol, UK, 1994. [Google Scholar]
  16. Ceccherini-Silberstein, T.; Coornaert, M. Injective linear cellular automata and sofic groups. Isr. J. Math. 2007, 161, 1–15. [Google Scholar] [CrossRef]
  17. Farmer, J.D.; Toffoli, T.; Wolfram, S. (Eds.) Cellular Automata. In Proceedings of the an Interdisciplinary Workshop at Los Alamos, Los Alamos, NM, USA, 7–11 March 1984. [Google Scholar]
  18. Turing, A.M. On computable numbers, with an application to the Entscheidungsproblem. In The Undecidable; Davis, M., Ed.; Raven Press: Hewlett, NY, USA, 1965; pp. 115–153. Available online: http://www.abelard.org/turpap2/tp2-ie.asp (accessed on 17 July 2019).
  19. Cerruti, U.; Dutto, S.; Murru, N. A symbiosis between cellular automata and genetic algorithms. Chaos Solitons Fractals 2020, 134, 109719. [Google Scholar] [CrossRef]
  20. Deng, Y.; Xiong, J.; Wang, Q. A Hybrid Cellular Genetic Algorithm for the Traveling Salesman Problem. Math. Probl. Eng. 2021, 2021, 6697598. [Google Scholar] [CrossRef]
  21. Mitchell, M.; Crutchfield, J.P.; Das, R. Evolving cellular automata with genetic algorithms: A review of recent work. In Proceedings of the First International Conference on Evolutionary Computation and Its Applications (EvCA), Moscow, Russia, 24–27 June 1996. [Google Scholar]
  22. Louis, S.J.; Raines, G.L. Genetic Algorithm Calibration of Probabilistic Cellular Automata for Modeling Mining Permit Activity. In Proceedings of the 15th IEEE International Conference on Tools with Artificial Intelligence (ICTAI), Sacramento, CA, USA, 5 November 2003. [Google Scholar]
  23. Suguna, N.; Thanushkodi, K. An Improved k-Nearest Neighbor Classification Using Genetic Algorithm. Int. J. Comput. Sci. Issues 2010, 7, 18–21. [Google Scholar]
  24. Jabbar, M.A.; Deekshatulua, B.L.; Chandra, P. Classification of Heart Disease Using K-Nearest Neighbor and Genetic Algorithm. Procedia Technol. 2013, 10, 85–94. [Google Scholar] [CrossRef]
  25. Kari, J. Theory of cellular automata: A survey. Theor. Comput. Sci. 2005, 334, 3–33. [Google Scholar] [CrossRef]
  26. Wolfram, S. Theory and Applications of Cellular Automata; World Scientific: Singapore, 1986. [Google Scholar]
  27. Toffoli, T.; Margolus, N. Cellular Automata Machines: A New Environment for Modeling; MIT Press: Cambridge, MA, USA, 1987. [Google Scholar]
  28. Gutowitz, H. (Ed.) Cellular Automata: Theory and Experiment; Published as Physica D45, 1-3; MIT: Cambridge, MA, USA, 1991. [Google Scholar]
  29. Gardner, M. The fantastic combinations of John Conway’s new solitaire game ‘life’. Math. Games Sci. Am. 1970, 223, 120–123. [Google Scholar]
  30. Burks, A.W. Von Neumann’s self-reproducing automata. In Essays on Cellular Automata; Burks, A.W., Ed.; University of Illinois Press: Champaign, IL, USA, 1970; pp. 3–64. [Google Scholar]
  31. Ceccherini-Silberstein, T.; Coornaert, M. The Garden of Eden theorem for linear cellular automata. Ergod. Theory Dyn. Syst. 2006, 26, 53–68. [Google Scholar] [CrossRef]
  32. Ceccherini-Silberstein, T.; Coornaert, M. Cellular Automata and Groups; Springer Monographs in Mathematics; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  33. Wolfram, S. A New Kind of Science; Wolfram Media: Champaign, IL, USA, 2002. [Google Scholar]
  34. Wuensche, A.; Lesser, M. The Global Dynamics of Cellular Automata; Ref. Vol. 1 of Santa Fe Institute Studies in the Sciences of Complexity; Addison-Wesley: Boston, MA, USA, 1992. [Google Scholar]
  35. Castillo-Ramirez, A.; Mata-Gutiérrez, O.; Corichi, A.Z. Cellular automata over algebraic structures. Math. Comput. Sci. Glasg. Math. J. 2022, 64, 306–319. [Google Scholar] [CrossRef]
  36. Krishna, V.M.; Mishra, S.; Gurrala, J. Cellular Automata and their Applications: A Review. Int. J. Comput. Appl. Found. Comput. Sci. 2022, 184, 13–23. [Google Scholar] [CrossRef]
  37. Weimar, J.R. Simulation with Cellular Automata; Logos Verlag: Berlin, Germany, 1998. [Google Scholar]
  38. Delorme, M. An Introduction to Cellular Automata; Research Rep. No. 98–37; Ecole Normale Superieur de Lyon: Lyon, France, 1998. [Google Scholar]
  39. Packard, N.H.; Wolfram, S. Two-dimensional cellular automata. J. Stat. Phys. 1985, 38, 901–946. [Google Scholar] [CrossRef]
  40. Fox, B.; McMahon, M. Genetic Operators for Sequencing Problems; Foundations of Genetic Algorithms, Ed.; Morgan Kaufmann Publishers: San Mateo, CA, USA, 1991; pp. 284–300. [Google Scholar]
  41. Jebari, K. Selection methods for genetic algorithms. Abdelmalek Esady Univ. Int. J. Emerg. Sci. 2013, 3, 333–344. [Google Scholar]
  42. Syswerda, G. Uniform crossover in genetic algorithms. In Proceedings of the Third International Conference on Genetic Algorithms, Fairfax, VA, USA, 4–7 June 1989; Schaffer, J.D., Ed.; Morgan Kaufmann: Burlington, MA, USA, 1989. [Google Scholar]
  43. Goldberg, D.E.; Lingle, R. Alleles, loci and the traveling salesman problem. In Proceedings of the 1st International Conference on Genetic Algorithms and Their Applications, Los Angeles, CA, USA, 24–26 July 1985; pp. 154–159. [Google Scholar]
  44. Ray, S.S.; Bandyopadhyay, S.; Pal, S.K. New operators of genetic algorithms for traveling salesman problem. In Proceedings of the 17th International Conference on Pattern Recognition, Cambridge, UK, 26 August 2004; pp. 497–500. [Google Scholar]
  45. Mudaliar, D.N.; Modi, N.K. Unraveling travelling salesman problem by genetic algorithm using mcrossover operator. In Proceedings of the International Conference on Signal Processing, Image Processing & Pattern Recognition, Coimbatore, India, 7–8 February 2013; pp. 127–130. [Google Scholar]
  46. Nagata, Y. Criteria for designing crossovers for TSP. IEEE Congr. Evol. Comput. 2004, 2, 1465–1472. [Google Scholar]
  47. Takuya, I.; Hitoshi, I.; Satoshi, S. Depth-Dependent Crossover for Genetic Programming. In Proceedings of the IEEE World Congress on Computational Intelligence Evolutionary Computation, Anchorage, AK, USA, 4–9 May 1998; pp. 775–780. [Google Scholar]
  48. Tsutsui, S. Multi-Parent Recombination in Genetic Algorithms with Search Space Boundary Extension by Mirroring; Parallel Problem Solving from Nature, Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2006; Volume 1498, pp. 428–437. [Google Scholar]
  49. Tsutsui, S.; Ghosh, A. A study on the effect of multiparent recombination in real coded genetic algorithms. In Proceedings of the IEEE World Congress on Computational Intelligence, Anchorage, AK, USA, 4–9 May 1998; pp. 828–833. [Google Scholar]
  50. Zhang, M.; Gao, X.; Lou, W. Looseness Controlled Crossover in GP for Object Recognition. In Proceedings of the IEEE Congress on Evolutionary Computation, Vancouver, BC, Canada, 16-21 July 2006; pp. 1285–1292. [Google Scholar]
  51. Aggarwal, C.; Reddy, C. Data Clustering: Algorithms and Applications; CRC Press: Boca Raton, FL, USA, 2013. [Google Scholar]
  52. Bishop, C. Pattern Recognition and Machine Learning; Springer: New York, NY, USA, 2007. [Google Scholar]
  53. Hastie, T.; Tibshirani, R. Discriminant adaptive nearest neighbor classification. IEEE Trans. Pattern Anal. Mach. Intell. 1996, 18, 607–616. [Google Scholar] [CrossRef]
  54. Ghenea, G.L.; Neagoe, V.E. Decision Fusion of Symmetrically Trained CNN Clas-Sifiers For Diagnosis of Chest CT Images. Sci. Bull. Ser. C-Eng. Comput. Sci. 2025, 87, 141–152. [Google Scholar]
  55. Cook, M. Universality in Elementary Cellular Automata. Complex Syst. 2004, 15, 1–40. [Google Scholar] [CrossRef]
  56. Wolfram, S. Computation theory of cellular automata. Commun. Math. Phys. 1984, 96, 15–57. [Google Scholar] [CrossRef]
Figure 1. Neighborhood templates used for 2D CA—in order, 2 von Neumann neighborhoods with 5 neighbors and extended to 13 neighbors, Moore template with 9 neighbors, Smith and Cole (two images) neighborhoods.
Figure 1. Neighborhood templates used for 2D CA—in order, 2 von Neumann neighborhoods with 5 neighbors and extended to 13 neighbors, Moore template with 9 neighbors, Smith and Cole (two images) neighborhoods.
Applsci 15 08750 g001
Figure 2. The evolution of the two-dimensional cellular automaton in images according to the function f ˜ ( a i j t , a i j 1 t + a i j + 1 t + a i 1 j t + a i + 1 j t ) with the von Neumann reference neighborhood, along with the first 100 generations of 2D CA evolution for rule 9.
Figure 2. The evolution of the two-dimensional cellular automaton in images according to the function f ˜ ( a i j t , a i j 1 t + a i j + 1 t + a i 1 j t + a i + 1 j t ) with the von Neumann reference neighborhood, along with the first 100 generations of 2D CA evolution for rule 9.
Applsci 15 08750 g002
Figure 3. The evolution of the two-dimensional cellular automaton in images according to the function f ˜ ( a i j t , a i j 1 t + a i j + 1 t + a i 1 j t + a i + 1 j t ) with the von Neumann reference neighborhood, along with the first 10 generations of 2D CA evolution for rules 6 (line 1), 9 (line 2), 17 (line 3), 21 (line 4), and 26 (line 5), respectively, from the set [ 0 , 2 5 1 ] N .
Figure 3. The evolution of the two-dimensional cellular automaton in images according to the function f ˜ ( a i j t , a i j 1 t + a i j + 1 t + a i 1 j t + a i + 1 j t ) with the von Neumann reference neighborhood, along with the first 10 generations of 2D CA evolution for rules 6 (line 1), 9 (line 2), 17 (line 3), 21 (line 4), and 26 (line 5), respectively, from the set [ 0 , 2 5 1 ] N .
Applsci 15 08750 g003
Figure 4. The evolution of the two-dimensional cellular automaton in images according to the function f ˜ ( a i j t , a i j 1 t + a i j + 1 t + a i 1 j t + a i + 1 j t ) with the von Neumann reference neighborhood, along with generations 5 , 10 , , 50 of 2D CA evolution for rules 6 (line 1), 9 (line 2), 17 (line 3), 21 (line 4), and 26 (line 5), respectively, from the set [ 0 , 2 5 1 ] N .
Figure 4. The evolution of the two-dimensional cellular automaton in images according to the function f ˜ ( a i j t , a i j 1 t + a i j + 1 t + a i 1 j t + a i + 1 j t ) with the von Neumann reference neighborhood, along with generations 5 , 10 , , 50 of 2D CA evolution for rules 6 (line 1), 9 (line 2), 17 (line 3), 21 (line 4), and 26 (line 5), respectively, from the set [ 0 , 2 5 1 ] N .
Applsci 15 08750 g004
Figure 5. The evolution of the two-dimensional cellular automaton in images according to the function f ˜ with the Moore reference neighborhood with nine neighborhoods, along with the first 100 generations of 2D CA evolution for rule 330.
Figure 5. The evolution of the two-dimensional cellular automaton in images according to the function f ˜ with the Moore reference neighborhood with nine neighborhoods, along with the first 100 generations of 2D CA evolution for rule 330.
Applsci 15 08750 g005
Figure 6. The evolution of the two-dimensional cellular automaton in images according to the function f ˜ with the Moore reference neighborhood with nine neighborhoods, along with the first 10 generations of 2D CA evolution for rules 33 (line 1), 90 (line 2), 94 (line 3), 150 (line 4), 234 (line 5), 261 (line 6), 322 (line 7), 330 (line 8), 386 (line 9), and 490 (line 10), respectively, from the set [ 0 , 2 9 1 ] N .
Figure 6. The evolution of the two-dimensional cellular automaton in images according to the function f ˜ with the Moore reference neighborhood with nine neighborhoods, along with the first 10 generations of 2D CA evolution for rules 33 (line 1), 90 (line 2), 94 (line 3), 150 (line 4), 234 (line 5), 261 (line 6), 322 (line 7), 330 (line 8), 386 (line 9), and 490 (line 10), respectively, from the set [ 0 , 2 9 1 ] N .
Applsci 15 08750 g006
Figure 7. The evolution of the two-dimensional cellular automaton in images according to the function f ˜ with the Moore reference neighborhood with nine neighborhoods, along with generations 5 , 10 , , 50 of 2D CA evolution for rules 33 (line 1), 90 (line 2), 94 (line 3), 150 (line 4), 234 (line 5), 261 (line 6), 322 (line 7), 330 (line 8), 386 (line 9), and 490 (line 10), respectively, from the set [ 0 , 2 9 1 ] N .
Figure 7. The evolution of the two-dimensional cellular automaton in images according to the function f ˜ with the Moore reference neighborhood with nine neighborhoods, along with generations 5 , 10 , , 50 of 2D CA evolution for rules 33 (line 1), 90 (line 2), 94 (line 3), 150 (line 4), 234 (line 5), 261 (line 6), 322 (line 7), 330 (line 8), 386 (line 9), and 490 (line 10), respectively, from the set [ 0 , 2 9 1 ] N .
Applsci 15 08750 g007
Figure 8. The general structure of a GA, which includes the stages of selecting chromosomes from the current population, recombining the selected chromosomes, carrying out some mutations on the resulting chromosomes, and evaluating the quality of the new chromosomes through the fitness function that also determines the component of the new generation of chromosomes of the algorithm.
Figure 8. The general structure of a GA, which includes the stages of selecting chromosomes from the current population, recombining the selected chromosomes, carrying out some mutations on the resulting chromosomes, and evaluating the quality of the new chromosomes through the fitness function that also determines the component of the new generation of chromosomes of the algorithm.
Applsci 15 08750 g008
Figure 9. Single-point crossover for two chromosome parents with genes with binary values and having the crossover point in position 3.
Figure 9. Single-point crossover for two chromosome parents with genes with binary values and having the crossover point in position 3.
Applsci 15 08750 g009
Figure 10. Single-point crossover for two chromosome parents with genes with real values and having the crossover point in position 3.
Figure 10. Single-point crossover for two chromosome parents with genes with real values and having the crossover point in position 3.
Applsci 15 08750 g010
Figure 11. k-point crossover for two chromosome parents with genes with binary values and having the crossover points in position 3, 5, and 7; k = 3.
Figure 11. k-point crossover for two chromosome parents with genes with binary values and having the crossover points in position 3, 5, and 7; k = 3.
Applsci 15 08750 g011
Figure 12. k-point crossover for two chromosome parents with genes with real values and having the crossover points in position 3, 5, and 7; k = 3.
Figure 12. k-point crossover for two chromosome parents with genes with real values and having the crossover points in position 3, 5, and 7; k = 3.
Applsci 15 08750 g012
Figure 13. The uniform crossover for two chromosome parents with genes with binary values and having the uniform parameter updating the genes at positions 4 and 7.
Figure 13. The uniform crossover for two chromosome parents with genes with binary values and having the uniform parameter updating the genes at positions 4 and 7.
Applsci 15 08750 g013
Figure 14. The uniform crossover for two chromosome parents with genes with real values and having the uniform parameter updating the genes at positions 4 and 7.
Figure 14. The uniform crossover for two chromosome parents with genes with real values and having the uniform parameter updating the genes at positions 4 and 7.
Applsci 15 08750 g014
Figure 15. The Partially Mapped Crossover (PMX) for two parent chromosomes with 9 genes in the component and the parameters of the two cutting positions equal to 3 and 6.
Figure 15. The Partially Mapped Crossover (PMX) for two parent chromosomes with 9 genes in the component and the parameters of the two cutting positions equal to 3 and 6.
Applsci 15 08750 g015
Figure 16. The Order Crossover (OX) for two parent chromosomes with 9 genes in the component and the parameters of the four cutting positions equal to 2, 4, 6, and 7.
Figure 16. The Order Crossover (OX) for two parent chromosomes with 9 genes in the component and the parameters of the four cutting positions equal to 2, 4, 6, and 7.
Applsci 15 08750 g016
Figure 17. The CGACell ECA crossover for two parents with 9 genes by applying ECA rule 110 at the individual chromosome level.
Figure 17. The CGACell ECA crossover for two parents with 9 genes by applying ECA rule 110 at the individual chromosome level.
Applsci 15 08750 g017
Figure 18. The CGACell ECA crossover for two parents with 9 genes by applying ECA rule 90 at the individual chromosome level.
Figure 18. The CGACell ECA crossover for two parents with 9 genes by applying ECA rule 90 at the individual chromosome level.
Applsci 15 08750 g018
Figure 19. The CGACell ECA crossover in the mixed variant for three chromosomes with 9 genes by applying ECA rule 110.
Figure 19. The CGACell ECA crossover in the mixed variant for three chromosomes with 9 genes by applying ECA rule 110.
Applsci 15 08750 g019
Figure 20. The CGACell ECA crossover in the mixed variant for three chromosomes with 9 genes by applying ECA rule 90.
Figure 20. The CGACell ECA crossover in the mixed variant for three chromosomes with 9 genes by applying ECA rule 90.
Applsci 15 08750 g020
Figure 21. The CGACell 2D CA crossover for 10 chromosomes with 20 genes with von Neumann neighborhood by applying 2D CA rule 6.
Figure 21. The CGACell 2D CA crossover for 10 chromosomes with 20 genes with von Neumann neighborhood by applying 2D CA rule 6.
Applsci 15 08750 g021
Figure 22. The CGACell 2D CA crossover for 10 chromosomes with 20 genes with von Neumann neighborhood by applying 2D CA rule 11.
Figure 22. The CGACell 2D CA crossover for 10 chromosomes with 20 genes with von Neumann neighborhood by applying 2D CA rule 11.
Applsci 15 08750 g022
Figure 23. The CGACell 2D CA crossover for 10 chromosomes with 20 genes with Moore neighborhood by applying 2D CA rule 330.
Figure 23. The CGACell 2D CA crossover for 10 chromosomes with 20 genes with Moore neighborhood by applying 2D CA rule 330.
Applsci 15 08750 g023
Figure 24. The CGACell 2D CA crossover for 10 chromosomes with 20 genes with Moore neighborhood by applying 2D CA rule 490.
Figure 24. The CGACell 2D CA crossover for 10 chromosomes with 20 genes with Moore neighborhood by applying 2D CA rule 490.
Applsci 15 08750 g024
Figure 25. GA with CGACell ECA crossover and other crossover strategies after 100 generations.
Figure 25. GA with CGACell ECA crossover and other crossover strategies after 100 generations.
Applsci 15 08750 g025
Figure 26. GA with CGACell ECA crossover and other crossover strategies after 200 generations.
Figure 26. GA with CGACell ECA crossover and other crossover strategies after 200 generations.
Applsci 15 08750 g026
Figure 27. GA with CGACell ECA crossover and other crossover strategies after 400 generations.
Figure 27. GA with CGACell ECA crossover and other crossover strategies after 400 generations.
Applsci 15 08750 g027
Figure 28. Case I—image classification for three face image classes from the Yale face database.
Figure 28. Case I—image classification for three face image classes from the Yale face database.
Applsci 15 08750 g028
Figure 29. Case II—image classification for seven face image classes from the Yale face database.
Figure 29. Case II—image classification for seven face image classes from the Yale face database.
Applsci 15 08750 g029
Figure 30. Case III—image classification for eleven face image classes from the Yale face database.
Figure 30. Case III—image classification for eleven face image classes from the Yale face database.
Applsci 15 08750 g030
Figure 31. Graphic representation of correct classification percents of face images for three, seven, and eleven classes of face images having three, five, and eight training images, respectively.
Figure 31. Graphic representation of correct classification percents of face images for three, seven, and eleven classes of face images having three, five, and eight training images, respectively.
Applsci 15 08750 g031
Table 1. The elementary cellular automaton defined by rule 110 of the Wolfram code.
Table 1. The elementary cellular automaton defined by rule 110 of the Wolfram code.
The Neighb.
f L M

111

110

101

100

011

010

001

000
New state
φ ( f )

0

1

1

0

1

1

1

0
Table 2. The elementary cellular automaton defined by rule 90 of the Wolfram code.
Table 2. The elementary cellular automaton defined by rule 90 of the Wolfram code.
The Neighb.
f L M

111

110

101

100

011

010

001

000
New state
φ ( f )

0

1

0

1

1

0

1

0
Table 3. The results of ECA 110 for 10 generations with 16 cells.
Table 3. The results of ECA 110 for 10 generations with 16 cells.
No.
Gener.
The Values of Cells from ECA Rule 110
for Cell Evolution Generations
No. Updates/
Percentage
00 0 1 1 0 1 0 1 0 0 1 0 0 1 0 00 (00.00%)
10 1 1 1 1 1 1 1 0 1 1 0 1 1 0 05 (31.25%)
21 1 0 0 0 0 0 1 1 1 1 1 1 1 0 08 (50.00%)
31 1 0 0 0 0 1 1 0 0 0 0 0 1 0 06 (37.50%)
41 1 0 0 0 1 1 1 0 0 0 0 1 1 0 02 (12.50%)
51 1 0 0 1 1 0 1 0 0 0 1 1 1 0 03 (18.75%)
61 1 0 1 1 1 1 1 0 0 1 1 0 1 0 04 (25.00%)
71 1 1 1 0 0 0 1 0 1 1 1 1 1 0 06 (37.50%)
81 0 0 1 0 0 1 1 1 1 0 0 0 1 0 07 (43.75%)
91 0 1 1 0 1 1 0 0 1 0 0 1 1 0 05 (31.25%)
101 1 1 1 1 1 1 0 1 1 0 1 1 1 0 04 (25.00%)
Table 4. The results of ECA 90 for 10 generations with 16 cells.
Table 4. The results of ECA 90 for 10 generations with 16 cells.
No.
Gener.
The Values of Cells from ECA Rule 90
for Cell Evolution Generations
No. Updates/
Percentage
00 0 1 1 0 1 0 1 0 0 1 0 0 1 0 00 (00.00%)
10 1 1 1 0 0 0 0 1 1 0 1 1 0 1 010 (62.25%)
21 1 0 1 1 0 0 1 1 1 0 1 1 0 0 16 (37.50%)
31 1 0 1 1 1 1 1 0 1 0 1 1 1 1 06 (37.50%)
41 1 0 1 0 0 0 1 0 0 0 1 0 0 1 17 (43.75%)
51 1 0 0 1 0 1 0 1 0 1 0 1 1 1 19 (56.25%)
61 1 1 1 0 0 0 0 0 0 0 0 1 0 0 18 (50.00%)
71 0 0 1 1 0 0 0 0 0 0 1 0 1 1 08 (50.00%)
80 1 1 1 1 1 0 0 0 0 1 0 0 1 1 17 (43.75%)
91 1 0 0 0 1 1 0 0 1 0 1 1 1 0 110 (62.25%)
101 1 1 0 1 1 1 1 1 0 0 1 0 1 0 07 (43.75%)
Table 5. The binary images obtained after 150 generations with 31 cells used for ECAs 30, 90, 99, 110, and 158—two images for each ECA having different initial sequences of cell state values.
Table 5. The binary images obtained after 150 generations with 31 cells used for ECAs 30, 90, 99, 110, and 158—two images for each ECA having different initial sequences of cell state values.
Applsci 15 08750 i001
Table 6. CGACell:complexity analysis and comparison with single-point crossover.
Table 6. CGACell:complexity analysis and comparison with single-point crossover.
AspectSingle-Point CrossoverCGACell ECA (1D)CGACell kD CA (General)
Input StructurePair of chromosomesTypically 3 chromosomesMultiple chromosomes in a kD topology
Crossover GranularitySegment swap at a random pointBit-level via local rule (triplets)Bit-level via spatial local rule
Neighborhood Size ( n r )2 chromosomes3 genesVariable (e.g., 3–9 in 2D CA)
Time Complexity (per chromosome) O ( n g ) O ( n g ) O ( n r · n g )
Time Complexity (population) O ( n c · n g ) O ( n c · n g ) O ( n c · n r · n g )
Space Complexity O ( n c · n g ) O ( n c · n g ) O ( n c · n g )
Exploration CapabilityModerateHigh (fine-grained variation)High (spatially diverse recombination)
Parallelism PotentialVery highExtremely highHigh
Rule ControlNoneECA rule selectable (e.g., 90, 110)CA rule + topology configurable
AdaptabilityGeneral-purposeSuitable for local dynamicsHighly adaptable to structured search
Chromosome FormatBinary or realBinary onlyBinary (extendable to real-valued CA)
Use Case SuitabilitySimple problems, global exchangeLocal gene interactions, diversity preservationComplex, spatial, multimodal optimization
Table 7. Summary of strengths and weaknesses for CGACell and single-point crossover.
Table 7. Summary of strengths and weaknesses for CGACell and single-point crossover.
OperatorStrengthsWeaknesses
Single-Point Crossover
  • Simple and fast
  • Preserves large gene blocks
  • Suitable for problems with low epistasis
  • Poor locality preservation
  • Coarse-grained variation
  • Less effective in structured domains
CGACell ECA (1D)
  • Fine-grained recombination
  • High diversity and locality
  • Highly parallelizable
  • Rule choice influences performance
  • Limited to binary representations
CGACell (kD)
  • Strong spatial structure preservation
  • Suitable for multimodal/complex landscapes
  • Flexible rule/topology design
  • Some computational cost
  • Requires design of suitable topology
Table 8. Train–test split configurations for Yale Face database experiments.
Table 8. Train–test split configurations for Yale Face database experiments.
CaseTraining (%)Testing (%)
Case 170%30%
Case 260%40%
Case 350%50%
Table 9. Comparison of crossover and related mechanisms: CGACell ECA, CGACell–kD CA, single-point crossover, GA–CA Hybrid, and Canonical Correlation Analysis (CCA).
Table 9. Comparison of crossover and related mechanisms: CGACell ECA, CGACell–kD CA, single-point crossover, GA–CA Hybrid, and Canonical Correlation Analysis (CCA).
CriterionCGACell ECA (1D)CGACell–kD CASingle-Point CrossoverGA–CA HybridCanonical Correlation Analysis (CCA)
CategoryEvolutionary CrossoverSpatial Evolutionary CrossoverStandard Genetic OperatorHybrid MetaheuristicStatistical Projection Method
Operates OnBinary chromosomesStructured binary populationsChromosome pairsPopulation grid or latticeMulti-view feature matrices
Crossover TypeLocal recombinationSpatial recombination using neighborhoodsGlobal segment swapEvolving CA and GA rulesNot a crossover method
CA Rule UsageElementary CA (e.g., rule 90, 110)General kD CA rulesNoneCA rules evolve or guide operatorsNone
Neighborhood DependencyTriplets (left–center–right)Flexible (Moore, von Neumann)None (random cut point)Yes—based on CA structureNo
Time Complexity (per chromosome) O ( n g ) O ( n r · n g ) O ( n g ) O ( n r · n g + GA steps ) O ( min ( n , p , q ) 3 )
Space Complexity O ( n c · n g ) O ( n c · n g ) O ( n c · n g ) O ( n c · n g ) O ( n p + n q )
Exploration CapabilityHighHigh (scalable to topology)ModerateHigh (adaptive via CA dynamics)Low
Parallelism PotentialVery highVery highHighHighLow
Implementation ComplexityLowMedium (topology/rules)Very lowHigh (coupling mechanisms)Medium (linear algebra)
Performance GapImproves GA diversity and robustnessImproves local exploitation in spatial modelsFast but weak in local structure retentionImproved adaptabilityNot directly applied
LimitationsBinary only, rule sensitivityRule/topology design neededWeak in preserving gene dependenciesModel tuning and hybrid synchronizationNot part of evolutionary framework
Table 10. Accuracy comparison table (GA, 100 generations).
Table 10. Accuracy comparison table (GA, 100 generations).
Crossover Method70% Train/30% Test60% Train/40% Test50% Train/50% TestAverage Accuracy
GA + CGACell ECA0.95660.94720.93930.9375
GA + Single-Point0.92320.91400.90270.9045
GA + Two-Point0.92960.92220.91150.9128
GA + Uniform0.92700.92000.90910.9112
GA + PMX0.93950.93100.91820.9198
GA + Order Crossover (OX)0.93280.92450.90720.9115
GA + Average Crossover (AX)0.92240.91370.90490.9037
GA + Shuffle Crossover0.92240.91030.89920.9000
GA + Voting Recombination0.93300.92500.91160.9132
GA + Masked Crossover (MkX)0.92110.90860.89500.8962
GA + Heuristic Crossover0.91850.90550.89330.8948
GA–CA Hybrid0.94700.93940.92860.9302
Table 11. Accuracy comparison table (GA, 200 generations).
Table 11. Accuracy comparison table (GA, 200 generations).
Crossover Method70% Train/30% Test60% Train/40% Test50% Train/50% TestAverage Accuracy
GA + CGACell ECA0.96100.95230.94380.9415
GA + Single-Point0.92610.91720.90740.9067
GA + Two-Point0.93250.92460.91370.9149
GA + Uniform0.93080.92240.91150.9136
GA + PMX0.94020.93340.92000.9214
GA + Order Crossover (OX)0.93480.92670.91190.9161
GA + Average Crossover (AX)0.92400.91590.90530.9026
GA + Shuffle Crossover0.92350.91200.90100.9007
GA + Voting Recombination0.93700.92810.91520.9192
GA + Masked Crossover (MkX)0.92200.91050.89820.8991
GA + Heuristic Crossover0.91930.90800.89540.8947
GA–CA Hybrid0.95000.94200.93280.9337
Table 12. Accuracy comparison table—GA with 400 generations.
Table 12. Accuracy comparison table—GA with 400 generations.
Crossover Method70% Train/30% Test60% Train/40% Test50% Train/50% TestAverage Accuracy
GA + CGACell ECA0.97330.96440.95110.9629
GA + Single-Point0.93210.92240.91080.9218
GA + Two-Point0.93840.92820.91500.9272
GA + Uniform0.93620.92600.91240.9249
GA + PMX0.94750.93630.92270.9355
GA + Order Crossover (OX)0.94000.93020.91610.9288
GA + Average Crossover (AX)0.92900.91850.90400.9172
GA + Shuffle Crossover0.92670.91500.89960.9138
GA + Voting Recombination (VR)0.94110.93140.91750.9300
GA + Masked Crossover (MkX)0.92330.91230.89880.9115
GA + Heuristic Crossover (HX)0.92040.90750.89300.9070
GA–CA Hybrid0.95880.94770.93420.9469
Table 13. ANOVA summary table for accuracy comparison—GA with 400 generations.
Table 13. ANOVA summary table for accuracy comparison—GA with 400 generations.
SourceSS (Sum of Squares)dfMS (Mean Square)Fp-Value
Between Groups0.01074110.00097672.45<0.0001
Within Groups0.00162240.000067
Total0.0123635
Table 14. Tukey HSD post hoc test results—GA with 400 generations.
Table 14. Tukey HSD post hoc test results—GA with 400 generations.
Group 1Group 2Mean DifferenceStd. Errorp-ValueSignificant
CGACell ECASingle-Point0.03010.0034<0.001Yes
CGACell ECATwo-Point0.02550.0034<0.001Yes
CGACell ECAUniform0.02410.0034<0.001Yes
CGACell ECAPMX0.01750.0034<0.001Yes
CGACell ECAOX0.02220.0034<0.001Yes
CGACell ECAAX0.03120.0034<0.001Yes
CGACell ECAShuffle0.03300.0034<0.001Yes
CGACell ECAVR0.02030.0034<0.001Yes
CGACell ECAMkX0.03560.0034<0.001Yes
CGACell ECAHX0.03720.0034<0.001Yes
CGACell ECAGA–CA Hybrid0.00910.00340.018Yes
Table 15. Values of correct classification percents of face images from the Yale database for three, seven, and eleven classes of face images having three, five, and eight training images.
Table 15. Values of correct classification percents of face images from the Yale database for three, seven, and eleven classes of face images having three, five, and eight training images.
AlgorithmNo. of Img.No. of Training Images
ClassificationClasses3 img . tr . 5 img . tr . 8 img . tr .
Kmeans3 (27.27%)79.17%88.89%88.89%
Kmeans7 (46.66%)87.50%88.10%85.71%
Kmeans11 (73.33%)88.64%92.42%87.88%
KNN3 (27.27%)91.67%94.44%88.89%
KNN7 (46.66%)91.07%92.86%90.48%
KNN11 (73.33%)92.05%93.94%93.94%
CCA3 (27.27%)91.67%94.44%100.00%
CCA7 (46.66%)92.86%95.24%95.24%
CCA11 (73.33%)93.18%95.45%96.97%
CA–GA Hyb.3 (27.27%)95.83%94.44%100.00%
CA–GA Hyb.7 (46.66%)94.64%97.62%95.24%
CA–GA Hyb.11 (73.33%)94.32%96.97%96.97%
PCA3 (27.27%)91.67%94.44%100.00%
PCA7 (46.66%)92.86%95.24%95.24%
PCA11 (73.33%)93.18%93.94%96.97%
CGACell-GA3 (27.27%)95.83%94.44%100.00%
CGACell-GA7 (46.66%)96.43%97.62%95.24%
CGACell-GA11 (73.33%)95.45%98.48%96.97%
Table 16. Table of symbols and variables used.
Table 16. Table of symbols and variables used.
Symbol/NotationDefinition
P ( t ) Population of chromosomes at generation t in the genetic algorithm (GA)
c h i The i-th chromosome in the population
g i q The q-th gene of chromosome c h i , where g i q { 0 , 1 }
n c Number of chromosomes in the population P ( t )
n g Number of genes in each chromosome
C s Set of chromosomes selected for crossover from population P ( t )
γ Cellular automaton (CA) operator
kDimensionality of the cellular automaton (1D, 2D, …)
k D C A ( C s , V h , γ ) Descendant chromosome generated using k-dimensional CA
V h Neighborhood used in the CA; set of cell positions considered for local rule
v i The i-th element of the neighborhood V h
n r Number of neighbors used in V h
M Memory set for CA; in ECA, M = { 1 , 0 , 1 }
φ Local transition function of the CA: φ : L M L , with  L = { 0 , 1 }
γ ( f ) ( j ) Global transition function of CA, applying φ at position j on configuration f
Z Integer lattice for 1D cellular automaton (ECA); domain of cell indices
Z 2 Two-dimensional lattice for 2D cellular automaton
LSet of possible cell states, typically { 0 , 1 }
f L Z Configuration of the entire CA (e.g., binary sequence for 1D case)
Rule 110, Rule 90, etc.Specific CA rules (Wolfram code) used to determine cell transitions
D 1 , D 2 Descendant (offspring) chromosomes resulting from the crossover
Von Neumann2D CA neighborhood with 5 cells: center, north, south, east, west
Moore2D CA neighborhood with 9 cells: center and all 8 immediate neighbors
n v Number of neighbors in a 2D CA neighborhood (e.g., 5 or 9)
t N * Discrete time step (generation number in GA)
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Constantin, D.; Bălcău, C. A Cellular Automata-Based Crossover Operator for Binary Chromosome Population Genetic Algorithms. Appl. Sci. 2025, 15, 8750. https://doi.org/10.3390/app15158750

AMA Style

Constantin D, Bălcău C. A Cellular Automata-Based Crossover Operator for Binary Chromosome Population Genetic Algorithms. Applied Sciences. 2025; 15(15):8750. https://doi.org/10.3390/app15158750

Chicago/Turabian Style

Constantin, Doru, and Costel Bălcău. 2025. "A Cellular Automata-Based Crossover Operator for Binary Chromosome Population Genetic Algorithms" Applied Sciences 15, no. 15: 8750. https://doi.org/10.3390/app15158750

APA Style

Constantin, D., & Bălcău, C. (2025). A Cellular Automata-Based Crossover Operator for Binary Chromosome Population Genetic Algorithms. Applied Sciences, 15(15), 8750. https://doi.org/10.3390/app15158750

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