Uses of Class
net.bmahe.genetics4j.core.spec.mutation.ImmutableSwapMutation
-
Uses of ImmutableSwapMutation in net.bmahe.genetics4j.core.spec.mutation
Modifier and TypeMethodDescriptionImmutableSwapMutation.Builder.build()
Builds a newImmutableSwapMutation
.static ImmutableSwapMutation
ImmutableSwapMutation.copyOf
(SwapMutation instance) Creates an immutable copy of aSwapMutation
value.static ImmutableSwapMutation
ImmutableSwapMutation.of
(double populationMutationProbability, int numSwap, boolean isNumSwapFixed) Construct a new immutableSwapMutation
instance.private static ImmutableSwapMutation
ImmutableSwapMutation.validate
(ImmutableSwapMutation instance) final ImmutableSwapMutation
ImmutableSwapMutation.withIsNumSwapFixed
(boolean value) Copy the current immutable object by setting a value for theisNumSwapFixed
attribute.final ImmutableSwapMutation
ImmutableSwapMutation.withNumSwap
(int value) Copy the current immutable object by setting a value for thenumSwap
attribute.final ImmutableSwapMutation
ImmutableSwapMutation.withPopulationMutationProbability
(double value) Copy the current immutable object by setting a value for thepopulationMutationProbability
attribute.Modifier and TypeMethodDescriptionprivate boolean
ImmutableSwapMutation.equalTo
(int synthetic, ImmutableSwapMutation another) private static ImmutableSwapMutation
ImmutableSwapMutation.validate
(ImmutableSwapMutation instance)