% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{rspr_dist}
\alias{rspr_dist}
\title{Rooted SPR distance (C++ core)}
\usage{
rspr_dist(tree1, tree2, approx, exact)
}
\arguments{
\item{tree1, tree2}{Character vectors of Newick-format rooted binary trees.
Must be the same length.}

\item{approx}{Logical scalar: compute the linear-time 3-approximation?}

\item{exact}{Logical scalar: compute the exact branch-and-bound distance?}
}
\value{
A named list with elements \code{exact} (integer), \code{approx}
(integer), \code{maf_1} and \code{maf_2} (character).  Elements not
requested are filled with \code{NA} or empty strings.
}
\description{
Low-level Rcpp interface to the rspr library.  Prefer the R wrapper
\code{RSPRDist()} for normal use.
}
\keyword{internal}
