Documentation of 'org.encog.ml.tree.traverse.tasks.TaskCountNodes' Java class
TaskCountNodes
org.encog.ml.tree.traverse.tasks

Class TaskCountNodes

    • Constructor Detail

      • TaskCountNodes

        public TaskCountNodes()
        Construct the task.
    • Method Detail

      • task

        public boolean task(TreeNode node)
        Specified by:
        task in interface TreeTraversalTask
        Parameters:
        node - The node visiting.
        Returns:
        True, if traversal should continue.
      • getNodeCount

        public int getNodeCount()
        Returns:
        The current node count.
      • setNodeCount

        public void setNodeCount(int nodeCount)
        Set the current node count.
        Parameters:
        nodeCount - The node count.
      • process

        public static int process(TreeNode node)
        Count the nodes from this tree node.
        Parameters:
        node - The tree node.
        Returns:
        The node count.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.