%
% Good looking algorithm environments.
%

% algorithmicx, for the, uh, algorithms.
\usepackage{algpseudocode}

% Rename ``require'' and ``ensure'' to ``input'' and ``output''
% respectively.
\renewcommand{\algorithmicrequire}{\textbf{Input:}}
\renewcommand{\algorithmicensure}{\textbf{Output:}}

% This just gives us the floating ``algorithm'' environment.
\usepackage{algorithm}
