Searched refs:Chromosome (Results 1 – 14 of 14) sorted by relevance
36 private List<Chromosome> chromosomes;48 public ListPopulation (List<Chromosome> chromosomes, int populationLimit) { in ListPopulation()72 this.chromosomes = new ArrayList<Chromosome>(populationLimit); in ListPopulation()79 public void setChromosomes(List<Chromosome> chromosomes) { in setChromosomes()87 public List<Chromosome> getChromosomes() { in getChromosomes()95 public void addChromosome(Chromosome chromosome) { in addChromosome()103 public Chromosome getFittestChromosome() { in getFittestChromosome()105 Chromosome bestChromosome = this.chromosomes.get(0); in getFittestChromosome()106 for (Chromosome chromosome : this.chromosomes) { in getFittestChromosome()152 public Iterator<Chromosome> iterator() { in iterator()
28 public abstract class Chromosome implements Comparable<Chromosome>,Fitness { class64 public int compareTo(Chromosome another) { in compareTo()75 protected boolean isSame(Chromosome another) { in isSame()89 protected Chromosome findSameChromosome(Population population) { in findSameChromosome()90 for (Chromosome anotherChr : population) { in findSameChromosome()105 Chromosome sameChromosome = findSameChromosome(population); in searchForFitnessUpdate()
27 private final Chromosome first;30 private final Chromosome second;38 public ChromosomePair(final Chromosome c1, final Chromosome c2) { in ChromosomePair()49 public Chromosome getFirst() { in getFirst()58 public Chromosome getSecond() { in getSecond()
25 public interface Population extends Iterable<Chromosome> {48 void addChromosome(Chromosome chromosome); in addChromosome()54 Chromosome getFittestChromosome(); in getFittestChromosome()
35 public Chromosome mutate(Chromosome original) { in mutate()48 Chromosome newChrom = origChrom.newFixedLengthChromosome(newRepr); in mutate()
72 private Chromosome tournament(ListPopulation population) { in tournament()84 List<Chromosome> chromosomes = new ArrayList<Chromosome> (population.getChromosomes()); in tournament()
32 Chromosome mutate(Chromosome original); in mutate()
34 ChromosomePair crossover(Chromosome first, Chromosome second); in crossover()
40 public Chromosome mutate(Chromosome original) { in mutate()
47 …public ElitisticListPopulation(List<Chromosome> chromosomes, int populationLimit, double elitismRa… in ElitisticListPopulation()77 List<Chromosome> oldChromosomes = this.getChromosomes(); in nextGeneration()
70 public ChromosomePair crossover(Chromosome first, Chromosome second) { in crossover()
31 public abstract class AbstractListChromosome<T> extends Chromosome {
76 protected boolean isSame(Chromosome another) { in isSame()
149 protected boolean isSame(Chromosome another) { in isSame()