Evolutionary.jl
Evolutionary.jl copied to clipboard
Function with binary and real inputs
In the documentation it is possible to find examples of binary inputs, using BitVector and other examples with real inputs. Is it possible to mix the two things? Have binary and real inputs?
It would be interesting to add such an example in the documentation.
Most of the test use real vectors for describing individuals. A binary input is used in knapsack test. This example uses a population of neural nets.
Yes, you can define your individual as an arbitrary composite type. However, with complex composite individual types, you'd need to write a customized mutation functions.