Uses of Class
net.bmahe.genetics4j.core.spec.selection.Tournament
-
Uses of Tournament in net.bmahe.genetics4j.core.selection
Modifier and TypeMethodDescriptionprivate Individual
<T> MultiTournamentsSelectionPolicyHandler.runTournament
(Tournament<T> tournament, List<Genotype> population, List<T> fitnessScore, List<Individual<T>> candidates) Modifier and TypeMethodDescriptionprivate Individual
<T> MultiTournamentsSelectionPolicyHandler.runTournament
(RandomGenerator randomGenerator, List<Tournament<T>> tournaments, List<Genotype> population, List<T> fitnessScore, int tournamentIndex) -
Uses of Tournament in net.bmahe.genetics4j.core.spec.selection
Modifier and TypeClassDescriptionfinal class
ImmutableTournament<T extends Comparable<T>>
Immutable implementation ofTournament
.Modifier and TypeFieldDescriptionprivate Tournament
<T> ImmutableDoubleTournament.Builder.fitnessTournament
private final Tournament
<T> ImmutableDoubleTournament.fitnessTournament
Modifier and TypeFieldDescriptionprivate List
<Tournament<T>> ImmutableMultiTournaments.Builder.tournaments
private final List
<Tournament<T>> ImmutableMultiTournaments.tournaments
Modifier and TypeMethodDescriptionImmutableTournament.Builder.build()
Builds a newTournament
.static <T extends Comparable<T>>
Tournament<T> ImmutableTournament.copyOf
(Tournament<T> instance) Creates an immutable copy of aTournament
value.abstract Tournament
<T> DoubleTournament.fitnessTournament()
ImmutableDoubleTournament.fitnessTournament()
static <T extends Comparable<T>>
Tournament<T> ImmutableTournament.of
(int numCandidates) Construct a new immutableTournament
instance.static <U extends Comparable<U>>
Tournament<U> Tournament.of
(int numCandidates) static <U extends Comparable<U>>
Tournament<U> Tournament.of
(int numCandidates, Comparator<Individual<U>> comparator) Modifier and TypeMethodDescriptionList
<Tournament<T>> ImmutableMultiTournaments.tournaments()
List
<Tournament<T>> MultiTournaments.tournaments()
Modifier and TypeMethodDescriptionImmutableMultiTournaments.Builder.addTournaments
(Tournament<T> element) Adds one element totournaments
list.ImmutableMultiTournaments.Builder.addTournaments
(Tournament<T>... elements) Adds elements totournaments
list.static <T extends Comparable<T>>
Tournament<T> ImmutableTournament.copyOf
(Tournament<T> instance) Creates an immutable copy of aTournament
value.ImmutableDoubleTournament.Builder.fitnessTournament
(Tournament<T> fitnessTournament) Initializes the value for thefitnessTournament
attribute.final Tournament.Builder
<T> ImmutableTournament.Builder.from
(Tournament<T> instance) Fill a builder with attribute values from the providedTournament
instance.static <U extends Comparable<U>>
DoubleTournament<U> DoubleTournament.of
(Tournament<U> fitnessTournament, Comparator<Individual<U>> parsimonyComparator, double parsimonyTournamentSize) static <T extends Comparable<T>>
ImmutableDoubleTournament<T> ImmutableDoubleTournament.of
(Tournament<T> fitnessTournament, Comparator<Individual<T>> parsimonyComparator, double parsimonyTournamentSize) Construct a new immutableDoubleTournament
instance.static <U extends Comparable<U>>
MultiTournaments<U> MultiTournaments.of
(Tournament<U>... tournaments) final ImmutableDoubleTournament
<T> ImmutableDoubleTournament.withFitnessTournament
(Tournament<T> value) Copy the current immutable object by setting a value for thefitnessTournament
attribute.final ImmutableMultiTournaments
<T> ImmutableMultiTournaments.withTournaments
(Tournament<T>... elements) Copy the current immutable object with elements that replace the content oftournaments
.Modifier and TypeMethodDescriptionImmutableMultiTournaments.Builder.addAllTournaments
(Iterable<? extends Tournament<T>> elements) Adds elements totournaments
list.static <T extends Comparable<T>>
MultiTournaments<T> ImmutableMultiTournaments.of
(Iterable<? extends Tournament<T>> tournaments) Construct a new immutableMultiTournaments
instance.static <T extends Comparable<T>>
MultiTournaments<T> ImmutableMultiTournaments.of
(List<Tournament<T>> tournaments) Construct a new immutableMultiTournaments
instance.static <U extends Comparable<U>>
MultiTournaments<U> MultiTournaments.of
(List<Tournament<U>> tournaments) ImmutableMultiTournaments.Builder.tournaments
(Iterable<? extends Tournament<T>> elements) Sets or replaces all elements fortournaments
list.final ImmutableMultiTournaments
<T> ImmutableMultiTournaments.withTournaments
(Iterable<? extends Tournament<T>> elements) Copy the current immutable object with elements that replace the content oftournaments
.ModifierConstructorDescriptionprivate
ImmutableDoubleTournament
(Tournament<T> fitnessTournament, Comparator<Individual<T>> parsimonyComparator, double parsimonyTournamentSize) private
ImmutableDoubleTournament
(Tournament<T> fitnessTournament, Comparator<Individual<T>> parsimonyComparator, double parsimonyTournamentSize, boolean doFitnessFirst) ModifierConstructorDescriptionprivate
ImmutableMultiTournaments
(Iterable<? extends Tournament<T>> tournaments) private
ImmutableMultiTournaments
(ImmutableMultiTournaments<T> original, List<Tournament<T>> tournaments)