Loop through generations
This commit is contained in:
parent
6d1c9be3a3
commit
af16b969b4
|
@ -6,3 +6,8 @@ args.add_argument("pop", help="Population size", type=int)
|
||||||
args = args.parse_args()
|
args = args.parse_args()
|
||||||
|
|
||||||
pop = Population(args.pop)
|
pop = Population(args.pop)
|
||||||
|
|
||||||
|
while True:
|
||||||
|
print(pop)
|
||||||
|
input("Advance...")
|
||||||
|
pop.advance_generation()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user