% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classes.R
\name{simple_tree}
\alias{simple_tree}
\title{User-friendly constructor for simple_tree}
\usage{
simple_tree(
  children_left,
  children_right,
  feature,
  threshold,
  max_depth,
  n_node_samples,
  value,
  node_count
)
}
\arguments{
\item{children_left}{Integer vector of left child indices (-1 for leaf nodes)}

\item{children_right}{Integer vector of right child indices (-1 for leaf nodes)}

\item{feature}{Integer vector of feature indices used for splitting (-1 for leaf nodes)}

\item{threshold}{Numeric vector of threshold values for splits}

\item{max_depth}{Integer maximum depth of the tree}

\item{n_node_samples}{Integer vector of sample counts at each node}

\item{value}{Numeric vector of node values}

\item{node_count}{Integer total number of nodes in the tree}
}
\value{
A validated simple_tree object
}
\description{
User-friendly constructor for simple_tree
}
\keyword{internal}
