Uses of Class
net.bmahe.genetics4j.core.chromosomes.TreeNode
Package
Description
-
Uses of TreeNode in net.bmahe.genetics4j.core.chromosomes
Modifier and TypeMethodDescriptionTreeNode.getChild
(int childIndex) TreeChromosome.getRoot()
static <U> TreeNode
<U> TreeNode.of
(U data, Collection<TreeNode<U>> children) Modifier and TypeMethodDescriptionvoid
void
Modifier and TypeMethodDescriptionvoid
TreeNode.addChildren
(Collection<TreeNode<T>> childrenNodes) static <U> TreeNode
<U> TreeNode.of
(U data, Collection<TreeNode<U>> children) -
Uses of TreeNode 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) Modifier and TypeMethodDescriptionProgramChromosomeCombinator.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.returnedTypeToNode
(TreeNode<Operation<?>> root) -
Uses of TreeNode in net.bmahe.genetics4j.gp.math
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 TreeNode 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 TreeNode in net.bmahe.genetics4j.gp.program
Modifier and TypeMethodDescription -
Uses of TreeNode 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 TypeMethodDescriptionModifier and TypeMethodDescriptionImmutableRule.applicator()
ImmutableRule.applicator()
Rule.applicator()
Rule.applicator()
ImmutableRule.predicate()
Rule.predicate()
Modifier and TypeMethodDescriptiondefault boolean
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.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 TreeNode in net.bmahe.genetics4j.gp.utils
Modifier and TypeFieldDescriptionstatic Comparator
<TreeNode<Operation<?>>> TreeNodeUtils.TREE_NODE_OPERATION_COMPARATOR
Modifier and TypeMethodDescriptionstatic <T> boolean
static <T> int
Simple strict comparison.static Object
static String
TreeNodeUtils.toStringTreeNode
(TreeNode<Operation<?>> node)