onegpy.operator.PopulationOperator

class onegpy.operator.PopulationOperator(n_in=None, n_out=None)[source]

This is a base class a population operator. Population operator aims at population or a list of solutions.

__init__(n_in=None, n_out=None)

The number of input solution to the operator and outputs one of the operator None means that the operator handles variable length solutions.

Parameters:
  • n_in – int or None
  • n_out – int or None

Methods

__init__([n_in, n_out]) The number of input solution to the operator and outputs one of the operator None means that the operator handles variable length solutions.
not_changeable_warning()

Attributes

n_in
n_out