onegpy.operator.PopulationOperatorAdapter

class onegpy.operator.PopulationOperatorAdapter(operator, generator_builder=None, n_out=None)[source]

This is an adapter to make an operator aim at population.

__init__(operator, generator_builder=None, n_out=None)[source]
Parameters:
  • operator – operator object. operator object to apply.
  • generator_builder – function of generator builder. Default is None (default generator).

This function makes a generator from input population. :param n_out: int. the number of output.

Methods

__init__(operator[, generator_builder, n_out])
param operator:operator object. operator object to apply.
not_changeable_warning()

Attributes

n_in
n_out