(self, other)
return True if cond1 and cond2 else False
Compares one chromosome with another
Compares one chromosome with another
Compares one chromosome with another
def __eq__(self, other):
      """ Compares one chromosome with another """
      cond1 = (self.genomeList == other.genomeList)
      cond2 = (self.genomeSize == other.genomeSize)
      return True if cond1 and cond2 else False
def __eq__ ( self , other ) : cond1 = ( self . genomeList == other . genomeList ) cond2 = ( self . genomeSize == other . genomeSize ) return True if cond1 and cond2 else False