Uses of Class
net.bmahe.genetics4j.core.chromosomes.TreeNode
Packages that use TreeNode
Package
Description
-
Uses of TreeNode in net.bmahe.genetics4j.core.chromosomes
Fields in net.bmahe.genetics4j.core.chromosomes declared as TreeNodeFields in net.bmahe.genetics4j.core.chromosomes with type parameters of type TreeNodeMethods in net.bmahe.genetics4j.core.chromosomes that return TreeNodeModifier and TypeMethodDescriptionTreeNode.getChild
(int childIndex) TreeChromosome.getRoot()
static <U> TreeNode
<U> TreeNode.of
(U data, Collection<TreeNode<U>> children) Methods in net.bmahe.genetics4j.core.chromosomes that return types with arguments of type TreeNodeMethods in net.bmahe.genetics4j.core.chromosomes with parameters of type TreeNodeModifier and TypeMethodDescriptionvoid
void
Method parameters in net.bmahe.genetics4j.core.chromosomes with type arguments of type TreeNodeModifier and TypeMethodDescriptionvoid
TreeNode.addChildren
(Collection<TreeNode<T>> childrenNodes) static <U> TreeNode
<U> TreeNode.of
(U data, Collection<TreeNode<U>> children) Constructors in net.bmahe.genetics4j.core.chromosomes with parameters of type TreeNode -
Uses of TreeNode in net.bmahe.genetics4j.gp.combination
Methods in net.bmahe.genetics4j.gp.combination that return TreeNodeModifier 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) Methods in net.bmahe.genetics4j.gp.combination that return types with arguments of type TreeNodeModifier and TypeMethodDescriptionProgramChromosomeCombinator.returnedTypeToNode
(TreeNode<Operation<?>> root) Methods in net.bmahe.genetics4j.gp.combination with parameters of type TreeNodeModifier 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 TreeNode -
Uses of TreeNode in net.bmahe.genetics4j.gp.math
Methods in net.bmahe.genetics4j.gp.math with parameters of type TreeNodeModifier 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 TreeNode in net.bmahe.genetics4j.gp.mutation
Methods in net.bmahe.genetics4j.gp.mutation that return TreeNodeModifier 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) Methods in net.bmahe.genetics4j.gp.mutation with parameters of type TreeNodeModifier 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 TreeNode in net.bmahe.genetics4j.gp.program
Methods in net.bmahe.genetics4j.gp.program that return TreeNodeModifier and TypeMethodDescription -
Uses of TreeNode in net.bmahe.genetics4j.gp.spec.mutation
Fields in net.bmahe.genetics4j.gp.spec.mutation with type parameters of type TreeNodeModifier and TypeFieldDescriptionImmutableRule.applicator
ImmutableRule.applicator
ImmutableRule.Builder.applicator
ImmutableRule.Builder.applicator
ImmutableRule.Builder.predicate
ImmutableRule.predicate
Methods in net.bmahe.genetics4j.gp.spec.mutation that return TreeNodeModifier and TypeMethodDescriptionMethods in net.bmahe.genetics4j.gp.spec.mutation that return types with arguments of type TreeNodeModifier and TypeMethodDescriptionImmutableRule.applicator()
ImmutableRule.applicator()
Rule.applicator()
Rule.applicator()
ImmutableRule.predicate()
Rule.predicate()
Methods in net.bmahe.genetics4j.gp.spec.mutation with parameters of type TreeNodeModifier and TypeMethodDescriptiondefault boolean
Method parameters in net.bmahe.genetics4j.gp.spec.mutation with type arguments of type TreeNodeModifier 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.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.Constructor parameters in net.bmahe.genetics4j.gp.spec.mutation with type arguments of type TreeNodeModifierConstructorDescriptionprivate
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 TreeNode in net.bmahe.genetics4j.gp.utils
Fields in net.bmahe.genetics4j.gp.utils with type parameters of type TreeNodeModifier and TypeFieldDescriptionstatic Comparator
<TreeNode<Operation<?>>> TreeNodeUtils.TREE_NODE_OPERATION_COMPARATOR
Methods in net.bmahe.genetics4j.gp.utils with parameters of type TreeNodeModifier and TypeMethodDescriptionstatic <T> boolean
static <T> int
Simple strict comparison.static Object
static String
TreeNodeUtils.toStringTreeNode
(TreeNode<Operation<?>> node)