Prześlij pliki do ''
This commit is contained in:
parent
9dc269e3dd
commit
8076850194
8
gmo.cpp
8
gmo.cpp
@ -286,7 +286,13 @@ int main() {
|
|||||||
string vegetablesForPlanting[20];
|
string vegetablesForPlanting[20];
|
||||||
genetic_algorithm(population, populationSize, parentsNumber,vegetablesForPlanting, 20);
|
genetic_algorithm(population, populationSize, parentsNumber,vegetablesForPlanting, 20);
|
||||||
|
|
||||||
cout << atoi("000000000");
|
|
||||||
|
|
||||||
|
cout << "Wynik:" <<endl;
|
||||||
|
for(i=0;i<20;i++) {
|
||||||
|
cout << vegetablesForPlanting[i] << endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user