\section{KAdj\-Mat  Class Reference}
\label{class_KAdjMat}\index{KAdjMat@{KAdj\-Mat}}
{\tt \#include $<$kadjmat.h$>$}

Collaboration diagram for KAdj\-Mat:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=42pt]{class_KAdjMat_coll_graph}
\end{center}
\end{figure}
\subsection*{Public Methods}
\begin{CompactItemize}
\item 
{\bf KAdj\-Mat} (int numvertices={\bf default\_\-size})
\item 
{\bf KAdj\-Mat} (const KAdj\-Mat \&adj)
\item 
{\bf $\sim$KAdj\-Mat} ()
\item 
int {\bf Copy} (const KAdj\-Mat \&adj)
\item 
const KAdj\-Mat\& {\bf operator=} (const KAdj\-Mat \&adj)
\item 
int {\bf Connect} (int i, int j)
\item 
int {\bf Disconnect} (int i, int j)
\item 
const KAdj\-Mat\& {\bf operator $\ast$=} (const KAdj\-Mat \&adj)
\item 
const {\bf ABit\-Set}\& {\bf operator[$\,$]} (int i) const
\item 
const {\bf ABit\-Set}\& {\bf operator()} (int i) const
\item 
int {\bf Set\-Row} (int i, const {\bf ABit\-Set} \&rowbits)
\item 
int {\bf Set\-Col} (int i, const {\bf ABit\-Set} \&colbits)
\end{CompactItemize}
\subsection*{Static Public Methods}
\begin{CompactItemize}
\item 
int {\bf Default\-Size} (int s)
\item 
int {\bf Default\-Size} ()
\end{CompactItemize}
\subsection*{Static Public Attributes}
\begin{CompactItemize}
\item 
int {\bf default\_\-size}
\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
int {\bf N}
\item 
{\bf ABit\-Set}$\ast$ {\bf A}
\item 
{\bf ABit\-Set}$\ast$ {\bf T}
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
KAdj\-Mat {\bf operator $\ast$} (KAdj\-Mat x, const KAdj\-Mat \&y)
\item 
KAdj\-Mat {\bf pow} (KAdj\-Mat adj, int n)
\item 
ostream\& {\bf operator$<$$<$} (ostream \&os, const KAdj\-Mat \&adj)
\end{CompactItemize}


\subsection{Constructor \& Destructor Documentation}
\index{KAdjMat@{KAdj\-Mat}!KAdjMat@{KAdjMat}}
\index{KAdjMat@{KAdjMat}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KAdj\-Mat::KAdj\-Mat (int {\em numvertices} = {\bf default\_\-size})}\label{class_KAdjMat_a0}


\index{KAdjMat@{KAdj\-Mat}!KAdjMat@{KAdjMat}}
\index{KAdjMat@{KAdjMat}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KAdj\-Mat::KAdj\-Mat (const KAdj\-Mat \& {\em adj})}\label{class_KAdjMat_a1}


\index{KAdjMat@{KAdj\-Mat}!~KAdjMat@{$\sim$KAdjMat}}
\index{~KAdjMat@{$\sim$KAdjMat}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KAdj\-Mat::$\sim$KAdj\-Mat ()}\label{class_KAdjMat_a2}




\subsection{Member Function Documentation}
\index{KAdjMat@{KAdj\-Mat}!Connect@{Connect}}
\index{Connect@{Connect}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAdj\-Mat::Connect (int {\em i}, int {\em j})\hspace{0.3cm}{\tt  [inline]}}\label{class_KAdjMat_a5}




Definition at line 38 of file kadjmat.h.

