Uses of Class
net.bmahe.genetics4j.gp.Operation
Package
Description
-
Uses of Operation in net.bmahe.genetics4j.gp
Modifier and TypeMethodDescriptionstatic <T> ImmutableOperation
<T> Creates an immutable copy of aOperation
value.final ImmutableOperation.Builder
<T> Fill a builder with attribute values from the providedOperation
instance.Modifier and TypeMethodDescriptionstatic OperationFactory
OperationFactories.of
(Class[] acceptedTypes, Class returnedType, Function<InputSpec, Operation> operationBuilder) static OperationFactory
OperationFactories.ofOperationSupplier
(Class[] acceptedTypes, Class returnedType, Supplier<Operation> buildSupplier) -
Uses of Operation in net.bmahe.genetics4j.gp.chromosomes.factory
Modifier and TypeMethodDescriptionProgramTreeChromosomeFactory.generate
(ChromosomeSpec chromosomeSpec) -
Uses of Operation in net.bmahe.genetics4j.gp.combination
Modifier and TypeMethodDescriptionProgramChromosomeCombinator.copyAndReplace
(TreeNode<Operation<?>> root, TreeNode<Operation<?>> replaced, TreeNode<Operation<?>> replacement) ProgramChromosomeCombinator.mix
(TreeNode<Operation<?>> rootA, TreeNode<Operation<?>> rootB, Set<Class> acceptableClasses, Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNodeA, Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNodeB) ProgramChromosomeCombinator.returnedTypeToNode
(TreeNode<Operation<?>> root) Modifier and TypeMethodDescriptionProgramChromosomeCombinator.copyAndReplace
(TreeNode<Operation<?>> root, TreeNode<Operation<?>> replaced, TreeNode<Operation<?>> replacement) ProgramChromosomeCombinator.mix
(TreeNode<Operation<?>> rootA, TreeNode<Operation<?>> rootB, Set<Class> acceptableClasses, Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNodeA, Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNodeB) ProgramChromosomeCombinator.mix
(TreeNode<Operation<?>> rootA, TreeNode<Operation<?>> rootB, Set<Class> acceptableClasses, Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNodeA, Map<Class, List<TreeNode<Operation<?>>>> returnedTypeToNodeB) ProgramChromosomeCombinator.returnedTypeToNode
(TreeNode<Operation<?>> root) -
Uses of Operation in net.bmahe.genetics4j.gp.math
Modifier and TypeClassDescriptionclass
final class
Immutable implementation ofCoefficientOperation
.final class
Immutable implementation ofInputOperation
.class
Modifier and TypeMethodDescriptionFill a builder with attribute values from the providednet.bmahe.genetics4j.gp.Operation
instance.final ImmutableInputOperation.Builder
<T> Fill a builder with attribute values from the providednet.bmahe.genetics4j.gp.Operation
instance.Modifier and TypeMethodDescriptionprotected static <T> T
SimplificationRules.getChildAs
(TreeNode<Operation<?>> node, int childIndex, Class<T> clazz) protected static boolean
SimplificationRules.hasChildOperation
(TreeNode<Operation<?>> node, int childIndex, String name) protected static boolean
SimplificationRules.isOperation
(TreeNode<Operation<?>> node, String name) -
Uses of Operation in net.bmahe.genetics4j.gp.mutation
Modifier and TypeMethodDescriptionProgramRulesApplicatorMutator.duplicateAndApplyRule
(Program program, TreeNode<Operation<?>> root) ProgramRandomPruneMutator.duplicateAndCut
(Program program, TreeNode<Operation<?>> root, int cutPoint, int nodeIndex) ProgramRandomMutateMutator.duplicateAndMutate
(Program program, TreeNode<Operation<?>> root, int cutPoint, int nodeIndex, int currentDepth) TrimTreeMutator.duplicateAndMutate
(Program program, TreeNode<Operation<?>> root, int maxDepth, int currentDepth) NodeReplacementMutator.duplicateAndReplaceNode
(Program program, TreeNode<Operation<?>> root, int cutPoint, int nodeIndex) NodeReplacementMutator.duplicateNode
(Program program, TreeNode<Operation<?>> root, int cutPoint, int nodeIndex) Modifier and TypeMethodDescriptionProgramRulesApplicatorMutator.duplicateAndApplyRule
(Program program, TreeNode<Operation<?>> root) ProgramRandomPruneMutator.duplicateAndCut
(Program program, TreeNode<Operation<?>> root, int cutPoint, int nodeIndex) ProgramRandomMutateMutator.duplicateAndMutate
(Program program, TreeNode<Operation<?>> root, int cutPoint, int nodeIndex, int currentDepth) TrimTreeMutator.duplicateAndMutate
(Program program, TreeNode<Operation<?>> root, int maxDepth, int currentDepth) NodeReplacementMutator.duplicateAndReplaceNode
(Program program, TreeNode<Operation<?>> root, int cutPoint, int nodeIndex) NodeReplacementMutator.duplicateNode
(Program program, TreeNode<Operation<?>> root, int cutPoint, int nodeIndex) protected List
<OperationFactory> NodeReplacementMutator.findReplacementCandidates
(Program program, TreeNode<Operation<?>> root) -
Uses of Operation in net.bmahe.genetics4j.gp.program
Modifier and TypeMethodDescription -
Uses of Operation in net.bmahe.genetics4j.gp.spec.mutation
Modifier and TypeFieldDescriptionImmutableRule.applicator
ImmutableRule.applicator
ImmutableRule.Builder.applicator
ImmutableRule.Builder.applicator
ImmutableRule.Builder.predicate
ImmutableRule.predicate
Modifier and TypeMethodDescriptionImmutableRule.applicator()
ImmutableRule.applicator()
Rule.applicator()
Rule.applicator()
ImmutableRule.predicate()
Rule.predicate()
Modifier and TypeMethodDescriptionfinal ImmutableRule.Builder
ImmutableRule.Builder.applicator
(BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) Initializes the value for theapplicator
attribute.final ImmutableRule.Builder
ImmutableRule.Builder.applicator
(BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) Initializes the value for theapplicator
attribute.static ImmutableRule
ImmutableRule.of
(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) Construct a new immutableRule
instance.static ImmutableRule
ImmutableRule.of
(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) Construct a new immutableRule
instance.static ImmutableRule
ImmutableRule.of
(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) Construct a new immutableRule
instance.final ImmutableRule.Builder
Initializes the value for thepredicate
attribute.default boolean
final ImmutableRule
ImmutableRule.withApplicator
(BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> value) Copy the current immutable object by setting a value for theapplicator
attribute.final ImmutableRule
ImmutableRule.withApplicator
(BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> value) Copy the current immutable object by setting a value for theapplicator
attribute.final ImmutableRule
ImmutableRule.withPredicate
(Predicate<TreeNode<Operation<?>>> value) Copy the current immutable object by setting a value for thepredicate
attribute.ModifierConstructorDescriptionprivate
ImmutableRule
(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) private
ImmutableRule
(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) private
ImmutableRule
(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) private
ImmutableRule
(ImmutableRule original, Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) private
ImmutableRule
(ImmutableRule original, Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) private
ImmutableRule
(ImmutableRule original, Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) -
Uses of Operation in net.bmahe.genetics4j.gp.utils
Modifier and TypeFieldDescriptionstatic Comparator
<TreeNode<Operation<?>>> TreeNodeUtils.TREE_NODE_OPERATION_COMPARATOR
Modifier and TypeMethodDescriptionstatic <T> int
Simple strict comparison.static Object
ProgramUtils.execute
(TreeChromosome<Operation<?>> treeChromosome, Object[] input) static Object
static String
TreeNodeUtils.toStringTreeNode
(TreeNode<Operation<?>> node)