Uses of Class
gametree.DepthFirstNode
Packages that use DepthFirstNode
Package
Description
Various classes for storing and generating game trees for the use by algorithms and tree visualisation.
-
Uses of DepthFirstNode in gametree
Subclasses of DepthFirstNode in gametreeModifier and TypeClassDescription(package private) static classDepthFirstNode.RootDFNode<P extends IGamePosition<P>>An optional variant of the DepthFirstNode which stores the nodes at depth 1 in memory.Subclasses with type arguments of type DepthFirstNode in gametreeModifier and TypeClassDescriptionclassDepthFirstNode<P extends IGamePosition<P>>GameTreeNode implementation that does not store children nodes, but does store the depth of bounds and the bounds themselves.Fields in gametree with type parameters of type DepthFirstNodeModifier and TypeFieldDescription(package private) ArrayList<DepthFirstNode<P>> DepthFirstNode.RootDFNode.childrenThe children stored in this root node.Methods in gametree that return DepthFirstNodeModifier and TypeMethodDescriptionstatic <P extends IGamePosition<P>>
DepthFirstNode<P> DepthFirstNode.getTree(P root, boolean saveRootChildren, MetricKeeper... metrics) Get a new depth-first game tree based on the provided game position and thesaveRootChildrenparameter.Methods in gametree that return types with arguments of type DepthFirstNodeModifier and TypeMethodDescriptionprotected List<DepthFirstNode<P>> DepthFirstNode._children(MetricKeeper... metrics) DepthFirstNode.RootDFNode._children(MetricKeeper... metrics) This implementation stores the children of the root node only, only the root node will be of the typeDepthFirstNode.RootDFNode, whereas all children will be of the typeDepthFirstNodewhich does not store children in memory.DepthFirstNode.RootDFNode.savedChildren()Returns the children fromDepthFirstNode.RootDFNode._children(MetricKeeper...)if they are present, and anOptional.empty()otherwise.DepthFirstNode.savedChildren()Always returns anOptional.empty()object, because this class never saves children nodes.Method parameters in gametree with type arguments of type DepthFirstNodeModifier and TypeMethodDescriptionprotected booleanDepthFirstNode._adjustBounds(List<DepthFirstNode<P>> children, MetricKeeper... metrics) Constructors in gametree with parameters of type DepthFirstNodeModifierConstructorDescriptionprotectedDepthFirstNode(DepthFirstNode<P> parent, P position, MetricKeeper... metrics)