CADETProcess.optimization.Population.__getitem__

CADETProcess.optimization.Population.__getitem__#

Population.__getitem__(x)[source]#

Get an individual from the population using its hashable representation.

Parameters:
xnp.array, list

The hashable representation of the individual.

Returns:
Individual

The individual from the population.