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) Returns the child node at the specified index.TreeChromosome.getRoot()Returns the root node of this tree chromosome.static <U> TreeNode<U> TreeNode.of(U data, Collection<TreeNode<U>> children) Creates a new tree node with the specified data and children.Methods in net.bmahe.genetics4j.core.chromosomes that return types with arguments of type TreeNodeModifier and TypeMethodDescriptionTreeNode.getChildren()Returns the list of direct children of this node.Methods in net.bmahe.genetics4j.core.chromosomes with parameters of type TreeNodeModifier and TypeMethodDescriptionvoidAdds a new child node to this node.voidReplaces the child node at the specified index with a new node.Method parameters in net.bmahe.genetics4j.core.chromosomes with type arguments of type TreeNodeModifier and TypeMethodDescriptionvoidTreeNode.addChildren(Collection<TreeNode<T>> childrenNodes) Adds multiple child nodes to this node.static <U> TreeNode<U> TreeNode.of(U data, Collection<TreeNode<U>> children) Creates a new tree node with the specified data and children.Constructors in net.bmahe.genetics4j.core.chromosomes with parameters of type TreeNodeModifierConstructorDescriptionTreeChromosome(TreeNode<T> _root) Creates a new tree chromosome with the specified root node. -
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> 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 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.applicatorImmutableRule.applicatorImmutableRule.Builder.applicatorImmutableRule.Builder.applicatorImmutableRule.Builder.predicateImmutableRule.predicateMethods 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 booleanMethod parameters in net.bmahe.genetics4j.gp.spec.mutation with type arguments of type TreeNodeModifier 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.final 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 TreeNodeModifierConstructorDescriptionprivateImmutableRule(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 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_COMPARATORMethods in net.bmahe.genetics4j.gp.utils with parameters of type TreeNodeModifier and TypeMethodDescriptionstatic <T> booleanstatic <T> intSimple strict comparison.static Objectstatic StringTreeNodeUtils.toStringTreeNode(TreeNode<Operation<?>> node)