Uses of Class
evo.search.ga.DiscreteGene
-
Packages that use DiscreteGene Package Description evo.search The evoSearch package contains everything of this application.evo.search.ga The discrete implementations of classes and interfaces of thejeneticspackage.evo.search.ga.mutators Mutators working withDiscreteGenes.evo.search.io.entities The entities in this package are classes which are serializable in xml.evo.search.io.service This package contains io services.evo.search.util This utility package contains utility libraries for common tasks.evo.search.view This package contains all implementations related to the user interface.evo.search.view.part Package with custom viewport parts. -
-
Uses of DiscreteGene in evo.search
Methods in evo.search that return types with arguments of type DiscreteGene Modifier and Type Method Description List<io.jenetics.engine.EvolutionResult<DiscreteGene,Double>>Evolution. getHistory()History of individuals with the best phenotype in each generation.BiFunction<Evolution,List<DiscreteGene>,Double>Evolution.Fitness. getMethod()Method parameters in evo.search with type arguments of type DiscreteGene Modifier and Type Method Description Evolution.EvolutionBuilderEvolution.EvolutionBuilder. bestConsumer(Consumer<io.jenetics.Phenotype<DiscreteGene,Double>> bestConsumer)Consumer of the evolution progress.doubleEvolution. evalFitness(List<DiscreteGene> chromosome)Evaluate fitness method.doubleEvolution. fitnessMulti(List<DiscreteGene> chromosome)Compute the fitness of aDiscreteGenechromosome based on all treasures.doubleEvolution. fitnessSingular(List<DiscreteGene> chromosome)Compute the fitness of aDiscreteGenechromosome based on the single first treasureDiscreteGene.Evolution.EvolutionBuilderEvolution.EvolutionBuilder. history(List<io.jenetics.engine.EvolutionResult<DiscreteGene,Double>> history)History of individuals with the best phenotype in each generation.voidEvolution. setHistory(List<io.jenetics.engine.EvolutionResult<DiscreteGene,Double>> history)History of individuals with the best phenotype in each generation. -
Uses of DiscreteGene in evo.search.ga
Methods in evo.search.ga that return DiscreteGene Modifier and Type Method Description DiscreteGeneDiscreteGene. clone()Clones theDiscreteGene.DiscreteGeneDiscreteGene. newInstance()DiscreteGeneDiscreteGene. newInstance(Point2D value)DiscreteGeneDiscreteGene. parse(org.dom4j.Element element)Methods in evo.search.ga that return types with arguments of type DiscreteGene Modifier and Type Method Description static List<DiscreteGene>AnalysisUtils. fill(List<DiscreteGene> chromosome)Returns a filled list of points visited on each sector by the chromosome.static List<DiscreteGene>AnalysisUtils. inBetween(DiscreteGene a, DiscreteGene b)Returns a list of intersections between the line through points a and b and the rays between these points.io.jenetics.Chromosome<DiscreteGene>DiscreteChromosome. newInstance()io.jenetics.Chromosome<DiscreteGene>DiscreteChromosome. newInstance(io.jenetics.util.ISeq<DiscreteGene> genes)Methods in evo.search.ga with parameters of type DiscreteGene Modifier and Type Method Description doubleDiscreteGene. distance(DiscreteGene other)Calculate the euclidean distance to anotherDiscreteGene.static booleanAnalysisUtils. finds(DiscreteGene point, DiscreteGene treasure)static List<DiscreteGene>AnalysisUtils. inBetween(DiscreteGene a, DiscreteGene b)Returns a list of intersections between the line through points a and b and the rays between these points.static doubleAnalysisUtils. traceLength(List<DiscreteGene> chromosome, DiscreteGene treasure)Computes the trace length necessary for theDiscreteGenechromosome to find the given treasureDiscreteGene.Method parameters in evo.search.ga with type arguments of type DiscreteGene Modifier and Type Method Description static doubleAnalysisUtils. areaCovered(List<DiscreteGene> points)Calculates the maximised area covered by the points.static List<DiscreteGene>AnalysisUtils. fill(List<DiscreteGene> chromosome)Returns a filled list of points visited on each sector by the chromosome.static doubleAnalysisUtils. newAreaCovered(List<DiscreteGene> points)Computes the sum of newly covered area per step of the chromosome.io.jenetics.Chromosome<DiscreteGene>DiscreteChromosome. newInstance(io.jenetics.util.ISeq<DiscreteGene> genes)static doubleAnalysisUtils. spiralLikeness(List<DiscreteGene> chromosome)The spiral-likeness measures the similarity between the individuals structure and a spiral.static doubleAnalysisUtils. spiralLikenessInvariant(List<DiscreteGene> chromosome)Measure for the spiral-likeness of the chromosome with rotation invariance.static doubleAnalysisUtils. traceLength(List<DiscreteGene> points)Calculates the trace length of a path consisting of the list of points.static doubleAnalysisUtils. traceLength(List<DiscreteGene> chromosome, DiscreteGene treasure)Computes the trace length necessary for theDiscreteGenechromosome to find the given treasureDiscreteGene.static doubleAnalysisUtils. worstCase(List<DiscreteGene> points, float minDistance)Calculates the worst case trace length of a trace barely missing a treasure.static doubleAnalysisUtils. worstCaseMean(List<DiscreteGene> points, float epsilon)Compute the mean worst case over all points in the strategy.static doubleAnalysisUtils. worstCaseSpiralStrategy(List<DiscreteGene> chromosome)Calculate the optimal worst case factor for the strategy.Constructors in evo.search.ga with parameters of type DiscreteGene Constructor Description DiscreteChromosome(DiscreteGene... genes)Create a newDiscreteChromosomefrom the givengenesarray.Constructor parameters in evo.search.ga with type arguments of type DiscreteGene Constructor Description DiscreteChromosome(io.jenetics.util.ISeq<? extends DiscreteGene> genes)Create a newDiscreteChromosomefrom the givengenesarray. -
Uses of DiscreteGene in evo.search.ga.mutators
Methods in evo.search.ga.mutators that return DiscreteGene Modifier and Type Method Description protected DiscreteGeneDistanceMutator. mutate(DiscreteGene gene, Random random)Mutate the genes distance.protected DiscreteGenePositionMutator. mutate(DiscreteGene gene, Random random)Mutate the genes position.Methods in evo.search.ga.mutators that return types with arguments of type DiscreteGene Modifier and Type Method Description protected io.jenetics.MutatorResult<io.jenetics.Chromosome<DiscreteGene>>SwapPropertyMutator. mutate(io.jenetics.Chromosome<DiscreteGene> chromosome, double p, Random random)Methods in evo.search.ga.mutators with parameters of type DiscreteGene Modifier and Type Method Description protected DiscreteGeneDistanceMutator. mutate(DiscreteGene gene, Random random)Mutate the genes distance.protected DiscreteGenePositionMutator. mutate(DiscreteGene gene, Random random)Mutate the genes position.Method parameters in evo.search.ga.mutators with type arguments of type DiscreteGene Modifier and Type Method Description protected io.jenetics.MutatorResult<io.jenetics.Chromosome<DiscreteGene>>SwapPropertyMutator. mutate(io.jenetics.Chromosome<DiscreteGene> chromosome, double p, Random random)protected voidSwapDistanceMutator. swapComponent(io.jenetics.util.MSeq<DiscreteGene> mSeq, int a, int b)Swap the distances of twoDiscreteGenes in a chromosome sequence ofDiscreteGenes.protected voidSwapPositionsMutator. swapComponent(io.jenetics.util.MSeq<DiscreteGene> mSeq, int a, int b)Swap the positions of twoDiscreteGenes in a chromosome sequence ofDiscreteGenes.protected abstract voidSwapPropertyMutator. swapComponent(io.jenetics.util.MSeq<DiscreteGene> mSeq, int a, int b)Swap a property of two genes at positions a and b. -
Uses of DiscreteGene in evo.search.io.entities
Methods in evo.search.io.entities that return types with arguments of type DiscreteGene Modifier and Type Method Description io.jenetics.Genotype<DiscreteGene>Configuration. genotypeFactory()Shuffle a new chromosome withDiscreteGenes from the distance list.io.jenetics.Selector<DiscreteGene,Double>Configuration. getSelector()Selection method for offspring.List<DiscreteGene>Configuration. getTreasures()List of treasureDiscreteGenes to search for.Method parameters in evo.search.io.entities with type arguments of type DiscreteGene Modifier and Type Method Description booleanConfiguration. geneSequenceValidator(io.jenetics.util.ISeq<DiscreteGene> geneSequence)Validator for a sequence ofDiscreteGenes.Configuration.ConfigurationBuilderConfiguration.ConfigurationBuilder. selector(io.jenetics.Selector<DiscreteGene,Double> selector)Selection method for offspring.voidConfiguration. setSelector(io.jenetics.Selector<DiscreteGene,Double> selector)Selection method for offspring.voidConfiguration. setTreasures(List<DiscreteGene> treasures)List of treasureDiscreteGenes to search for.Configuration.ConfigurationBuilderConfiguration.ConfigurationBuilder. treasures(List<DiscreteGene> treasures)List of treasureDiscreteGenes to search for.Constructor parameters in evo.search.io.entities with type arguments of type DiscreteGene Constructor Description Configuration(String version, String name, int limit, int positions, List<Double> distances, List<DiscreteGene> treasures, Evolution.Fitness fitness, List<? extends DiscreteAlterer> alterers, io.jenetics.Selector<DiscreteGene,Double> selector, int offspring, int population, boolean chooseWithoutPermutation, double distanceMutationDelta) -
Uses of DiscreteGene in evo.search.io.service
Fields in evo.search.io.service with type parameters of type DiscreteGene Modifier and Type Field Description static com.pploder.events.Event<Iterable<DiscreteGene>>EventService. REPAINT_CANVASEvent to repaint theCanvasupon. -
Uses of DiscreteGene in evo.search.util
Methods in evo.search.util that return DiscreteGene Modifier and Type Method Description static DiscreteGeneRandomUtils. generatePoint(int positions, double minDistance, double maxDistance)Returns a shuffledDiscreteGene. -
Uses of DiscreteGene in evo.search.view
Methods in evo.search.view that return DiscreteGene Modifier and Type Method Description DiscreteGeneShuffleDialog. shuffleTreasures(double minDistance, double maxDistance)Treasure supplier by min and max distance.Methods in evo.search.view with parameters of type DiscreteGene Modifier and Type Method Description voidPreview. add(DiscreteGene gene) -
Uses of DiscreteGene in evo.search.view.part
Methods in evo.search.view.part that return DiscreteGene Modifier and Type Method Description static @NotNull DiscreteGeneGeneListCellEditor. parseGene(Matcher matcher)Method parameters in evo.search.view.part with type arguments of type DiscreteGene Modifier and Type Method Description voidCanvas. render(Iterable<DiscreteGene> chromosome)Render a single chromosome as a series of points connected with lines.voidCanvas. renderTreasures(Iterable<DiscreteGene> treasures)Render the treasure points as red crosses.
-