View Code? Open in Web Editor
NEW
Genetic Alghoritms in Kotlin
ktgenetic's Introduction
๐ Hi, Iโm @rafonso Rafael U. C. Afonso
๐ Iโm interested in Java, Kotlin, JavaScript, TypeScript
๐ฑ Iโm currently learning Typescript & Node & Python
๐๏ธ Iโm looking to collaborate on ... nothing! I am too busy in my work .
๐ซ How to reach me ... It can be here anyway!
๐ฌ Where is debug?
๐ฌ Debug is on the table!
ktgenetic's People
Contributors
Watchers
ktgenetic's Issues
Make GeneticProcessor
abstract.
may be Transform GeneticProcessor
in an interface and create as AbstractGeneticProcessor
class
Create subclass SimpleGeneticProcessor
, which will have the current method executeCross
in GeneticProcessor
Create enum to indicate which GeneticProcessor
implementation will be used.
Change GeneticProcessor
implementations visibility to internal
.
Files ConsoleUtils.kt
and ConsoleProcessorListener.kt
should be moved to sub-package console
. Function executeMain
should be moved to its own file.
Also create a enum to indicate which implementation will be used. This way, it would be become these implementations as internal, restrcting their visibility to external projects.
Criate a delegate class for elitism and taboo. Current Elitismroulette will be only roulette to be "envolved" by elitism.
Add kotlin.compiler.incremental
property as shown here
Example packages must be removed from KtGenetic project to their own projects:
Extract List extension functions to its own file, FileExtensions.kt
Rename pmap
function to pMap
Create pFlatMap
to allow parallel flatMap. it must be similar to pmap
Change ChromosomePieces
to ListPieces
and put it in FileExtensions.kt