Currently, the evolve() method in GeneticAlgorithm returns two lists- one list for each population.
Change this to return a DataFrame (or pair of DataFrames) somehow. DataFrames provide more methods for working with and are more easily parsed.
We could set it up so that each row in the DataFrame corresponds to a single Player. Fields such as Player ID, generation, which child of a generation it was, vertex ordering, color ordering, fitness, wins, losses, and others can be added so that each row contains easily-parsed information that will be valuable for us when running tests.
Currently, the
evolve()
method inGeneticAlgorithm
returns two lists- one list for each population.Change this to return a DataFrame (or pair of DataFrames) somehow. DataFrames provide more methods for working with and are more easily parsed. We could set it up so that each row in the DataFrame corresponds to a single Player. Fields such as Player ID, generation, which child of a generation it was, vertex ordering, color ordering, fitness, wins, losses, and others can be added so that each row contains easily-parsed information that will be valuable for us when running tests.