You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following tests were conducted in Visual Studio Code v1.78.0 with the Julia language support extension v1.47.2, using Julia v1.9.0 and Evolutionary.jl v0.11.1
I ran a few basic tests on the crossover functions using a sequential parent and a null parent (see below). The results were not as expected.
It's easy to see how c results from randomly assembling the elements of a and b. However, d is supposed to be the inverse of c, but this does not appear to be the case. Unless I misunderstand the concept, the two children produced from this operation should be:
Some of the other crossover functions appear to have more severe issues: Evolutionary.CX(a,b) fails with: BoundsError: attempt to access 10-element Vector{Bool} at index [0] Evolutionary.OX1(a,b) fails catastrophically and hangs the terminal, forcing me to kill it. Evolutionary.OX2(a,b) fails with the same error as .CX
I can confirm that Evolutionary.PMX(a,b) works exactly as expected. Evolutionary.SSX(a,b) seems to work, although I'm admittedly unsure what the SSX function is supposed to produce.
I appreciate your development of this module and hope you can help sort out these issues.
The text was updated successfully, but these errors were encountered:
The following tests were conducted in Visual Studio Code v1.78.0 with the Julia language support extension v1.47.2, using Julia v1.9.0 and Evolutionary.jl v0.11.1
I ran a few basic tests on the crossover functions using a sequential parent and a null parent (see below). The results were not as expected.
Evolutionary.DC(a,b)
produces the following two children:It's easy to see how c results from randomly assembling the elements of a and b. However, d is supposed to be the inverse of c, but this does not appear to be the case. Unless I misunderstand the concept, the two children produced from this operation should be:
Some of the other crossover functions appear to have more severe issues:
Evolutionary.CX(a,b)
fails with:BoundsError: attempt to access 10-element Vector{Bool} at index [0]
Evolutionary.OX1(a,b)
fails catastrophically and hangs the terminal, forcing me to kill it.Evolutionary.OX2(a,b)
fails with the same error as .CXI can confirm that
Evolutionary.PMX(a,b)
works exactly as expected.Evolutionary.SSX(a,b)
seems to work, although I'm admittedly unsure what the SSX function is supposed to produce.I appreciate your development of this module and hope you can help sort out these issues.
The text was updated successfully, but these errors were encountered: