% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/centrality.R
\name{centrality_current_flow_betweenness}
\alias{centrality_current_flow_betweenness}
\title{Current Flow Betweenness Centrality}
\usage{
centrality_current_flow_betweenness(x, ...)
}
\arguments{
\item{x}{Network input (matrix, igraph, network, cograph_network, tna object).}

\item{...}{Additional arguments passed to \code{\link{centrality}} (e.g.,
\code{weighted}, \code{directed}).}
}
\value{
Named numeric vector of current flow betweenness values.
}
\description{
Betweenness based on electrical current flow rather than shortest paths.
Uses the Laplacian pseudoinverse. Requires a connected graph.
}
\examples{
adj <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), 3, 3)
rownames(adj) <- colnames(adj) <- c("A", "B", "C")
centrality_current_flow_betweenness(adj)
}
\seealso{
\code{\link{centrality}} for computing multiple measures at once,
\code{\link{centrality_betweenness}} for the shortest-path variant.
}
