Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cppnuts-yt committed Aug 23, 2016
1 parent 160e1fb commit ba0aa1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ using namespace std;

int main()
{
Population pop(Dna("This is rupesh yadav"),10);
Population pop(Dna("This is rupesh yadav"),.5);
pop.initializePopulation(10000);
pop.printPopulation();
//pop.printPopulation();
for(int i=0; i<10; i++){
pop.calFitness();
if(pop.isFinished() == true)
Expand Down

0 comments on commit ba0aa1f

Please sign in to comment.