Uses of Class
net.bmahe.genetics4j.gp.program.ImmutableProgram
-
Uses of ImmutableProgram in net.bmahe.genetics4j.gp.program
Modifier 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
.Modifier and TypeMethodDescriptionprivate boolean
ImmutableProgram.equalTo
(int synthetic, ImmutableProgram another) private static ImmutableProgram
ImmutableProgram.validate
(ImmutableProgram instance) ModifierConstructorDescriptionprivate
ImmutableProgram
(ImmutableProgram original, Set<OperationFactory> functions, Set<OperationFactory> terminal, InputSpec inputSpec, int maxDepth)