Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Inheritance (genetic algorithm)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Example === Assume these two strings of bits represent the traits being passed on by two parent objects: * Object 1: 1100011010110001 * Object 2: 1001100110011001 Now, consider that the crossover point is randomly positioned after the fifth bit: * Object 1: 11000 | 11010110001 * Object 2: 10011 | 00110011001 During crossover, the two objects will swap all of the bits after the crossover point, leading to: * Object 1: 11000 | 00110011001 * Object 2: 10011 | 11010110001 Finally, mutation is simulated on the objects by there being zero or more bits flipped randomly. Assuming the tenth bit for object 1 is mutated, and the second and seventh bits are mutated for object 2, the final children produced by this inheritance would be: * Object 1: 1100000111011001 * Object 2: 1101110010110001
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)