Uses of Interface
net.bmahe.genetics4j.core.Individual
Packages that use Individual
Package
Description
-
Uses of Individual in net.bmahe.genetics4j.core
Classes in net.bmahe.genetics4j.core that implement IndividualModifier and TypeClassDescriptionfinal classImmutableIndividual<T extends Comparable<T>>Immutable implementation ofIndividual.Methods in net.bmahe.genetics4j.core that return IndividualModifier and TypeMethodDescriptionImmutableIndividual.Builder.build()Builds a newIndividual.static <T extends Comparable<T>>
Individual<T> ImmutableIndividual.copyOf(Individual<T> instance) Creates an immutable copy of aIndividualvalue.Population.getIndividual(int index) Returns the individual at the specified index.PopulationIterator.next()Returns the next individual in the population and advances the iterator position.static <T extends Comparable<T>>
Individual<T> Construct a new immutableIndividualinstance.static <U extends Comparable<U>>
Individual<U> Creates a new individual with the specified genotype and fitness.Methods in net.bmahe.genetics4j.core that return types with arguments of type IndividualMethods in net.bmahe.genetics4j.core with parameters of type IndividualModifier and TypeMethodDescriptionvoidPopulation.add(Individual<T> individual) Adds an individual to the population.static <T extends Comparable<T>>
Individual<T> ImmutableIndividual.copyOf(Individual<T> instance) Creates an immutable copy of aIndividualvalue.final ImmutableIndividual.Builder<T> ImmutableIndividual.Builder.from(Individual<T> instance) Fill a builder with attribute values from the providedIndividualinstance.Method parameters in net.bmahe.genetics4j.core with type arguments of type IndividualModifier and TypeMethodDescriptionstatic <U extends Comparable<U>>
Population<U> Population.of(List<Individual<U>> individuals) Creates a new population from a list of individuals. -
Uses of Individual in net.bmahe.genetics4j.core.postevaluationprocess
Fields in net.bmahe.genetics4j.core.postevaluationprocess with type parameters of type IndividualModifier and TypeFieldDescriptionprivate BiFunction<Individual<T>, Double, T> ImmutableFitnessSharing.Builder.scaleFitnessprivate final BiFunction<Individual<T>, Double, T> ImmutableFitnessSharing.scaleFitnessMethods in net.bmahe.genetics4j.core.postevaluationprocess that return types with arguments of type IndividualModifier and TypeMethodDescriptionabstract BiFunction<Individual<T>, Double, T> FitnessSharing.scaleFitness()ImmutableFitnessSharing.scaleFitness()Method parameters in net.bmahe.genetics4j.core.postevaluationprocess with type arguments of type IndividualModifier and TypeMethodDescriptionfinal ImmutableFitnessSharing.Builder<T> ImmutableFitnessSharing.Builder.scaleFitness(BiFunction<Individual<T>, Double, T> scaleFitness) Initializes the value for thescaleFitnessattribute.final ImmutableFitnessSharing<T> ImmutableFitnessSharing.withScaleFitness(BiFunction<Individual<T>, Double, T> value) Copy the current immutable object by setting a value for thescaleFitnessattribute. -
Uses of Individual in net.bmahe.genetics4j.core.selection
Methods in net.bmahe.genetics4j.core.selection that return IndividualModifier and TypeMethodDescriptionprotected Individual<T> SelectiveRefinementTournamentSelector.randomIndividual(List<Genotype> population, List<T> fitnessScore) private Individual<T> MultiTournamentsSelectionPolicyHandler.runTournament(RandomGenerator randomGenerator, List<Tournament<T>> tournaments, List<Genotype> population, List<T> fitnessScore, int tournamentIndex) private Individual<T> MultiTournamentsSelectionPolicyHandler.runTournament(Tournament<T> tournament, List<Genotype> population, List<T> fitnessScore, List<Individual<T>> candidates) protected Individual<T> SelectiveRefinementTournamentSelector.selectForFitness(AbstractEAConfiguration<T> eaConfiguration, Comparator<Individual<T>> fitnessComparator, int numCandidates, List<Genotype> population, List<T> fitnessScore) protected Individual<T> SelectiveRefinementTournamentSelector.selectForRefinement(Comparator<Individual<T>> refinementComparator, Individual<T> candidateA, Individual<T> candidateB) Methods in net.bmahe.genetics4j.core.selection that return types with arguments of type IndividualModifier and TypeMethodDescriptionprivate List<Individual<T>> MultiTournamentsSelectionPolicyHandler.pickRandomCandidates(RandomGenerator randomGenerator, List<Genotype> population, List<T> fitnessScore, int numCandidates) Methods in net.bmahe.genetics4j.core.selection with parameters of type IndividualModifier and TypeMethodDescriptionprotected Individual<T> SelectiveRefinementTournamentSelector.selectForRefinement(Comparator<Individual<T>> refinementComparator, Individual<T> candidateA, Individual<T> candidateB) Method parameters in net.bmahe.genetics4j.core.selection with type arguments of type IndividualModifier and TypeMethodDescriptionprotected Individual<T> SelectiveRefinementTournamentSelector.selectForFitness(AbstractEAConfiguration<T> eaConfiguration, Comparator<Individual<T>> fitnessComparator, int numCandidates, List<Genotype> population, List<T> fitnessScore) protected Individual<T> SelectiveRefinementTournamentSelector.selectForRefinement(Comparator<Individual<T>> refinementComparator, Individual<T> candidateA, Individual<T> candidateB) -
Uses of Individual in net.bmahe.genetics4j.core.spec.selection
Fields in net.bmahe.genetics4j.core.spec.selection with type parameters of type IndividualModifier and TypeFieldDescriptionprivate Comparator<Individual<T>> ImmutableTournament.Builder.comparatorprivate final Comparator<Individual<T>> ImmutableTournament.comparatorprivate Comparator<Individual<T>> ImmutableProportionalTournament.Builder.firstComparatorprivate final Comparator<Individual<T>> ImmutableProportionalTournament.firstComparatorprivate Comparator<Individual<T>> ImmutableSelectiveRefinementTournament.Builder.refinementComparatorprivate final Comparator<Individual<T>> ImmutableSelectiveRefinementTournament.refinementComparatorprivate Comparator<Individual<T>> ImmutableProportionalTournament.Builder.secondComparatorprivate final Comparator<Individual<T>> ImmutableProportionalTournament.secondComparatorMethods in net.bmahe.genetics4j.core.spec.selection that return types with arguments of type IndividualModifier and TypeMethodDescriptionImmutableTournament.comparator()Tournament.comparator()ImmutableProportionalTournament.firstComparator()ProportionalTournament.firstComparator()ImmutableSelectiveRefinementTournament.refinementComparator()Gets the comparator used for refining the selection results.abstract Comparator<Individual<T>> SelectiveRefinementTournament.refinementComparator()Gets the comparator used for refining the selection results.ImmutableProportionalTournament.secondComparator()ProportionalTournament.secondComparator()Method parameters in net.bmahe.genetics4j.core.spec.selection with type arguments of type IndividualModifier and TypeMethodDescriptionfinal Tournament.Builder<T> ImmutableTournament.Builder.comparator(Comparator<Individual<T>> comparator) Initializes the value for thecomparatorattribute.ImmutableProportionalTournament.Builder.firstComparator(Comparator<Individual<T>> firstComparator) Initializes the value for thefirstComparatorattribute.static <T extends Comparable<T>>
ProportionalTournament<T> ImmutableProportionalTournament.of(int numCandidates, double proportionFirst, Comparator<Individual<T>> firstComparator, Comparator<Individual<T>> secondComparator) Construct a new immutableProportionalTournamentinstance.static <T extends Comparable<T>>
ProportionalTournament<T> ProportionalTournament.of(int numCandidates, double proportionFirst, Comparator<Individual<T>> firstComparator, Comparator<Individual<T>> secondComparator) static <U extends Comparable<U>>
Tournament<U> Tournament.of(int numCandidates, Comparator<Individual<U>> comparator) ImmutableSelectiveRefinementTournament.Builder.refinementComparator(Comparator<Individual<T>> refinementComparator) Initializes the value for therefinementComparatorattribute.ImmutableProportionalTournament.Builder.secondComparator(Comparator<Individual<T>> secondComparator) Initializes the value for thesecondComparatorattribute.final ImmutableTournament<T> ImmutableTournament.withComparator(Comparator<Individual<T>> value) Copy the current immutable object by setting a value for thecomparatorattribute.final ImmutableProportionalTournament<T> ImmutableProportionalTournament.withFirstComparator(Comparator<Individual<T>> value) Copy the current immutable object by setting a value for thefirstComparatorattribute.ImmutableSelectiveRefinementTournament.withRefinementComparator(Comparator<Individual<T>> value) Copy the current immutable object by setting a value for therefinementComparatorattribute.final ImmutableProportionalTournament<T> ImmutableProportionalTournament.withSecondComparator(Comparator<Individual<T>> value) Copy the current immutable object by setting a value for thesecondComparatorattribute.Constructor parameters in net.bmahe.genetics4j.core.spec.selection with type arguments of type IndividualModifierConstructorDescriptionprivateImmutableProportionalTournament(int numCandidates, double proportionFirst, Comparator<Individual<T>> firstComparator, Comparator<Individual<T>> secondComparator) privateImmutableProportionalTournament(ImmutableProportionalTournament<T> original, int numCandidates, double proportionFirst, Comparator<Individual<T>> firstComparator, Comparator<Individual<T>> secondComparator) privateImmutableSelectiveRefinementTournament(Tournament<T> tournament, Comparator<Individual<T>> refinementComparator, float refinementRatio) privateImmutableTournament(int numCandidates, Comparator<Individual<T>> comparator) -
Uses of Individual in net.bmahe.genetics4j.core.util
Methods in net.bmahe.genetics4j.core.util that return types with arguments of type IndividualModifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
Comparator<Individual<T>> IndividualUtils.fitnessBasedComparator(AbstractEAConfiguration<T> eaConfiguration) -
Uses of Individual in net.bmahe.genetics4j.gp.selection
Methods in net.bmahe.genetics4j.gp.selection that return IndividualModifier and TypeMethodDescriptionprotected Individual<T> DoubleTournamentSelector.parsimonyPick(Comparator<Individual<T>> parsimonyComparator, double parsimonyTournamentSize, Individual<T> first, Individual<T> second) protected Individual<T> DoubleTournamentSelector.randomIndividual(List<Genotype> population, List<T> fitnessScore) protected Individual<T> DoubleTournamentSelector.selectForFitness(AbstractEAConfiguration<T> eaConfiguration, Comparator<Individual<T>> fitnessComparator, int numCandidates, List<Genotype> population, List<T> fitnessScore) Methods in net.bmahe.genetics4j.gp.selection with parameters of type IndividualModifier and TypeMethodDescriptionprotected Individual<T> DoubleTournamentSelector.parsimonyPick(Comparator<Individual<T>> parsimonyComparator, double parsimonyTournamentSize, Individual<T> first, Individual<T> second) Method parameters in net.bmahe.genetics4j.gp.selection with type arguments of type IndividualModifier and TypeMethodDescriptionprotected Individual<T> DoubleTournamentSelector.parsimonyPick(Comparator<Individual<T>> parsimonyComparator, double parsimonyTournamentSize, Individual<T> first, Individual<T> second) protected Individual<T> DoubleTournamentSelector.selectForFitness(AbstractEAConfiguration<T> eaConfiguration, Comparator<Individual<T>> fitnessComparator, int numCandidates, List<Genotype> population, List<T> fitnessScore) -
Uses of Individual in net.bmahe.genetics4j.gp.spec.selection
Fields in net.bmahe.genetics4j.gp.spec.selection with type parameters of type IndividualModifier and TypeFieldDescriptionprivate Comparator<Individual<T>> ImmutableDoubleTournament.Builder.parsimonyComparatorprivate final Comparator<Individual<T>> ImmutableDoubleTournament.parsimonyComparatorMethods in net.bmahe.genetics4j.gp.spec.selection that return types with arguments of type IndividualModifier and TypeMethodDescriptionabstract Comparator<Individual<T>> DoubleTournament.parsimonyComparator()Comparator used to evaluate parsimony (complexity) between individuals.ImmutableDoubleTournament.parsimonyComparator()Comparator used to evaluate parsimony (complexity) between individuals.Method parameters in net.bmahe.genetics4j.gp.spec.selection with type arguments of type IndividualModifier and TypeMethodDescriptionstatic <U extends Comparable<U>>
DoubleTournament<U> DoubleTournament.of(Tournament<U> fitnessTournament, Comparator<Individual<U>> parsimonyComparator, double parsimonyTournamentSize) Creates a new DoubleTournament selection policy with fitness-first mode enabled.static <T extends Comparable<T>>
DoubleTournament<T> ImmutableDoubleTournament.of(Tournament<T> fitnessTournament, Comparator<Individual<T>> parsimonyComparator, double parsimonyTournamentSize) Construct a new immutableDoubleTournamentinstance.ImmutableDoubleTournament.Builder.parsimonyComparator(Comparator<Individual<T>> parsimonyComparator) Initializes the value for theparsimonyComparatorattribute.final ImmutableDoubleTournament<T> ImmutableDoubleTournament.withParsimonyComparator(Comparator<Individual<T>> value) Copy the current immutable object by setting a value for theparsimonyComparatorattribute.Constructor parameters in net.bmahe.genetics4j.gp.spec.selection with type arguments of type IndividualModifierConstructorDescriptionprivateImmutableDoubleTournament(Tournament<T> fitnessTournament, Comparator<Individual<T>> parsimonyComparator, double parsimonyTournamentSize) privateImmutableDoubleTournament(Tournament<T> fitnessTournament, Comparator<Individual<T>> parsimonyComparator, double parsimonyTournamentSize, boolean doFitnessFirst) -
Uses of Individual in net.bmahe.genetics4j.neat
Fields in net.bmahe.genetics4j.neat with type parameters of type IndividualModifier and TypeFieldDescriptionprivate final List<Individual<T>> Species.ancestorsprivate final List<Individual<T>> Species.membersMethods in net.bmahe.genetics4j.neat that return types with arguments of type IndividualModifier and TypeMethodDescriptionList<Individual<T>> Species.getAncestors()Returns the list of ancestors for this species.List<Individual<T>> Species.getMembers()Returns the list of current members in this species.Methods in net.bmahe.genetics4j.neat with parameters of type IndividualModifier and TypeMethodDescriptionvoidSpecies.addAncestor(Individual<T> individual) Adds an individual as an ancestor of this species.voidSpecies.addMember(Individual<T> individual) Adds an individual as a member of this species.Method parameters in net.bmahe.genetics4j.neat with type arguments of type IndividualModifier and TypeMethodDescriptionvoidSpecies.addAllMembers(Collection<Individual<T>> individuals) Adds multiple individuals as members of this species.static <T extends Comparable<T>>
List<Species<T>> NeatUtils.speciate(RandomGenerator random, SpeciesIdGenerator speciesIdGenerator, List<Species<T>> seedSpecies, Population<T> population, BiPredicate<Individual<T>, Individual<T>> speciesPredicate) static <T extends Comparable<T>>
List<Species<T>> NeatUtils.speciate(RandomGenerator random, SpeciesIdGenerator speciesIdGenerator, List<Species<T>> seedSpecies, Population<T> population, BiPredicate<Individual<T>, Individual<T>> speciesPredicate) Constructor parameters in net.bmahe.genetics4j.neat with type arguments of type IndividualModifierConstructorDescriptionSpecies(int _id, List<Individual<T>> _ancestors) Constructs a new species with the specified ID and founding ancestors. -
Uses of Individual in net.bmahe.genetics4j.neat.selection
Method parameters in net.bmahe.genetics4j.neat.selection with type arguments of type IndividualModifier and TypeMethodDescriptionNeatSelectorImpl.trimSpecies(Species<T> species, Comparator<Individual<T>> comparator, int minSpeciesSize, float perSpeciesKeepRatio) Trims a species by removing lower-performing individuals while preserving minimum viable size. -
Uses of Individual in net.bmahe.genetics4j.neat.spec.selection
Fields in net.bmahe.genetics4j.neat.spec.selection with type parameters of type IndividualModifier and TypeFieldDescriptionprivate BiPredicate<Individual<T>, Individual<T>> ImmutableNeatSelection.Builder.speciesPredicateprivate BiPredicate<Individual<T>, Individual<T>> ImmutableNeatSelection.Builder.speciesPredicateprivate final BiPredicate<Individual<T>, Individual<T>> ImmutableNeatSelection.speciesPredicateprivate final BiPredicate<Individual<T>, Individual<T>> ImmutableNeatSelection.speciesPredicateMethods in net.bmahe.genetics4j.neat.spec.selection that return types with arguments of type IndividualModifier and TypeMethodDescriptionImmutableNeatSelection.speciesPredicate()Returns the predicate used to determine species membership.ImmutableNeatSelection.speciesPredicate()Returns the predicate used to determine species membership.abstract BiPredicate<Individual<T>, Individual<T>> NeatSelection.speciesPredicate()Returns the predicate used to determine species membership.abstract BiPredicate<Individual<T>, Individual<T>> NeatSelection.speciesPredicate()Returns the predicate used to determine species membership.Method parameters in net.bmahe.genetics4j.neat.spec.selection with type arguments of type IndividualModifier and TypeMethodDescriptionstatic <U extends Comparable<U>>
NeatSelection<U> NeatSelection.of(float perSpeciesKeepRatio, BiPredicate<Individual<U>, Individual<U>> speciesPredicate, SelectionPolicy speciesSelection) Creates a NEAT selection policy with custom keep ratio and specified parameters.static <U extends Comparable<U>>
NeatSelection<U> NeatSelection.of(float perSpeciesKeepRatio, BiPredicate<Individual<U>, Individual<U>> speciesPredicate, SelectionPolicy speciesSelection) Creates a NEAT selection policy with custom keep ratio and specified parameters.static <U extends Comparable<U>>
NeatSelection<U> NeatSelection.of(BiPredicate<Individual<U>, Individual<U>> speciesPredicate, SelectionPolicy speciesSelection) Creates a NEAT selection policy with default keep ratio and specified parameters.static <U extends Comparable<U>>
NeatSelection<U> NeatSelection.of(BiPredicate<Individual<U>, Individual<U>> speciesPredicate, SelectionPolicy speciesSelection) Creates a NEAT selection policy with default keep ratio and specified parameters.final NeatSelection.Builder<T> ImmutableNeatSelection.Builder.speciesPredicate(BiPredicate<Individual<T>, Individual<T>> speciesPredicate) Initializes the value for thespeciesPredicateattribute.final NeatSelection.Builder<T> ImmutableNeatSelection.Builder.speciesPredicate(BiPredicate<Individual<T>, Individual<T>> speciesPredicate) Initializes the value for thespeciesPredicateattribute.final ImmutableNeatSelection<T> ImmutableNeatSelection.withSpeciesPredicate(BiPredicate<Individual<T>, Individual<T>> value) Copy the current immutable object by setting a value for thespeciesPredicateattribute.final ImmutableNeatSelection<T> ImmutableNeatSelection.withSpeciesPredicate(BiPredicate<Individual<T>, Individual<T>> value) Copy the current immutable object by setting a value for thespeciesPredicateattribute.Constructor parameters in net.bmahe.genetics4j.neat.spec.selection with type arguments of type IndividualModifierConstructorDescriptionprivateImmutableNeatSelection(float perSpeciesKeepRatio, int minSpeciesSize, BiPredicate<Individual<T>, Individual<T>> speciesPredicate, SelectionPolicy speciesSelection) privateImmutableNeatSelection(float perSpeciesKeepRatio, int minSpeciesSize, BiPredicate<Individual<T>, Individual<T>> speciesPredicate, SelectionPolicy speciesSelection) -
Uses of Individual in net.bmahe.genetics4j.samples.mixturemodel
Methods in net.bmahe.genetics4j.samples.mixturemodel that return types with arguments of type IndividualModifier and TypeMethodDescriptionstatic Map<Integer, Individual<FitnessVector<Float>>> ClusteringUtils.groupByNumClusters(double[][] samplesDouble, EvolutionResult<FitnessVector<Float>> evolutionResult)