Referenced by sd\-Graph::Adj\-Matrix().\footnotesize\begin{verbatim}00039                   {
00040                     if(N<1 || i<0 || j<0 || i>=N || j>=N) return 0;
00041                     A[i].Set((uint) j);
00042                     T[j].Set((uint) i);
00043                     return 1;
00044 \end{verbatim}\normalsize 
\index{KAdjMat@{KAdj\-Mat}!Copy@{Copy}}
\index{Copy@{Copy}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAdj\-Mat::Copy (const KAdj\-Mat \& {\em adj})}\label{class_KAdjMat_a3}


\index{KAdjMat@{KAdj\-Mat}!DefaultSize@{DefaultSize}}
\index{DefaultSize@{DefaultSize}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAdj\-Mat::Default\-Size ()\hspace{0.3cm}{\tt  [static]}}\label{class_KAdjMat_d1}




Referenced by sd\-Graph::Trav\-Matrices().\index{KAdjMat@{KAdj\-Mat}!DefaultSize@{DefaultSize}}
\index{DefaultSize@{DefaultSize}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAdj\-Mat::Default\-Size (int {\em s})\hspace{0.3cm}{\tt  [static]}}\label{class_KAdjMat_d0}


\index{KAdjMat@{KAdj\-Mat}!Disconnect@{Disconnect}}
\index{Disconnect@{Disconnect}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAdj\-Mat::Disconnect (int {\em i}, int {\em j})\hspace{0.3cm}{\tt  [inline]}}\label{class_KAdjMat_a6}




Definition at line 47 of file kadjmat.h.\footnotesize\begin{verbatim}00048                   {
00049                     if(N<1 || i<0 || j<0 || i>=N || j>=N) return 0;
00050                     A[i].Clear((uint) j);
00051                     T[j].Clear((uint) i);
00052                     return 1;
00053 \end{verbatim}\normalsize 
\index{KAdjMat@{KAdj\-Mat}!SetCol@{SetCol}}
\index{SetCol@{SetCol}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAdj\-Mat::Set\-Col (int {\em i}, const {\bf ABit\-Set} \& {\em colbits})}\label{class_KAdjMat_a11}


\index{KAdjMat@{KAdj\-Mat}!SetRow@{SetRow}}
\index{SetRow@{SetRow}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAdj\-Mat::Set\-Row (int {\em i}, const {\bf ABit\-Set} \& {\em rowbits})}\label{class_KAdjMat_a10}




Referenced by sd\-Graph::Trav\-Matrices().\index{KAdjMat@{KAdj\-Mat}!operator *=@{operator $\ast$=}}
\index{operator *=@{operator $\ast$=}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const KAdj\-Mat\& KAdj\-Mat::operator $\ast$= (const KAdj\-Mat \& {\em adj})}\label{class_KAdjMat_a7}


\index{KAdjMat@{KAdj\-Mat}!operator()@{operator()}}
\index{operator()@{operator()}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf ABit\-Set} \& KAdj\-Mat::operator() (int {\em i}) const\hspace{0.3cm}{\tt  [inline]}}\label{class_KAdjMat_a9}




Definition at line 67 of file kadjmat.h.\footnotesize\begin{verbatim}00067                                                          { return T[i]; }
00068 \end{verbatim}\normalsize 
\index{KAdjMat@{KAdj\-Mat}!operator=@{operator=}}
\index{operator=@{operator=}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const KAdj\-Mat\& KAdj\-Mat::operator= (const KAdj\-Mat \& {\em adj})}\label{class_KAdjMat_a4}


\index{KAdjMat@{KAdj\-Mat}!operator[]@{operator[]}}
\index{operator[]@{operator[]}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf ABit\-Set} \& KAdj\-Mat::operator[$\,$] (int {\em i}) const\hspace{0.3cm}{\tt  [inline]}}\label{class_KAdjMat_a8}




Definition at line 65 of file kadjmat.h.\footnotesize\begin{verbatim}00065                                                          { return A[i]; }
00066 \end{verbatim}\normalsize 


\subsection{Friends And Related Function Documentation}
\index{KAdjMat@{KAdj\-Mat}!operator *@{operator $\ast$}}
\index{operator *@{operator $\ast$}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KAdj\-Mat operator $\ast$ (KAdj\-Mat {\em x}, const KAdj\-Mat \& {\em y})\hspace{0.3cm}{\tt  [friend]}}\label{class_KAdjMat_l0}


\index{KAdjMat@{KAdj\-Mat}!operator<<@{operator$<$$<$}}
\index{operator<<@{operator$<$$<$}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ostream\& operator$<$$<$ (ostream \& {\em os}, const KAdj\-Mat \& {\em adj})\hspace{0.3cm}{\tt  [friend]}}\label{class_KAdjMat_l2}


\index{KAdjMat@{KAdj\-Mat}!pow@{pow}}
\index{pow@{pow}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KAdj\-Mat pow (KAdj\-Mat {\em adj}, int {\em n})\hspace{0.3cm}{\tt  [friend]}}\label{class_KAdjMat_l1}




\subsection{Member Data Documentation}
\index{KAdjMat@{KAdj\-Mat}!A@{A}}
\index{A@{A}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf ABit\-Set} $\ast$ KAdj\-Mat::A\hspace{0.3cm}{\tt  [private]}}\label{class_KAdjMat_o1}




Definition at line 79 of file kadjmat.h.\index{KAdjMat@{KAdj\-Mat}!N@{N}}
\index{N@{N}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAdj\-Mat::N\hspace{0.3cm}{\tt  [private]}}\label{class_KAdjMat_o0}




Definition at line 78 of file kadjmat.h.\index{KAdjMat@{KAdj\-Mat}!T@{T}}
\index{T@{T}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf ABit\-Set} $\ast$ KAdj\-Mat::T\hspace{0.3cm}{\tt  [private]}}\label{class_KAdjMat_o2}




Definition at line 80 of file kadjmat.h.\index{KAdjMat@{KAdj\-Mat}!default_size@{default\_\-size}}
\index{default_size@{default\_\-size}!KAdjMat@{KAdj\-Mat}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KAdj\-Mat::default\_\-size\hspace{0.3cm}{\tt  [static]}}\label{class_KAdjMat_p0}




Definition at line 24 of file kadjmat.h.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf kadjmat.h}\end{CompactItemize}
