ribs.archives.Elite

namedtuple ribs.archives.Elite(solution: numpy.ndarray, objective: float, measures: numpy.ndarray, index: int, metadata: object)[source]

Represents a single elite in an archive.

Note that since this class is a namedtuple, its fields may be accessed either by name or by integer indices.

Fields
  1. solution (ndarray) – Parameters of the elite’s solution.

  2. objective (float) – Objective value evaluation.

  3. measures (ndarray) – 1D array of measure values.

  4. index (int) – Index of the elite in the archive (see ArchiveBase.index_of()).

  5. metadata (object) – Metadata object for the elite.

count(value, /)

Return number of occurrences of value.