-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fixing and modifying genetic algorithm (#48)
Modify genetic algorithm's logic and operators Selection did not work correctly so the population degenerated - there was mistakes in operators order and arguments - now it is fixed. Crossovers didn't work - now mistakes are fixed. Mutation order operator changed to more stable to make validity chromosomes. Population initialization changed to more various. Selection changed to basic ranging, it is simplier and more efficient. Resource borders changing operators are placed in condition blocks to disable them when it is not needed. The results of the genetic algorithm have improved.
- Loading branch information
Showing
11 changed files
with
305 additions
and
469 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.