Uses of Class
net.bmahe.genetics4j.gp.program.ImmutableProgram.Builder
-
Uses of ImmutableProgram.Builder in net.bmahe.genetics4j.gp.program
Modifier and TypeMethodDescriptionfinal ImmutableProgram.Builder
ImmutableProgram.Builder.addAllFunctions
(Iterable<? extends OperationFactory> elements) Adds elements tofunctions
set.final ImmutableProgram.Builder
ImmutableProgram.Builder.addAllTerminal
(Iterable<? extends OperationFactory> elements) Adds elements toterminal
set.final ImmutableProgram.Builder
ImmutableProgram.Builder.addFunctions
(OperationFactory element) Adds one element tofunctions
set.final ImmutableProgram.Builder
ImmutableProgram.Builder.addFunctions
(OperationFactory... elements) Adds elements tofunctions
set.final ImmutableProgram.Builder
ImmutableProgram.Builder.addTerminal
(OperationFactory element) Adds one element toterminal
set.final ImmutableProgram.Builder
ImmutableProgram.Builder.addTerminal
(OperationFactory... elements) Adds elements toterminal
set.static ImmutableProgram.Builder
ImmutableProgram.builder()
Creates a builder forImmutableProgram
.final ImmutableProgram.Builder
Fill a builder with attribute values from the providedProgram
instance.final ImmutableProgram.Builder
ImmutableProgram.Builder.functions
(Iterable<? extends OperationFactory> elements) Sets or replaces all elements forfunctions
set.final ImmutableProgram.Builder
Initializes the value for theinputSpec
attribute.final ImmutableProgram.Builder
ImmutableProgram.Builder.maxDepth
(int maxDepth) Initializes the value for themaxDepth
attribute.final ImmutableProgram.Builder
ImmutableProgram.Builder.terminal
(Iterable<? extends OperationFactory> elements) Sets or replaces all elements forterminal
set.