Uses of Class
net.bmahe.genetics4j.gp.Operation
Packages that use Operation
Package
Description
-
Uses of Operation in net.bmahe.genetics4j.gp
Subclasses of Operation in net.bmahe.genetics4j.gpMethods in net.bmahe.genetics4j.gp that return OperationModifier and TypeMethodDescriptionImmutableOperation.Builder.build()Builds a newOperation.Creates a new operation instance using the provided input specification.static <T> Operation<T> Creates an immutable copy of aOperationvalue.static <T> Operation<T> ImmutableOperation.of(String name, Iterable<? extends Class> acceptedTypes, Class returnedType, BiFunction<T[], Object[], Object> compute) Construct a new immutableOperationinstance.static <T> Operation<T> ImmutableOperation.of(String name, List<Class> acceptedTypes, Class returnedType, BiFunction<T[], Object[], Object> compute) Construct a new immutableOperationinstance.Methods in net.bmahe.genetics4j.gp with parameters of type OperationModifier and TypeMethodDescriptionstatic <T> Operation<T> Creates an immutable copy of aOperationvalue.final ImmutableOperation.Builder<T> Fill a builder with attribute values from the providedOperationinstance.Method parameters in net.bmahe.genetics4j.gp with type arguments of type OperationModifier and TypeMethodDescriptionstatic OperationFactoryOperationFactories.of(Class[] acceptedTypes, Class returnedType, Function<InputSpec, Operation> operationBuilder) static OperationFactoryOperationFactories.ofOperationSupplier(Class[] acceptedTypes, Class returnedType, Supplier<Operation> buildSupplier) -
Uses of Operation in net.bmahe.genetics4j.gp.chromosomes.factory
Methods in net.bmahe.genetics4j.gp.chromosomes.factory that return types with arguments of type OperationModifier and TypeMethodDescriptionProgramTreeChromosomeFactory.generate(ChromosomeSpec chromosomeSpec) -
Uses of Operation in net.bmahe.genetics4j.gp.combination
Methods in net.bmahe.genetics4j.gp.combination that return types with arguments of type OperationModifier 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) Method parameters in net.bmahe.genetics4j.gp.combination with type arguments of type OperationModifier 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
Subclasses of Operation in net.bmahe.genetics4j.gp.mathModifier and TypeClassDescriptionclassfinal classImmutable implementation ofCoefficientOperation.final classImmutable implementation ofInputOperation.classMethods in net.bmahe.genetics4j.gp.math with parameters of type OperationModifier and TypeMethodDescriptionFill a builder with attribute values from the providednet.bmahe.genetics4j.gp.Operationinstance.final ImmutableInputOperation.Builder<T> Fill a builder with attribute values from the providednet.bmahe.genetics4j.gp.Operationinstance.Method parameters in net.bmahe.genetics4j.gp.math with type arguments of type OperationModifier and TypeMethodDescriptionprotected static <T> TSimplificationRules.getChildAs(TreeNode<Operation<?>> node, int childIndex, Class<T> clazz) protected static booleanSimplificationRules.hasChildOperation(TreeNode<Operation<?>> node, int childIndex, String name) protected static booleanSimplificationRules.isOperation(TreeNode<Operation<?>> node, String name) -
Uses of Operation in net.bmahe.genetics4j.gp.mutation
Methods in net.bmahe.genetics4j.gp.mutation that return types with arguments of type OperationModifier 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) Method parameters in net.bmahe.genetics4j.gp.mutation with type arguments of type OperationModifier 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
Methods in net.bmahe.genetics4j.gp.program that return types with arguments of type OperationModifier and TypeMethodDescription -
Uses of Operation in net.bmahe.genetics4j.gp.spec.mutation
Fields in net.bmahe.genetics4j.gp.spec.mutation with type parameters of type OperationModifier and TypeFieldDescriptionImmutableRule.applicatorImmutableRule.applicatorImmutableRule.Builder.applicatorImmutableRule.Builder.applicatorImmutableRule.Builder.predicateImmutableRule.predicateMethods in net.bmahe.genetics4j.gp.spec.mutation that return types with arguments of type OperationModifier and TypeMethodDescriptionImmutableRule.applicator()ImmutableRule.applicator()Rule.applicator()Rule.applicator()ImmutableRule.predicate()Rule.predicate()Method parameters in net.bmahe.genetics4j.gp.spec.mutation with type arguments of type OperationModifier and TypeMethodDescriptionfinal ImmutableRule.BuilderImmutableRule.Builder.applicator(BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) Initializes the value for theapplicatorattribute.final ImmutableRule.BuilderImmutableRule.Builder.applicator(BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) Initializes the value for theapplicatorattribute.static RuleImmutableRule.of(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) Construct a new immutableRuleinstance.static RuleImmutableRule.of(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) Construct a new immutableRuleinstance.static RuleImmutableRule.of(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) Construct a new immutableRuleinstance.final ImmutableRule.BuilderInitializes the value for thepredicateattribute.default booleanfinal ImmutableRuleImmutableRule.withApplicator(BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> value) Copy the current immutable object by setting a value for theapplicatorattribute.final ImmutableRuleImmutableRule.withApplicator(BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> value) Copy the current immutable object by setting a value for theapplicatorattribute.final ImmutableRuleImmutableRule.withPredicate(Predicate<TreeNode<Operation<?>>> value) Copy the current immutable object by setting a value for thepredicateattribute.Constructor parameters in net.bmahe.genetics4j.gp.spec.mutation with type arguments of type OperationModifierConstructorDescriptionprivateImmutableRule(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) privateImmutableRule(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) privateImmutableRule(Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) privateImmutableRule(ImmutableRule original, Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) privateImmutableRule(ImmutableRule original, Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) privateImmutableRule(ImmutableRule original, Predicate<TreeNode<Operation<?>>> predicate, BiFunction<Program, TreeNode<Operation<?>>, TreeNode<Operation<?>>> applicator) -
Uses of Operation in net.bmahe.genetics4j.gp.utils
Fields in net.bmahe.genetics4j.gp.utils with type parameters of type OperationModifier and TypeFieldDescriptionstatic Comparator<TreeNode<Operation<?>>> TreeNodeUtils.TREE_NODE_OPERATION_COMPARATORMethod parameters in net.bmahe.genetics4j.gp.utils with type arguments of type OperationModifier and TypeMethodDescriptionstatic <T> intSimple strict comparison.static ObjectProgramUtils.execute(TreeChromosome<Operation<?>> treeChromosome, Object[] input) static Objectstatic StringTreeNodeUtils.toStringTreeNode(TreeNode<Operation<?>> node)