% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simplicial.R
\name{verify_simplicial}
\alias{verify_simplicial}
\title{Verify Simplicial Complex Against igraph}
\usage{
verify_simplicial(mat, threshold = 0)
}
\arguments{
\item{mat}{A square adjacency matrix.}

\item{threshold}{Edge weight threshold.}
}
\value{
A list with \code{$cliques_match} (logical),
\code{$n_simplices_ours}, \code{$n_simplices_igraph},
\code{$betti}, and \code{$euler}.
}
\description{
Cross-validates clique finding and Betti numbers against igraph
and known topological invariants. Useful for testing.
}
\examples{
\dontshow{if (requireNamespace("igraph", quietly = TRUE)) withAutoprint(\{ # examplesIf}
mat <- matrix(c(0,.6,.5,.6,0,.4,.5,.4,0), 3, 3)
colnames(mat) <- rownames(mat) <- c("A","B","C")
verify_simplicial(mat, threshold = 0.3)
\dontshow{\}) # examplesIf}
}
