Exemple #1
0
 def plaintext(self):
     return evaluation.permute(self.cipher, self.best().sequence)
Exemple #2
0
 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