Zaktualizuj 'Main.cpp'
This commit is contained in:
parent
44345c162c
commit
88f3f1bd17
2
Main.cpp
2
Main.cpp
@ -361,7 +361,7 @@ void obslugaAlgorytmuGenetycznego() {
|
||||
genetic_algorithm(zebraneZiemniaki, rozmiarPopulacji, rozmiarPopulacji - 5, ziemniakiDoSadzenia, 20);
|
||||
gmoLeftZiemniaki = 20;
|
||||
for(int i = 0; i<rozmiarPopulacji;i++) {
|
||||
zebraneBuraki[i] = "000000000";
|
||||
zebraneZiemniaki[i] = "000000000";
|
||||
}
|
||||
for(int i=0;i<20;i++) {
|
||||
cout << ziemniakiDoSadzenia[i] << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user