Learn R Programming

GeneralTree (version 0.0.1)

nextElemWorkerImpl: The implementation of the GeneralTree method nextElem.

Description

The implementation of the GeneralTree method nextElem.

Usage

nextElemWorkerImpl(self, private, set_discover = TRUE, include_root = TRUE)

Arguments

self
the GeneralTree
private
the private members of the GeneralTree.
set_discover
Whether the discover flag should be set when seeking a next element.
include_root
Should the root be included in the discovery?

Value

the next element in the tree that has the discover flag not set searched in a depth first search.