def plaintext(self): return evaluation.permute(self.cipher, self.best().sequence)
def evaluation(self): self.score = 0.0 for i in self.individuals: i.score = evaluation.score(evaluation.permute(self.cipher, i.sequence)) self.score += i.score