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 thejenetics
package.evo.search.ga.mutators Mutators working withDiscreteGene
s.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.EvolutionBuilder
Evolution.EvolutionBuilder. bestConsumer(Consumer<io.jenetics.Phenotype<DiscreteGene,Double>> bestConsumer)
Consumer of the evolution progress.double
Evolution. evalFitness(List<DiscreteGene> chromosome)
Evaluate fitness method.double
Evolution. fitnessMulti(List<DiscreteGene> chromosome)
Compute the fitness of aDiscreteGene
chromosome based on all treasures.double
Evolution. fitnessSingular(List<DiscreteGene> chromosome)
Compute the fitness of aDiscreteGene
chromosome based on the single first treasureDiscreteGene
.Evolution.EvolutionBuilder
Evolution.EvolutionBuilder. history(List<io.jenetics.engine.EvolutionResult<DiscreteGene,Double>> history)
History of individuals with the best phenotype in each generation.void
Evolution. 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 DiscreteGene
DiscreteGene. clone()
Clones theDiscreteGene
.DiscreteGene
DiscreteGene. newInstance()
DiscreteGene
DiscreteGene. newInstance(Point2D value)
DiscreteGene
DiscreteGene. 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 double
DiscreteGene. distance(DiscreteGene other)
Calculate the euclidean distance to anotherDiscreteGene
.static boolean
AnalysisUtils. 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 double
AnalysisUtils. traceLength(List<DiscreteGene> chromosome, DiscreteGene treasure)
Computes the trace length necessary for theDiscreteGene
chromosome to find the given treasureDiscreteGene
.Method parameters in evo.search.ga with type arguments of type DiscreteGene Modifier and Type Method Description static double
AnalysisUtils. 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 double
AnalysisUtils. 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 double
AnalysisUtils. spiralLikeness(List<DiscreteGene> chromosome)
The spiral-likeness measures the similarity between the individuals structure and a spiral.static double
AnalysisUtils. spiralLikenessInvariant(List<DiscreteGene> chromosome)
Measure for the spiral-likeness of the chromosome with rotation invariance.static double
AnalysisUtils. traceLength(List<DiscreteGene> points)
Calculates the trace length of a path consisting of the list of points.static double
AnalysisUtils. traceLength(List<DiscreteGene> chromosome, DiscreteGene treasure)
Computes the trace length necessary for theDiscreteGene
chromosome to find the given treasureDiscreteGene
.static double
AnalysisUtils. worstCase(List<DiscreteGene> points, float minDistance)
Calculates the worst case trace length of a trace barely missing a treasure.static double
AnalysisUtils. worstCaseMean(List<DiscreteGene> points, float epsilon)
Compute the mean worst case over all points in the strategy.static double
AnalysisUtils. 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 newDiscreteChromosome
from the givengenes
array.Constructor parameters in evo.search.ga with type arguments of type DiscreteGene Constructor Description DiscreteChromosome(io.jenetics.util.ISeq<? extends DiscreteGene> genes)
Create a newDiscreteChromosome
from the givengenes
array. -
Uses of DiscreteGene in evo.search.ga.mutators
Methods in evo.search.ga.mutators that return DiscreteGene Modifier and Type Method Description protected DiscreteGene
DistanceMutator. mutate(DiscreteGene gene, Random random)
Mutate the genes distance.protected DiscreteGene
PositionMutator. 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 DiscreteGene
DistanceMutator. mutate(DiscreteGene gene, Random random)
Mutate the genes distance.protected DiscreteGene
PositionMutator. 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 void
SwapDistanceMutator. swapComponent(io.jenetics.util.MSeq<DiscreteGene> mSeq, int a, int b)
Swap the distances of twoDiscreteGene
s in a chromosome sequence ofDiscreteGene
s.protected void
SwapPositionsMutator. swapComponent(io.jenetics.util.MSeq<DiscreteGene> mSeq, int a, int b)
Swap the positions of twoDiscreteGene
s in a chromosome sequence ofDiscreteGene
s.protected abstract void
SwapPropertyMutator. 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 withDiscreteGene
s from the distance list.io.jenetics.Selector<DiscreteGene,Double>
Configuration. getSelector()
Selection method for offspring.List<DiscreteGene>
Configuration. getTreasures()
List of treasureDiscreteGene
s to search for.Method parameters in evo.search.io.entities with type arguments of type DiscreteGene Modifier and Type Method Description boolean
Configuration. geneSequenceValidator(io.jenetics.util.ISeq<DiscreteGene> geneSequence)
Validator for a sequence ofDiscreteGene
s.Configuration.ConfigurationBuilder
Configuration.ConfigurationBuilder. selector(io.jenetics.Selector<DiscreteGene,Double> selector)
Selection method for offspring.void
Configuration. setSelector(io.jenetics.Selector<DiscreteGene,Double> selector)
Selection method for offspring.void
Configuration. setTreasures(List<DiscreteGene> treasures)
List of treasureDiscreteGene
s to search for.Configuration.ConfigurationBuilder
Configuration.ConfigurationBuilder. treasures(List<DiscreteGene> treasures)
List of treasureDiscreteGene
s 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_CANVAS
Event to repaint theCanvas
upon. -
Uses of DiscreteGene in evo.search.util
Methods in evo.search.util that return DiscreteGene Modifier and Type Method Description static DiscreteGene
RandomUtils. 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 DiscreteGene
ShuffleDialog. 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 void
Preview. 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 DiscreteGene
GeneListCellEditor. parseGene(Matcher matcher)
Method parameters in evo.search.view.part with type arguments of type DiscreteGene Modifier and Type Method Description void
Canvas. render(Iterable<DiscreteGene> chromosome)
Render a single chromosome as a series of points connected with lines.void
Canvas. renderTreasures(Iterable<DiscreteGene> treasures)
Render the treasure points as red crosses.
-