X-Git-Url: https://git.dlugolecki.net.pl/?p=genetic.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=336285a52c5175239d4b074d1500f429710e7cab;hp=51beb23d76b9edccb679b3159d005c7cb61f5c11;hb=c9db29f895be287471f280bbed6cfb5271de3803;hpb=163f79b65bceabd30470a7e317dd7f18a8df5e95 diff --git a/src/main.cpp b/src/main.cpp index 51beb23..336285a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,7 +6,7 @@ #include "gene.h" #include "chromosome.h" #include "generation.h" -#include "generator/bit.h" +#include "generator/bitGenerator.h" #include "selection/rouletteSelection.h" #include "selection/linearRankSelection.h" @@ -30,7 +30,7 @@ int main() { typedef Crossover<_Chromosome> _Crossover; typedef Mutation<_Chromosome> _Mutation; - typedef generator::Bit<_Chromosome> _Generator; + typedef generator::BitGenerator<_Chromosome> _Generator; typedef Algorithm<_Chromosome, _Selection, _Crossover, _Mutation, _Fitness> _Algorithm; typedef GenerationLimit<_Chromosome> _Condition;