Define an individual to be used for evolution.
A trackable identifier for the individual
An ordered collection of the genetic material of this individual. Maintained as a list
Return True if all chromosomes of self and other are equal (and in the same order). Else, return False
Return the hash of the tuple version of all chromosomes
__len__(self) Return the number of chromosomes self is made of.
Return the i th individual
Set obj as the index`th chromosome of ``self`
Return True if chromosome is a member of self.chromosomes. Else return False
Return self.id as a string
Append chrom to self.chromosomes
count(self, sub, chrom) Return the number of occurrences of sub in the chrom th chromosome of self