public FoundNode [ ] filterInstanceToLeaves ( Instance inst , SplitNode parent , int parentBranch , boolean updateSplitterCounts ) { List < FoundNode > nodes = new LinkedList < FoundNode > ( ) ; ( ( NewNode ) this . treeRoot ) . filterInstanceToLeaves ( inst , parent , parentBranch , nodes , updateSplitterCounts ) ; return nodes . toArray ( new FoundNode [ nodes . size ( ) ] ) ; }
New for options vote