Uses of Class
edu.cnu.mdi.sim.ga.triimage.PolygonChromosome
Packages that use PolygonChromosome
-
Uses of PolygonChromosome in edu.cnu.mdi.sim.ga.triimage
Methods in edu.cnu.mdi.sim.ga.triimage that return PolygonChromosomeModifier and TypeMethodDescriptionPolygonChromosome.copy()Create an independent copy of this solution.GaussianMutation.mutate(PolygonChromosome individual, Random rng) GaussianMutation.mutate(PolygonChromosome individual, Random rng, double configuredRate) Apply the configured mutation probability to one offspring.ImageApproximationProblem.randomIndividual(Random rng) Generate a random chromosome in which all gene values are drawn independently fromUniform(0, 1).Methods in edu.cnu.mdi.sim.ga.triimage that return types with arguments of type PolygonChromosomeModifier and TypeMethodDescriptionUniformBlendCrossover.crossover(PolygonChromosome p1, PolygonChromosome p2, Random rng) ImageApproximationProblem.initialPopulation(int size, Random rng) Generate an initial population ofsizerandomly initialized chromosomes.Methods in edu.cnu.mdi.sim.ga.triimage with parameters of type PolygonChromosomeModifier and TypeMethodDescriptionUniformBlendCrossover.crossover(PolygonChromosome p1, PolygonChromosome p2, Random rng) doubleImageApproximationProblem.fitness(PolygonChromosome c) Compute fitness as the negated configured error between the rendered image and target.GaussianMutation.mutate(PolygonChromosome individual, Random rng) GaussianMutation.mutate(PolygonChromosome individual, Random rng, double configuredRate) Apply the configured mutation probability to one offspring.