def infectar(self):
    c = comando()
    for gene in self.cromossomo:
      if type(gene) is list:
	for subgene in gene:
	  func = getattr(c, subgene)
      else:
	func = getattr(c, gene)
      self.totalComandos += 1;
      resultadoComando = func()
      if (resultadoComando == True):
	self.totalComandosSucedidos += 1;