File: dataStructure.tex

package info (click to toggle)
spooles 2.2-9
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 19,012 kB
  • sloc: ansic: 146,834; csh: 3,615; makefile: 2,040; perl: 74
file content (16 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
\par
\section{Data Structure}
\label{section:BPG:dataStructure}
\par
A bipartite graph is a triple $(X,Y,E)$
where $X$ and $Y$ are disjoint sets of vertices
and $E \subseteq X \times Y$ is a set of edges connecting vertices
in $X$ and $Y$.
The {\tt BPG} structure has three fields.
\begin{itemize}
\item {\tt int nX} : number of vertices in $X$
\item {\tt int nY} : number of vertices in $Y$
\item {\tt Graph *graph} 
: pointer to a graph object $G = (X \cup Y), E)$.
\end{itemize}