\newcommand{\pr}{\mathbb{P}}
\newcommand{\E}{\mathbb{E}}

\newcommand{\be}{\begin{enumerate}}
\newcommand{\ee}{\end{enumerate}}
\newcommand{\bi}{\begin{itemize}}
\newcommand{\ei}{\end{itemize}}
\newcommand{\beq}{\begin{equation}}
\newcommand{\eeq}{\end{equation}}

\newcommand{\bp}{\begin{proof}}
\newcommand{\ep}{\end{proof}}
\newcommand{\bcor}{\begin{cor}}
\newcommand{\ecor}{\end{cor}}
\newcommand{\bthm}{\begin{thm}}
\newcommand{\ethm}{\end{thm}}
\newcommand{\blmm}{\begin{lmm}}
\newcommand{\elmm}{\end{lmm}}
\newcommand{\bdefn}{\begin{defn}}
\newcommand{\edefn}{\end{defn}}
\newcommand{\bprop}{\begin{prop}}
\newcommand{\eprop}{\end{prop}}
\newcommand{\bconj}{\begin{conj}}
\newcommand{\econj}{\end{conj}}
\newcommand{\bopm}{\begin{opm}}
\newcommand{\eopm}{\end{opm}}
\newcommand{\brmk}{\begin{rmk}}
\newcommand{\ermk}{\end{rmk}}

\newcommand{\qnom}[2]{\genfrac{[}{]}{0pt}{}{#1}{#2}}

\newcommand{\suchthat}{\ | \ }
\newcommand{\inner}[1]{\langle #1 \rangle}
\newcommand{\deriv}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\vol}[1]{\mbox{vol } #1}
\newcommand{\var}[1]{\mbox{Var}\left[#1\right]}
\newcommand{\cov}[1]{\mbox{Cov}\left[#1\right]}
\newcommand{\per}[1]{\mbox{per } #1}
\newcommand{\trace}[1]{\mbox{tr } #1}
\newcommand{\vspan}[1]{\mbox{span }\{#1\}}
\newcommand{\diag}[1]{\mbox{diag } #1}
\newcommand{\mv}[1]{\mathbf{#1}}

\theoremstyle{plain}                   % default
\newtheorem{thm}{Theorem}[section]
\newtheorem{lmm}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{cor}[thm]{Corollary}

\theoremstyle{definition}              % Examples and all
\newtheorem{pbm}[thm]{Problem}
\newtheorem{opm}[thm]{Open Problem}
\newtheorem{conj}[thm]{Conjecture}
\newtheorem{ex}[thm]{Example}
\newtheorem{exer}[thm]{Exercise}
\newtheorem{defn}[thm]{Definition}
\newtheorem{alg}[thm]{Algorithm}

\theoremstyle{remark}
\newtheorem{rmk}[thm]{Remark}
\newtheorem*{note}{Note}
\newtheorem*{claim}{Claim}

\newcommand{\bb}{
 \begin{center}
 \begin{tabular}{|lll|}
 \hline
}

\newcommand{\eb}{
 \hline
 \end{tabular}
 \end{center}
}

\newlength{\toppush}
\setlength{\toppush}{2\headheight}

\def\subjnum{CSE 620}
\def\subjname{Modern Networking Concepts}
\def\doheading#1#2#3{\vfill\eject\vspace*{-\toppush}%
  \vbox{\hbox to\textwidth{{\bf} 
  \subjnum: \subjname 
  \hfil CSE - SUNY at Buffalo - Fall 2005}%
  \hbox to\textwidth{{\bf} Paper Review Submission\hfil#3\strut}%
  \hrule}
}

\newcommand{\htitle}[1]{\vspace*{3.25ex plus 1ex minus .2ex}%
  \begin{center}{\Large\bf #1}\end{center}}
