Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import org.evomaster.core.search.algorithms.wts.WtsEvalIndividual
* - This implementation assumes that crossover and mutation are implemented by the superclass.
* - The actual fitness evaluation is managed externally via the [WtsEvalIndividual] wrapper.
*/
open class StandardGeneticAlgorithm<T> : AbstractGeneticAlgorithm<T>() where T : Individual {
class StandardGeneticAlgorithm<T> : AbstractGeneticAlgorithm<T>() where T : Individual {

override fun getType(): EMConfig.Algorithm {
return EMConfig.Algorithm.StandardGA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import kotlin.math.max
* of individuals at a time:
* Only replaces selected parents with offspring if the offspring are better
*
* This class inherits from StandardGeneticAlgorithm to reuse shared components,
* This class inherits from AbstractGeneticAlgorithm to reuse shared components,
* but overrides search behavior to follow steady-state principles.
*/
class SteadyStateGeneticAlgorithm<T> : StandardGeneticAlgorithm<T>() where T : Individual {
class SteadyStateGeneticAlgorithm<T> : AbstractGeneticAlgorithm<T>() where T : Individual {

override fun getType(): EMConfig.Algorithm {
return EMConfig.Algorithm.SteadyStateGA
Expand Down
Loading