public Individuo(int[] bits) { cromosoma = new Cromosoma(bits.Length); cromosoma.inicializar(); for (int i = 0; i < bits.Length; i++) { cromosoma.setGeneAt(i, bits[i]); } }
public Individuo(int num_bits) { cromosoma = new Cromosoma(num_bits); cromosoma.inicializar(); }