\section{lib/dotgen/rank.c File Reference}
\label{rank_8c}\index{lib/dotgen/rank.\-c@{lib/dotgen/rank.\-c}}
{\ttfamily \#include \char`\"{}dot.\-h\char`\"{}}\\*
Include dependency graph for rank.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{rank_8c__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf B\-A\-C\-K\-W\-A\-R\-D\-\_\-\-P\-E\-N\-A\-L\-T\-Y}~1000
\item 
\#define {\bf S\-T\-R\-O\-N\-G\-\_\-\-C\-L\-U\-S\-T\-E\-R\-\_\-\-W\-E\-I\-G\-H\-T}~1000
\item 
\#define {\bf N\-O\-R\-A\-N\-K}~6
\item 
\#define {\bf R\-O\-O\-T}~\char`\"{}\textbackslash{}177root\char`\"{}
\item 
\#define {\bf T\-O\-P\-N\-O\-D\-E}~\char`\"{}\textbackslash{}177top\char`\"{}
\item 
\#define {\bf B\-O\-T\-N\-O\-D\-E}~\char`\"{}\textbackslash{}177bot\char`\"{}
\item 
\#define {\bf N\-D\-\_\-comp}(n)~{\bf N\-D\-\_\-hops}(n)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf dot\-\_\-scan\-\_\-ranks} ({\bf graph\-\_\-t} $\ast$g)
\item 
void {\bf rank1} ({\bf graph\-\_\-t} $\ast$g)
\item 
void {\bf dot\-\_\-rank} ({\bf graph\-\_\-t} $\ast$g, {\bf aspect\-\_\-t} $\ast$asp)
\item 
{\bf int} {\bf is\-\_\-cluster} ({\bf graph\-\_\-t} $\ast$g)
\item 
{\bf int} {\bf rank2} ({\bf Agraph\-\_\-t} $\ast$, {\bf int}, {\bf int}, {\bf int})
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
{\bf int} {\bf infosizes} [$\,$]
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{rank.\-c@{rank.\-c}!B\-A\-C\-K\-W\-A\-R\-D\-\_\-\-P\-E\-N\-A\-L\-T\-Y@{B\-A\-C\-K\-W\-A\-R\-D\-\_\-\-P\-E\-N\-A\-L\-T\-Y}}
\index{B\-A\-C\-K\-W\-A\-R\-D\-\_\-\-P\-E\-N\-A\-L\-T\-Y@{B\-A\-C\-K\-W\-A\-R\-D\-\_\-\-P\-E\-N\-A\-L\-T\-Y}!rank.c@{rank.\-c}}
\subsubsection[{B\-A\-C\-K\-W\-A\-R\-D\-\_\-\-P\-E\-N\-A\-L\-T\-Y}]{\setlength{\rightskip}{0pt plus 5cm}\#define B\-A\-C\-K\-W\-A\-R\-D\-\_\-\-P\-E\-N\-A\-L\-T\-Y~1000}\label{rank_8c_a5d3a095711d9d7b0b956fcddcab0ba1e}


Definition at line 657 of file rank.\-c.

\index{rank.\-c@{rank.\-c}!B\-O\-T\-N\-O\-D\-E@{B\-O\-T\-N\-O\-D\-E}}
\index{B\-O\-T\-N\-O\-D\-E@{B\-O\-T\-N\-O\-D\-E}!rank.c@{rank.\-c}}
\subsubsection[{B\-O\-T\-N\-O\-D\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define B\-O\-T\-N\-O\-D\-E~\char`\"{}\textbackslash{}177bot\char`\"{}}\label{rank_8c_a00019206b1bd8ccd315ad14aa51a974d}


Definition at line 662 of file rank.\-c.

\index{rank.\-c@{rank.\-c}!N\-D\-\_\-comp@{N\-D\-\_\-comp}}
\index{N\-D\-\_\-comp@{N\-D\-\_\-comp}!rank.c@{rank.\-c}}
\subsubsection[{N\-D\-\_\-comp}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\-D\-\_\-comp(
\begin{DoxyParamCaption}
\item[{}]{n}
\end{DoxyParamCaption}
)~{\bf N\-D\-\_\-hops}(n)}\label{rank_8c_a25354a5618023e823d1beb78ec4ccf0d}


Definition at line 667 of file rank.\-c.

\index{rank.\-c@{rank.\-c}!N\-O\-R\-A\-N\-K@{N\-O\-R\-A\-N\-K}}
\index{N\-O\-R\-A\-N\-K@{N\-O\-R\-A\-N\-K}!rank.c@{rank.\-c}}
\subsubsection[{N\-O\-R\-A\-N\-K}]{\setlength{\rightskip}{0pt plus 5cm}\#define N\-O\-R\-A\-N\-K~6}\label{rank_8c_ac3434646558aeaaa72396f3313c015ca}


Definition at line 659 of file rank.\-c.

\index{rank.\-c@{rank.\-c}!R\-O\-O\-T@{R\-O\-O\-T}}
\index{R\-O\-O\-T@{R\-O\-O\-T}!rank.c@{rank.\-c}}
\subsubsection[{R\-O\-O\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define R\-O\-O\-T~\char`\"{}\textbackslash{}177root\char`\"{}}\label{rank_8c_a77988da40e9a35da51ea0e8943ebbd4a}


Definition at line 660 of file rank.\-c.

\index{rank.\-c@{rank.\-c}!S\-T\-R\-O\-N\-G\-\_\-\-C\-L\-U\-S\-T\-E\-R\-\_\-\-W\-E\-I\-G\-H\-T@{S\-T\-R\-O\-N\-G\-\_\-\-C\-L\-U\-S\-T\-E\-R\-\_\-\-W\-E\-I\-G\-H\-T}}
\index{S\-T\-R\-O\-N\-G\-\_\-\-C\-L\-U\-S\-T\-E\-R\-\_\-\-W\-E\-I\-G\-H\-T@{S\-T\-R\-O\-N\-G\-\_\-\-C\-L\-U\-S\-T\-E\-R\-\_\-\-W\-E\-I\-G\-H\-T}!rank.c@{rank.\-c}}
\subsubsection[{S\-T\-R\-O\-N\-G\-\_\-\-C\-L\-U\-S\-T\-E\-R\-\_\-\-W\-E\-I\-G\-H\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-T\-R\-O\-N\-G\-\_\-\-C\-L\-U\-S\-T\-E\-R\-\_\-\-W\-E\-I\-G\-H\-T~1000}\label{rank_8c_a2311588a3b3be7f07745948a83f52690}


Definition at line 658 of file rank.\-c.

\index{rank.\-c@{rank.\-c}!T\-O\-P\-N\-O\-D\-E@{T\-O\-P\-N\-O\-D\-E}}
\index{T\-O\-P\-N\-O\-D\-E@{T\-O\-P\-N\-O\-D\-E}!rank.c@{rank.\-c}}
\subsubsection[{T\-O\-P\-N\-O\-D\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\-O\-P\-N\-O\-D\-E~\char`\"{}\textbackslash{}177top\char`\"{}}\label{rank_8c_a70ffb61f4460265c275af1233ff7a085}


Definition at line 661 of file rank.\-c.



\subsection{Function Documentation}
\index{rank.\-c@{rank.\-c}!dot\-\_\-rank@{dot\-\_\-rank}}
\index{dot\-\_\-rank@{dot\-\_\-rank}!rank.c@{rank.\-c}}
\subsubsection[{dot\-\_\-rank}]{\setlength{\rightskip}{0pt plus 5cm}void dot\-\_\-rank (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{g, }
\item[{{\bf aspect\-\_\-t} $\ast$}]{asp}
\end{DoxyParamCaption}
)}\label{rank_8c_ae7ed082c9e19d192b0cb3396d9a39f61}


Definition at line 573 of file rank.\-c.



References agget(), G\-D\-\_\-flags, G\-D\-\_\-maxrank, G\-D\-\_\-minrank, N\-E\-W\-\_\-\-R\-A\-N\-K, and Verbose.

\index{rank.\-c@{rank.\-c}!dot\-\_\-scan\-\_\-ranks@{dot\-\_\-scan\-\_\-ranks}}
\index{dot\-\_\-scan\-\_\-ranks@{dot\-\_\-scan\-\_\-ranks}!rank.c@{rank.\-c}}
\subsubsection[{dot\-\_\-scan\-\_\-ranks}]{\setlength{\rightskip}{0pt plus 5cm}void dot\-\_\-scan\-\_\-ranks (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{rank_8c_a2363e8d3827a5c7196f09dc301b473be}


Definition at line 204 of file rank.\-c.



References agfstnode(), agnxtnode(), G\-D\-\_\-leader, G\-D\-\_\-maxrank, G\-D\-\_\-minrank, M\-A\-X\-S\-H\-O\-R\-T, N\-D\-\_\-rank, and N\-U\-L\-L.

\index{rank.\-c@{rank.\-c}!is\-\_\-cluster@{is\-\_\-cluster}}
\index{is\-\_\-cluster@{is\-\_\-cluster}!rank.c@{rank.\-c}}
\subsubsection[{is\-\_\-cluster}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} is\-\_\-cluster (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{rank_8c_ad0f0f06aadfa52b59019ca3ef0772b37}


Definition at line 585 of file rank.\-c.



References agnameof().

\index{rank.\-c@{rank.\-c}!rank1@{rank1}}
\index{rank1@{rank1}!rank.c@{rank.\-c}}
\subsubsection[{rank1}]{\setlength{\rightskip}{0pt plus 5cm}void rank1 (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{g}
\end{DoxyParamCaption}
)}\label{rank_8c_a47f3f33117dd118a43f2d8f7f0b0322e}


Definition at line 386 of file rank.\-c.



References agget(), agnnodes(), G\-D\-\_\-comp, G\-D\-\_\-n\-\_\-cluster, G\-D\-\_\-nlist, I\-N\-T\-\_\-\-M\-A\-X, and rank().



Referenced by rank3().

\index{rank.\-c@{rank.\-c}!rank2@{rank2}}
\index{rank2@{rank2}!rank.c@{rank.\-c}}
\subsubsection[{rank2}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} rank2 (
\begin{DoxyParamCaption}
\item[{{\bf Agraph\-\_\-t} $\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{}
\end{DoxyParamCaption}
)}\label{rank_8c_a2fe29b5af444014ad554abc65a1e2110}


Definition at line 794 of file ns.\-c.



References elapsed\-\_\-sec(), S\-E\-A\-R\-C\-H\-S\-I\-Z\-E, start\-\_\-timer(), and Verbose.



Referenced by rank().



\subsection{Variable Documentation}
\index{rank.\-c@{rank.\-c}!infosizes@{infosizes}}
\index{infosizes@{infosizes}!rank.c@{rank.\-c}}
\subsubsection[{infosizes}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} infosizes[$\,$]}\label{rank_8c_a7e534c739c3617fc4c89825837b6de49}
{\bfseries Initial value\-:}
\begin{DoxyCode}
= \{
    \textcolor{keyword}{sizeof}(Agraphinfo_t), 
    \textcolor{keyword}{sizeof}(Agnodeinfo_t),

\}
\end{DoxyCode}


Definition at line 1189 of file rank.\-c.

