% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trace_elimination.R
\name{instantiate_from_trace}
\alias{instantiate_from_trace}
\title{Instantiate a concrete graph from a trace}
\usage{
instantiate_from_trace(trace, theta)
}
\arguments{
\item{trace}{Trace object from record_elimination_trace()}

\item{theta}{Numeric vector of parameter values}
}
\value{
Graph object with concrete edge weights
}
\description{
Creates a concrete (non-parameterized) Graph object from a trace
evaluated at specific parameter values.
}
\details{
This is useful when you want to compute PDF/PMF or other operations
on a graph with specific parameter values.
}
\examples{
\dontrun{
trace <- record_elimination_trace(graph, param_length = 1)
concrete_graph <- instantiate_from_trace(trace, theta = c(2.0))
pdf_values <- concrete_graph$pdf(c(1.0, 2.0, 3.0))
}

}
