\section{lib/neatogen/stuff.c File Reference}
\label{stuff_8c}\index{lib/neatogen/stuff.\-c@{lib/neatogen/stuff.\-c}}
{\ttfamily \#include \char`\"{}config.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}neato.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}stress.\-h\char`\"{}}\\*
{\ttfamily \#include $<$time.\-h$>$}\\*
{\ttfamily \#include $<$unistd.\-h$>$}\\*
Include dependency graph for stuff.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{stuff_8c__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf Msub}(i, j)~M[(i)$\ast${\bf Ndim}+(j)]
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
double {\bf fpow32} (double x)
\item 
double {\bf distvec} (double $\ast$p0, double $\ast$p1, double $\ast$vec)
\item 
double $\ast$$\ast$ {\bf new\-\_\-array} ({\bf int} m, {\bf int} n, double ival)
\item 
void {\bf free\-\_\-array} (double $\ast$$\ast$rv)
\item 
{\bf int} {\bf scan\-\_\-graph\-\_\-mode} ({\bf graph\-\_\-t} $\ast$G, {\bf int} mode)
\item 
{\bf int} {\bf scan\-\_\-graph} ({\bf graph\-\_\-t} $\ast$g)
\item 
void {\bf free\-\_\-scan\-\_\-graph} ({\bf graph\-\_\-t} $\ast$g)
\item 
void {\bf jitter\-\_\-d} ({\bf node\-\_\-t} $\ast$np, {\bf int} n\-G, {\bf int} n)
\item 
void {\bf jitter3d} ({\bf node\-\_\-t} $\ast$np, {\bf int} n\-G)
\item 
void {\bf randompos} ({\bf node\-\_\-t} $\ast$np, {\bf int} n\-G)
\item 
void {\bf initial\-\_\-positions} ({\bf graph\-\_\-t} $\ast$G, {\bf int} n\-G)
\item 
void {\bf diffeq\-\_\-model} ({\bf graph\-\_\-t} $\ast$G, {\bf int} n\-G)
\item 
void {\bf solve\-\_\-model} ({\bf graph\-\_\-t} $\ast$G, {\bf int} n\-G)
\item 
void {\bf update\-\_\-arrays} ({\bf graph\-\_\-t} $\ast$G, {\bf int} n\-G, {\bf int} i)
\item 
void {\bf D2\-E} ({\bf graph\-\_\-t} $\ast$G, {\bf int} n\-G, {\bf int} n, double $\ast$M)
\item 
void {\bf final\-\_\-energy} ({\bf graph\-\_\-t} $\ast$G, {\bf int} n\-G)
\item 
{\bf node\-\_\-t} $\ast$ {\bf choose\-\_\-node} ({\bf graph\-\_\-t} $\ast$G, {\bf int} n\-G)
\item 
void {\bf move\-\_\-node} ({\bf graph\-\_\-t} $\ast$G, {\bf int} n\-G, {\bf node\-\_\-t} $\ast$n)
\item 
void {\bf heapup} ({\bf node\-\_\-t} $\ast$v)
\item 
void {\bf heapdown} ({\bf node\-\_\-t} $\ast$v)
\item 
void {\bf neato\-\_\-enqueue} ({\bf node\-\_\-t} $\ast$v)
\item 
{\bf node\-\_\-t} $\ast$ {\bf neato\-\_\-dequeue} (void)
\item 
void {\bf shortest\-\_\-path} ({\bf graph\-\_\-t} $\ast$G, {\bf int} n\-G)
\item 
void {\bf s1} ({\bf graph\-\_\-t} $\ast$G, {\bf node\-\_\-t} $\ast${\bf node})
\item 
void {\bf make\-\_\-spring} ({\bf graph\-\_\-t} $\ast$G, {\bf node\-\_\-t} $\ast$u, {\bf node\-\_\-t} $\ast$v, double f)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{stuff.\-c@{stuff.\-c}!Msub@{Msub}}
\index{Msub@{Msub}!stuff.c@{stuff.\-c}}
\subsubsection[{Msub}]{\setlength{\rightskip}{0pt plus 5cm}\#define Msub(
\begin{DoxyParamCaption}
\item[{}]{i, }
\item[{}]{j}
\end{DoxyParamCaption}
)~M[(i)$\ast${\bf Ndim}+(j)]}\label{stuff_8c_a5cea8c95ad0f3bedf6bb5ac01476c9dd}


Definition at line 472 of file stuff.\-c.



Referenced by D2\-E().



\subsection{Function Documentation}
\index{stuff.\-c@{stuff.\-c}!choose\-\_\-node@{choose\-\_\-node}}
\index{choose\-\_\-node@{choose\-\_\-node}!stuff.c@{stuff.\-c}}
\subsubsection[{choose\-\_\-node}]{\setlength{\rightskip}{0pt plus 5cm}{\bf node\-\_\-t}$\ast$ choose\-\_\-node (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{G, }
\item[{{\bf int}}]{n\-G}
\end{DoxyParamCaption}
)}\label{stuff_8c_a9d9e86acafe07f63e6d0042016aac52b}


Definition at line 513 of file stuff.\-c.



References G\-D\-\_\-move, G\-D\-\_\-neato\-\_\-nlist, G\-D\-\_\-sum\-\_\-t, max, M\-A\-X\-D\-O\-U\-B\-L\-E, Max\-Iter, N\-D\-\_\-pinned, Ndim, N\-U\-L\-L, P\-\_\-\-S\-E\-T, and Verbose.



Referenced by solve\-\_\-model().

\index{stuff.\-c@{stuff.\-c}!D2\-E@{D2\-E}}
\index{D2\-E@{D2\-E}!stuff.c@{stuff.\-c}}
\subsubsection[{D2\-E}]{\setlength{\rightskip}{0pt plus 5cm}void D2\-E (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{G, }
\item[{{\bf int}}]{n\-G, }
\item[{{\bf int}}]{n, }
\item[{double $\ast$}]{M}
\end{DoxyParamCaption}
)}\label{stuff_8c_a6df27226a1b3c788bf606b1ff34ce5df}


Definition at line 473 of file stuff.\-c.



References fpow32(), G\-D\-\_\-dist, G\-D\-\_\-neato\-\_\-nlist, G\-D\-\_\-spring, M\-A\-X\-D\-I\-M, Msub, N\-D\-\_\-pos, and Ndim.



Referenced by move\-\_\-node().

\index{stuff.\-c@{stuff.\-c}!diffeq\-\_\-model@{diffeq\-\_\-model}}
\index{diffeq\-\_\-model@{diffeq\-\_\-model}!stuff.c@{stuff.\-c}}
\subsubsection[{diffeq\-\_\-model}]{\setlength{\rightskip}{0pt plus 5cm}void diffeq\-\_\-model (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{G, }
\item[{{\bf int}}]{n\-G}
\end{DoxyParamCaption}
)}\label{stuff_8c_aa34fc108f60c95041a202913d654b592}


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



References agfindedge, dist(), distvec(), E\-D\-\_\-factor, elapsed\-\_\-sec(), G\-D\-\_\-dist, G\-D\-\_\-neato\-\_\-nlist, G\-D\-\_\-spring, G\-D\-\_\-sum\-\_\-t, G\-D\-\_\-t, M\-A\-X\-D\-I\-M, N\-D\-\_\-pos, Ndim, Spring\-\_\-coeff, start\-\_\-timer(), and Verbose.

\index{stuff.\-c@{stuff.\-c}!distvec@{distvec}}
\index{distvec@{distvec}!stuff.c@{stuff.\-c}}
\subsubsection[{distvec}]{\setlength{\rightskip}{0pt plus 5cm}double distvec (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{p0, }
\item[{double $\ast$}]{p1, }
\item[{double $\ast$}]{vec}
\end{DoxyParamCaption}
)}\label{stuff_8c_aa1f9b2f85acbd1c70682482cf556741b}


Definition at line 33 of file stuff.\-c.



References dist(), and Ndim.



Referenced by diffeq\-\_\-model(), and update\-\_\-arrays().

\index{stuff.\-c@{stuff.\-c}!final\-\_\-energy@{final\-\_\-energy}}
\index{final\-\_\-energy@{final\-\_\-energy}!stuff.c@{stuff.\-c}}
\subsubsection[{final\-\_\-energy}]{\setlength{\rightskip}{0pt plus 5cm}void final\-\_\-energy (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{G, }
\item[{{\bf int}}]{n\-G}
\end{DoxyParamCaption}
)}\label{stuff_8c_a544e2733e5cce0bce0d607e93d531995}


Definition at line 507 of file stuff.\-c.



References G\-D\-\_\-move.

\index{stuff.\-c@{stuff.\-c}!fpow32@{fpow32}}
\index{fpow32@{fpow32}!stuff.c@{stuff.\-c}}
\subsubsection[{fpow32}]{\setlength{\rightskip}{0pt plus 5cm}double fpow32 (
\begin{DoxyParamCaption}
\item[{double}]{x}
\end{DoxyParamCaption}
)}\label{stuff_8c_a46a0d934900471f5f522e13fbd37d52a}


Definition at line 27 of file stuff.\-c.



Referenced by D2\-E().

\index{stuff.\-c@{stuff.\-c}!free\-\_\-array@{free\-\_\-array}}
\index{free\-\_\-array@{free\-\_\-array}!stuff.c@{stuff.\-c}}
\subsubsection[{free\-\_\-array}]{\setlength{\rightskip}{0pt plus 5cm}void free\-\_\-array (
\begin{DoxyParamCaption}
\item[{double $\ast$$\ast$}]{rv}
\end{DoxyParamCaption}
)}\label{stuff_8c_a984532f4a5be55c13e0c699997b9d36a}


Definition at line 63 of file stuff.\-c.



Referenced by circuit\-\_\-model(), circuit\-Model(), free\-\_\-scan\-\_\-graph(), and lu\-\_\-decompose().

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


Definition at line 294 of file stuff.\-c.



References free\-\_\-array(), G\-D\-\_\-dist, G\-D\-\_\-neato\-\_\-nlist, G\-D\-\_\-spring, G\-D\-\_\-sum\-\_\-t, G\-D\-\_\-t, Nop, and N\-U\-L\-L.



Referenced by neato\-\_\-layout().

\index{stuff.\-c@{stuff.\-c}!heapdown@{heapdown}}
\index{heapdown@{heapdown}!stuff.c@{stuff.\-c}}
\subsubsection[{heapdown}]{\setlength{\rightskip}{0pt plus 5cm}void heapdown (
\begin{DoxyParamCaption}
\item[{{\bf node\-\_\-t} $\ast$}]{v}
\end{DoxyParamCaption}
)}\label{stuff_8c_aa6b773223083a0d2e49ebb9ac281fa4f}


Definition at line 615 of file stuff.\-c.



References left, N\-D\-\_\-dist, N\-D\-\_\-heapindex, and right.



Referenced by neato\-\_\-dequeue().

\index{stuff.\-c@{stuff.\-c}!heapup@{heapup}}
\index{heapup@{heapup}!stuff.c@{stuff.\-c}}
\subsubsection[{heapup}]{\setlength{\rightskip}{0pt plus 5cm}void heapup (
\begin{DoxyParamCaption}
\item[{{\bf node\-\_\-t} $\ast$}]{v}
\end{DoxyParamCaption}
)}\label{stuff_8c_a82abc423da685aa012e3dcec633b3acb}


Definition at line 598 of file stuff.\-c.



References N\-D\-\_\-dist, and N\-D\-\_\-heapindex.



Referenced by neato\-\_\-enqueue(), and s1().

\index{stuff.\-c@{stuff.\-c}!initial\-\_\-positions@{initial\-\_\-positions}}
\index{initial\-\_\-positions@{initial\-\_\-positions}!stuff.c@{stuff.\-c}}
\subsubsection[{initial\-\_\-positions}]{\setlength{\rightskip}{0pt plus 5cm}void initial\-\_\-positions (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{G, }
\item[{{\bf int}}]{n\-G}
\end{DoxyParamCaption}
)}\label{stuff_8c_ab571a571136e27cda974b515b35858e5}


Definition at line 326 of file stuff.\-c.



References agerr(), A\-G\-W\-A\-R\-N, check\-Start(), G\-D\-\_\-neato\-\_\-nlist, has\-Pos, I\-N\-I\-T\-\_\-\-R\-A\-N\-D\-O\-M, I\-N\-I\-T\-\_\-\-R\-E\-G\-U\-L\-A\-R, I\-N\-I\-T\-\_\-\-S\-E\-L\-F, randompos(), and Verbose.

\index{stuff.\-c@{stuff.\-c}!jitter3d@{jitter3d}}
\index{jitter3d@{jitter3d}!stuff.c@{stuff.\-c}}
\subsubsection[{jitter3d}]{\setlength{\rightskip}{0pt plus 5cm}void jitter3d (
\begin{DoxyParamCaption}
\item[{{\bf node\-\_\-t} $\ast$}]{np, }
\item[{{\bf int}}]{n\-G}
\end{DoxyParamCaption}
)}\label{stuff_8c_a5e89666785aef3986ee86190b4902b0e}


Definition at line 313 of file stuff.\-c.



References jitter\-\_\-d().



Referenced by randompos(), and user\-\_\-pos().

\index{stuff.\-c@{stuff.\-c}!jitter\-\_\-d@{jitter\-\_\-d}}
\index{jitter\-\_\-d@{jitter\-\_\-d}!stuff.c@{stuff.\-c}}
\subsubsection[{jitter\-\_\-d}]{\setlength{\rightskip}{0pt plus 5cm}void jitter\-\_\-d (
\begin{DoxyParamCaption}
\item[{{\bf node\-\_\-t} $\ast$}]{np, }
\item[{{\bf int}}]{n\-G, }
\item[{{\bf int}}]{n}
\end{DoxyParamCaption}
)}\label{stuff_8c_a8c500e6eb252763a6e20261b99872072}


Definition at line 306 of file stuff.\-c.



References drand48(), N\-D\-\_\-pos, and Ndim.



Referenced by jitter3d(), and user\-\_\-pos().

\index{stuff.\-c@{stuff.\-c}!make\-\_\-spring@{make\-\_\-spring}}
\index{make\-\_\-spring@{make\-\_\-spring}!stuff.c@{stuff.\-c}}
\subsubsection[{make\-\_\-spring}]{\setlength{\rightskip}{0pt plus 5cm}void make\-\_\-spring (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{G, }
\item[{{\bf node\-\_\-t} $\ast$}]{u, }
\item[{{\bf node\-\_\-t} $\ast$}]{v, }
\item[{double}]{f}
\end{DoxyParamCaption}
)}\label{stuff_8c_aafeb2c0b3e1a802beab47e552a163b4d}


Definition at line 720 of file stuff.\-c.



References G\-D\-\_\-dist, and N\-D\-\_\-id.



Referenced by s1().

\index{stuff.\-c@{stuff.\-c}!move\-\_\-node@{move\-\_\-node}}
\index{move\-\_\-node@{move\-\_\-node}!stuff.c@{stuff.\-c}}
\subsubsection[{move\-\_\-node}]{\setlength{\rightskip}{0pt plus 5cm}void move\-\_\-node (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{G, }
\item[{{\bf int}}]{n\-G, }
\item[{{\bf node\-\_\-t} $\ast$}]{n}
\end{DoxyParamCaption}
)}\label{stuff_8c_af261ba37793f3cf4e85ab41a2a027c64}


Definition at line 567 of file stuff.\-c.



References agnameof(), A\-L\-L\-O\-C, D2\-E(), Damping, drand48(), G\-D\-\_\-move, G\-D\-\_\-sum\-\_\-t, M\-A\-X\-D\-I\-M, N\-D\-\_\-id, N\-D\-\_\-pos, Ndim, solve(), test\-\_\-toggle(), and update\-\_\-arrays().



Referenced by solve\-\_\-model().

\index{stuff.\-c@{stuff.\-c}!neato\-\_\-dequeue@{neato\-\_\-dequeue}}
\index{neato\-\_\-dequeue@{neato\-\_\-dequeue}!stuff.c@{stuff.\-c}}
\subsubsection[{neato\-\_\-dequeue}]{\setlength{\rightskip}{0pt plus 5cm}{\bf node\-\_\-t}$\ast$ neato\-\_\-dequeue (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{stuff_8c_adb99af27e630de87c7f4774912f4dae0}


Definition at line 651 of file stuff.\-c.



References heapdown(), N\-D\-\_\-heapindex, and N\-U\-L\-L.



Referenced by s1().

\index{stuff.\-c@{stuff.\-c}!neato\-\_\-enqueue@{neato\-\_\-enqueue}}
\index{neato\-\_\-enqueue@{neato\-\_\-enqueue}!stuff.c@{stuff.\-c}}
\subsubsection[{neato\-\_\-enqueue}]{\setlength{\rightskip}{0pt plus 5cm}void neato\-\_\-enqueue (
\begin{DoxyParamCaption}
\item[{{\bf node\-\_\-t} $\ast$}]{v}
\end{DoxyParamCaption}
)}\label{stuff_8c_adcf1f4d51f766533763cf01db3c95988}


Definition at line 639 of file stuff.\-c.



References assert, heapup(), and N\-D\-\_\-heapindex.



Referenced by s1().

\index{stuff.\-c@{stuff.\-c}!new\-\_\-array@{new\-\_\-array}}
\index{new\-\_\-array@{new\-\_\-array}!stuff.c@{stuff.\-c}}
\subsubsection[{new\-\_\-array}]{\setlength{\rightskip}{0pt plus 5cm}double$\ast$$\ast$ new\-\_\-array (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{m, }
\item[{{\bf int}}]{n, }
\item[{double}]{ival}
\end{DoxyParamCaption}
)}\label{stuff_8c_a0b942e4cb8fec56af5e639ea71da069b}


Definition at line 46 of file stuff.\-c.



References N\-\_\-\-N\-E\-W.



Referenced by circuit\-\_\-model(), circuit\-Model(), lu\-\_\-decompose(), and scan\-\_\-graph\-\_\-mode().

\index{stuff.\-c@{stuff.\-c}!randompos@{randompos}}
\index{randompos@{randompos}!stuff.c@{stuff.\-c}}
\subsubsection[{randompos}]{\setlength{\rightskip}{0pt plus 5cm}void randompos (
\begin{DoxyParamCaption}
\item[{{\bf node\-\_\-t} $\ast$}]{np, }
\item[{{\bf int}}]{n\-G}
\end{DoxyParamCaption}
)}\label{stuff_8c_a3bcce19e8f340a809128e2741fc9c56c}


Definition at line 318 of file stuff.\-c.



References drand48(), jitter3d(), N\-D\-\_\-pos, and Ndim.



Referenced by initial\-\_\-positions().

\index{stuff.\-c@{stuff.\-c}!s1@{s1}}
\index{s1@{s1}!stuff.c@{stuff.\-c}}
\subsubsection[{s1}]{\setlength{\rightskip}{0pt plus 5cm}void s1 (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{G, }
\item[{{\bf node\-\_\-t} $\ast$}]{node}
\end{DoxyParamCaption}
)}\label{stuff_8c_a4a4f9142dd8696e8660427e9e14ca6af}


Definition at line 686 of file stuff.\-c.



References agfstedge(), aghead(), agnxtedge(), agtail(), E\-D\-\_\-dist, G\-D\-\_\-neato\-\_\-nlist, heapup(), Initial\-\_\-dist, make\-\_\-spring(), N\-D\-\_\-dist, N\-D\-\_\-heapindex, N\-D\-\_\-hops, neato\-\_\-dequeue(), neato\-\_\-enqueue(), and node().



Referenced by clip\-\_\-line(), direct\-Vis(), gvbisect(), and shortest\-\_\-path().

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


Definition at line 289 of file stuff.\-c.



References M\-O\-D\-E\-\_\-\-K\-K, and scan\-\_\-graph\-\_\-mode().



Referenced by init\-\_\-nop().

\index{stuff.\-c@{stuff.\-c}!scan\-\_\-graph\-\_\-mode@{scan\-\_\-graph\-\_\-mode}}
\index{scan\-\_\-graph\-\_\-mode@{scan\-\_\-graph\-\_\-mode}!stuff.c@{stuff.\-c}}
\subsubsection[{scan\-\_\-graph\-\_\-mode}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} scan\-\_\-graph\-\_\-mode (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{G, }
\item[{{\bf int}}]{mode}
\end{DoxyParamCaption}
)}\label{stuff_8c_a972f87c754def39b6e8501e8a3669346}


Definition at line 218 of file stuff.\-c.



References agattr(), agdelete(), A\-G\-E\-D\-G\-E, agfstnode(), agget(), agnameof(), agnedges(), agnnodes(), agnxtnode(), Damping, D\-F\-L\-T\-\_\-\-T\-O\-L\-E\-R\-A\-N\-C\-E, Epsilon, G\-D\-\_\-dist, G\-D\-\_\-neato\-\_\-nlist, G\-D\-\_\-spring, G\-D\-\_\-sum\-\_\-t, G\-D\-\_\-t, getdouble(), Initial\-\_\-dist, M\-A\-X, M\-O\-D\-E\-\_\-\-K\-K, N\-\_\-\-N\-E\-W, N\-D\-\_\-heapindex, N\-D\-\_\-id, Ndim, new\-\_\-array(), Nop, Reduce, Agraph\-\_\-s\-::root, str, and Verbose.



Referenced by scan\-\_\-graph().

\index{stuff.\-c@{stuff.\-c}!shortest\-\_\-path@{shortest\-\_\-path}}
\index{shortest\-\_\-path@{shortest\-\_\-path}!stuff.c@{stuff.\-c}}
\subsubsection[{shortest\-\_\-path}]{\setlength{\rightskip}{0pt plus 5cm}void shortest\-\_\-path (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{G, }
\item[{{\bf int}}]{n\-G}
\end{DoxyParamCaption}
)}\label{stuff_8c_a71c1537714359d24682cf0f57d00b03e}


Definition at line 669 of file stuff.\-c.



References agfstnode(), agnxtnode(), elapsed\-\_\-sec(), N\-\_\-\-N\-E\-W, s1(), start\-\_\-timer(), and Verbose.

\index{stuff.\-c@{stuff.\-c}!solve\-\_\-model@{solve\-\_\-model}}
\index{solve\-\_\-model@{solve\-\_\-model}!stuff.c@{stuff.\-c}}
\subsubsection[{solve\-\_\-model}]{\setlength{\rightskip}{0pt plus 5cm}void solve\-\_\-model (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{G, }
\item[{{\bf int}}]{n\-G}
\end{DoxyParamCaption}
)}\label{stuff_8c_a2e1742f377ac26ab1f6258167a48ce3d}


Definition at line 425 of file stuff.\-c.



References agerr(), agnameof(), A\-G\-W\-A\-R\-N, choose\-\_\-node(), elapsed\-\_\-sec(), Epsilon, G\-D\-\_\-move, Max\-Iter, move\-\_\-node(), and Verbose.

\index{stuff.\-c@{stuff.\-c}!update\-\_\-arrays@{update\-\_\-arrays}}
\index{update\-\_\-arrays@{update\-\_\-arrays}!stuff.c@{stuff.\-c}}
\subsubsection[{update\-\_\-arrays}]{\setlength{\rightskip}{0pt plus 5cm}void update\-\_\-arrays (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{G, }
\item[{{\bf int}}]{n\-G, }
\item[{{\bf int}}]{i}
\end{DoxyParamCaption}
)}\label{stuff_8c_ac1725ceaa0d8fa168a4097b12f1e0401}


Definition at line 445 of file stuff.\-c.



References dist(), distvec(), G\-D\-\_\-dist, G\-D\-\_\-neato\-\_\-nlist, G\-D\-\_\-spring, G\-D\-\_\-sum\-\_\-t, G\-D\-\_\-t, M\-A\-X\-D\-I\-M, N\-D\-\_\-pos, and Ndim.



Referenced by move\-\_\-node().

