Uses of Class
net.bmahe.genetics4j.gp.program.ImmutableProgram
Packages that use ImmutableProgram
-
Uses of ImmutableProgram in net.bmahe.genetics4j.gp.program
Methods in net.bmahe.genetics4j.gp.program that return ImmutableProgramModifier and TypeMethodDescriptionImmutableProgram.Builder.build()
Builds a newImmutableProgram
.static ImmutableProgram
Creates an immutable copy of aProgram
value.static ImmutableProgram
ImmutableProgram.of
(Iterable<? extends OperationFactory> functions, Iterable<? extends OperationFactory> terminal, InputSpec inputSpec, int maxDepth) Construct a new immutableProgram
instance.static ImmutableProgram
ImmutableProgram.of
(Set<OperationFactory> functions, Set<OperationFactory> terminal, InputSpec inputSpec, int maxDepth) Construct a new immutableProgram
instance.private static ImmutableProgram
ImmutableProgram.validate
(ImmutableProgram instance) final ImmutableProgram
ImmutableProgram.withFunctions
(Iterable<? extends OperationFactory> elements) Copy the current immutable object with elements that replace the content offunctions
.final ImmutableProgram
ImmutableProgram.withFunctions
(OperationFactory... elements) Copy the current immutable object with elements that replace the content offunctions
.final ImmutableProgram
ImmutableProgram.withInputSpec
(InputSpec value) Copy the current immutable object by setting a value for theinputSpec
attribute.final ImmutableProgram
ImmutableProgram.withMaxDepth
(int value) Copy the current immutable object by setting a value for themaxDepth
attribute.final ImmutableProgram
ImmutableProgram.withTerminal
(Iterable<? extends OperationFactory> elements) Copy the current immutable object with elements that replace the content ofterminal
.final ImmutableProgram
ImmutableProgram.withTerminal
(OperationFactory... elements) Copy the current immutable object with elements that replace the content ofterminal
.Methods in net.bmahe.genetics4j.gp.program with parameters of type ImmutableProgramModifier and TypeMethodDescriptionprivate boolean
ImmutableProgram.equalTo
(int synthetic, ImmutableProgram another) private static ImmutableProgram
ImmutableProgram.validate
(ImmutableProgram instance) Constructors in net.bmahe.genetics4j.gp.program with parameters of type ImmutableProgramModifierConstructorDescriptionprivate
ImmutableProgram
(ImmutableProgram original, Set<OperationFactory> functions, Set<OperationFactory> terminal, InputSpec inputSpec, int maxDepth)