From c87d4dac0ac946879cea6ab75db7ec7c6c759aee Mon Sep 17 00:00:00 2001 From: Daniel Wilczak <44122838+danielwilczak101@users.noreply.github.com> Date: Fri, 23 Oct 2020 15:35:09 -0400 Subject: [PATCH] Update README.md --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9bc356e..c9cacb1 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,15 @@ pip3 install EasyGA ```Python import EasyGA -# Setup the default genetic algorithm +# Create the Genetic algorithm ga = EasyGA.GA() -# Run the default genetic algorithm + +# Evolve the whole genetic algorithm until termination has been reached ga.evolve() + +# Print out the current generation and the population +ga.print_generation() +ga.print_population() ``` ### Output: