\section{lib/sparse/clustering.h File Reference}
\label{clustering_8h}\index{lib/sparse/clustering.\-h@{lib/sparse/clustering.\-h}}
This graph shows which files directly or indirectly include this file\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=270pt]{clustering_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct {\bf Multilevel\-\_\-\-Modularity\-\_\-\-Clustering\-\_\-struct}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \\*
{\bf Multilevel\-\_\-\-Modularity\-\_\-\-Clustering\-\_\-struct} $\ast$ {\bf Multilevel\-\_\-\-Modularity\-\_\-\-Clustering}
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \{ {\bf C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-O\-D\-U\-L\-A\-R\-I\-T\-Y} = 0, 
{\bf C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-Q}
 \}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf modularity\-\_\-clustering} ({\bf Sparse\-Matrix} A, {\bf int} inplace, {\bf int} maxcluster, {\bf int} use\-\_\-value, {\bf int} $\ast$nclusters, {\bf int} $\ast$$\ast$assignment, {\bf real} $\ast$modularity, {\bf int} $\ast$flag)
\end{DoxyCompactItemize}


\subsection{Typedef Documentation}
\index{clustering.\-h@{clustering.\-h}!Multilevel\-\_\-\-Modularity\-\_\-\-Clustering@{Multilevel\-\_\-\-Modularity\-\_\-\-Clustering}}
\index{Multilevel\-\_\-\-Modularity\-\_\-\-Clustering@{Multilevel\-\_\-\-Modularity\-\_\-\-Clustering}!clustering.h@{clustering.\-h}}
\subsubsection[{Multilevel\-\_\-\-Modularity\-\_\-\-Clustering}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf Multilevel\-\_\-\-Modularity\-\_\-\-Clustering\-\_\-struct}$\ast$ {\bf Multilevel\-\_\-\-Modularity\-\_\-\-Clustering}}\label{clustering_8h_a581e0e811dd5aa740142f69f48c532bf}


Definition at line 17 of file clustering.\-h.



\subsection{Enumeration Type Documentation}
\subsubsection[{anonymous enum}]{\setlength{\rightskip}{0pt plus 5cm}anonymous enum}\label{clustering_8h_a394b3903fbf00ba2b6243f60689a5a5f}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-O\-D\-U\-L\-A\-R\-I\-T\-Y@{C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-O\-D\-U\-L\-A\-R\-I\-T\-Y}!clustering.\-h@{clustering.\-h}}\index{clustering.\-h@{clustering.\-h}!C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-O\-D\-U\-L\-A\-R\-I\-T\-Y@{C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-O\-D\-U\-L\-A\-R\-I\-T\-Y}}\item[{\em 
C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-O\-D\-U\-L\-A\-R\-I\-T\-Y\label{clustering_8h_a394b3903fbf00ba2b6243f60689a5a5fa101ed755bb123537435f398ccfa275b9}
}]\index{C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-Q@{C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-Q}!clustering.\-h@{clustering.\-h}}\index{clustering.\-h@{clustering.\-h}!C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-Q@{C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-Q}}\item[{\em 
C\-L\-U\-S\-T\-E\-R\-I\-N\-G\-\_\-\-M\-Q\label{clustering_8h_a394b3903fbf00ba2b6243f60689a5a5fabd6e094553e7cc660eca16248181c850}
}]\end{description}
\end{Desc}


Definition at line 39 of file clustering.\-h.



\subsection{Function Documentation}
\index{clustering.\-h@{clustering.\-h}!modularity\-\_\-clustering@{modularity\-\_\-clustering}}
\index{modularity\-\_\-clustering@{modularity\-\_\-clustering}!clustering.h@{clustering.\-h}}
\subsubsection[{modularity\-\_\-clustering}]{\setlength{\rightskip}{0pt plus 5cm}void modularity\-\_\-clustering (
\begin{DoxyParamCaption}
\item[{{\bf Sparse\-Matrix}}]{A, }
\item[{{\bf int}}]{inplace, }
\item[{{\bf int}}]{maxcluster, }
\item[{{\bf int}}]{use\-\_\-value, }
\item[{{\bf int} $\ast$}]{nclusters, }
\item[{{\bf int} $\ast$$\ast$}]{assignment, }
\item[{{\bf real} $\ast$}]{modularity, }
\item[{{\bf int} $\ast$}]{flag}
\end{DoxyParamCaption}
)}\label{clustering_8h_a87f1185ebf6659c8f93b472dcb8475bc}


Definition at line 350 of file clustering.\-c.



References assert, F\-A\-L\-S\-E, Sparse\-Matrix\-\_\-struct\-::m, M\-A\-T\-R\-I\-X\-\_\-\-T\-Y\-P\-E\-\_\-\-R\-E\-A\-L, Sparse\-Matrix\-\_\-struct\-::n, Sparse\-Matrix\-\_\-copy(), Sparse\-Matrix\-\_\-delete(), Sparse\-Matrix\-\_\-remove\-\_\-diagonal(), Sparse\-Matrix\-\_\-set\-\_\-entries\-\_\-to\-\_\-real\-\_\-one(), Sparse\-Matrix\-\_\-symmetrize(), and Sparse\-Matrix\-\_\-struct\-::type.



Referenced by attached\-\_\-clustering(), and Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot().

