class_docstr: The Pareto front hall of fame contains all the non-dominated individuals
  that ever lived in the population. That means that the Pareto front hall of
  fame can contain an infinity of different individuals.
  
  :param similar: A function that tells the Pareto front whether or not two
                  individuals are similar, optional.
  
  The size of the front may become very large if it is used for example on
  a continuous function with a continuous domain. In order to limit the number
  of individuals, it is possible to specify a similarity function that will
  return :data:`True` if the genotype of two individuals are similar. In that
  case only one of the two individuals will be added to the hall of fame. By
  default the similarity function is :func:`operator.eq`.
  
  Since, the Pareto front hall of fame inherits from the :class:`HallOfFame`,
  it is sorted lexicographically at every moment.
class_docstr_tok: ["The","Pareto","front","hall","of","fame","contains","all","the","non-dominated","individuals","that","ever","lived","in","the","population",".","That","means","that","the","Pareto","front","hall","of","fame","can","contain","an","infinity","of","different","individuals",".",":","param","similar",":","A","function","that","tells","the","Pareto","front","whether","or","not","two","individuals","are","similar",",","optional",".","The","size","of","the","front","may","become","very","large","if","it","is","used","for","example","on","a","continuous","function","with","a","continuous","domain",".","In","order","to","limit","the","number","of","individuals",",","it","is","possible","to","specify","a","similarity","function","that","will","return",":","data",":","`","True","`","if","the","genotype","of","two","individuals","are","similar",".","In","that","case","only","one","of","the","two","individuals","will","be","added","to","the","hall","of","fame",".","By","default","the","similarity","function","is",":","func",":","`","operator.eq","`",".","Since",",","the","Pareto","front","hall","of","fame","inherits","from","the",":","class",":","`","HallOfFame","`",",","it","is","sorted","lexicographically","at","every","moment","."]
code: def __init__(self, similar=eq):
      HallOfFame.__init__(self, None, similar)
  
imports: from bisect import bisect_right
  from collections import defaultdict
  from copy import deepcopy
  from functools import partial
  from itertools import chain
  from operator import eq
label_desc: Use image node_id 1 to create a new ParetoFront object from inherited base classes: HallOfFame with example: obj = ParetoFront(similar)