Documentation of 'org.encog.ml.tree.basic.BasicTreeNode' Java class
BasicTreeNode
org.encog.ml.tree.basic

Class BasicTreeNode

  • All Implemented Interfaces:
    java.io.Serializable, TreeNode
    Direct Known Subclasses:
    ProgramNode


    public class BasicTreeNode
    extends java.lang.Object
    implements TreeNode, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • BasicTreeNode

        public BasicTreeNode()
    • Method Detail

      • addChildNodes

        public void addChildNodes(TreeNode[] args)
        Description copied from interface: TreeNode
        Add child nodes.
        Specified by:
        addChildNodes in interface TreeNode
        Parameters:
        args - The child nodes to add.
      • allLeafChildren

        public boolean allLeafChildren()
        Specified by:
        allLeafChildren in interface TreeNode
        Returns:
        True, if all children are leaves.
      • isLeaf

        public boolean isLeaf()
        Specified by:
        isLeaf in interface TreeNode
        Returns:
        True, if this is a leaf.
      • size

        public int size()
        Specified by:
        size in interface TreeNode
        Returns:
        The number of nodes from this point. Do not call on cyclic tree.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.