% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ComplexUtils.R
\name{build_clique_complex}
\alias{build_clique_complex}
\title{Build the clique (flag) complex of a graph on a fixed vertex set}
\usage{
build_clique_complex(n, edges)
}
\arguments{
\item{n}{Number of vertices.}

\item{edges}{An integer matrix with two columns (or a length-\code{2k}
vector, igraph style), one row per edge, 1-based vertex indices.}
}
\value{
A list with \code{network} (an \code{igraph} object, the
  1-skeleton) and \code{simplices} (a list of integer vectors, the
  vertex sets of the maximal cliques, each sorted).
}
\description{
Shared by \code{\link{VietorisRipsComplex}}, \code{\link{CechComplex}} and
\code{\link{WitnessComplex}}: each of them reduces to "connect vertices
that are close enough (in whatever sense that complex uses), then take the
maximal cliques of that graph as the maximal simplices."
}
\keyword{internal}
