+%---------------------------------------------------------------------------\r
+%Please be aware that the use of this LaTeX class file is governed by the\r
+%following conditions:\r
+%\r
+% based on the original LaTeX ARTICLE DOCUMENT STYLE\r
+% Copyright (C) 1988, 1989 by Leslie Lamport\r
+%\r
+% Copyright (c) 2010 John Wiley & Sons, Ltd, The Atrium, Southern Gate, Chichester,\r
+% West Sussex, PO19 8SQ UK. All rights reserved.\r
+%\r
+%Rules of Use\r
+%\r
+%% You are NOT ALLOWED to change this file.\r
+%\r
+%\r
+%This class file is made available for use by authors who wish to prepare an\r
+%article for publication in\r
+%CONCURRENCY AND COMPUTATION: PRACTICE AND EXPERIENCE\r
+%published by John Wiley & Sons Ltd. The user may not exploit any part of\r
+%the class file commercially.\r
+%\r
+%This class file is provided on an `as is' basis, without warranties of any\r
+%kind, either expressed or implied, including but not limited to warranties of\r
+%title, or implied warranties of merchantablility or fitness for a\r
+%particular purpose. There will be no duty on the author[s] of the software\r
+%or John Wiley & Sons Ltd to correct any errors or defects in the software.\r
+%Any statutory rights you may have remain unaffected by your acceptance of\r
+%these rules of use.\r
+%---------------------------------------------------------------------------\r
+%\r
+% Created by Alistair Smith, Sunrise Setting Ltd, 27 March 2010\r
+%\r
+% cpeauth.cls --- For Concurrency Computat.: Pract. Exper.\r
+\r
+\def\update{2010/05/13 v3.00}\r
+\r
+\newcommand{\journalname}{CONCURRENCY AND COMPUTATION: PRACTICE AND EXPERIENCE}\r
+\newcommand{\journalnamelc}{Concurrency and Computation: Practice and Experience}\r
+\newcommand{\journalabb}{Concurrency Computat.: Pract. Exper.}\r
+\newcommand{\journalclass}{cpeauth.cls}\r
+\newcommand{\journalclassshort}{cpeauth}\r
+\newcommand{\DOI}{cpe}\r
+\r
+\NeedsTeXFormat{LaTeX2e}\r
+\ProvidesClass{cpeauth}[\update\ \journalclass]\r
+\r
+%\newcommand\hmmax{0}\r
+\r
+\newif\if@timesfont\r
+\DeclareOption{times}{%\r
+\@timesfonttrue}\r
+\r
+\newif\if@doublespace\r
+\DeclareOption{doublespace}{%\r
+\@doublespacetrue}\r
+\r
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}\r
+\ProcessOptions\r
+\LoadClass{article}\r
+\if@timesfont\r
+\RequirePackage{times}\r
+\fi\r
+\if@doublespace\r
+\RequirePackage[onehalfspacing]{setspace}\r
+\fi\r
+\r
+\RequirePackage{graphicx}\r
+\RequirePackage{pifont,latexsym,ifthen,rotating,calc,textcase,booktabs,color}\r
+\RequirePackage{amsfonts,amssymb,amsbsy,amsmath,amsthm}\r
+%\RequirePackage{bm}\r
+\RequirePackage[errorshow]{tracefnt}\r
+\r
+\@twosidetrue\r
+\flushbottom\r
+\frenchspacing\r
+\r
+\textwidth 34pc\r
+\textheight 645pt\r
+%\setlength\columnsep{24pt}\r
+\r
+%Trim sizes\r
+\setlength\voffset{-1in}\r
+\setlength\hoffset{-1in}\r
+\topmargin -1mm\r
+\setlength\oddsidemargin{33mm}%back margin on odd pages\r
+\setlength\evensidemargin{33mm}%fore margin on even pages\r
+\setlength\paperwidth{210mm}\r
+\setlength\paperheight{276mm}\r
+%Needed to set PDF page size\r
+\special{papersize=210mm,276mm}\r
+\r
+\parskip \z@\r
+\parindent 1em\r
+\headheight 50pt\r
+\headsep 20pt \r
+\footskip 24pt \r
+\r
+\hyphenpenalty=1000\r
+\pretolerance=8000\r
+\tolerance=9500\r
+\hbadness=8000\r
+\vbadness=9000\r
+\displaywidowpenalty=0\r
+\clubpenalty=10000\r
+\widowpenalty=10000\r
+\lefthyphenmin=3%\r
+\righthyphenmin=3%\r
+\brokenpenalty=10000%\r
+\r
+\thinmuskip = 3mu\r
+\medmuskip = 4mu\r
+\thickmuskip = 5mu\r
+\r
+\setcounter{topnumber}{10}\r
+\def\topfraction{1}\r
+\setcounter{bottomnumber}{10}\r
+\def\bottomfraction{0.8}\r
+\setcounter{totalnumber}{10}\r
+\def\textfraction{0}\r
+\renewcommand{\floatpagefraction}{0.95}\r
+\setcounter{dbltopnumber}{10}\r
+\renewcommand{\dblfloatpagefraction}{0.95}\r
+\renewcommand{\dbltopfraction}{1}\r
+\r
+\renewcommand{\normalsize}{\fontsize{10.3}{12pt}\selectfont}\r
+\renewcommand{\small}{\fontsize{9.5}{10pt}\selectfont}\r
+\renewcommand{\footnotesize}{\fontsize{8.5}{9pt}\selectfont}\r
+\renewcommand{\scriptsize}{\fontsize{8.5}{9.5pt}\selectfont}\r
+\renewcommand{\tiny}{\fontsize{6.5}{7pt}\selectfont}\r
+\renewcommand{\large}{\fontsize{11.5}{12pt}\selectfont}\r
+\renewcommand{\Large}{\fontsize{14}{18pt}\selectfont}\r
+\renewcommand{\LARGE}{\fontsize{17}{22pt}\selectfont}\r
+\renewcommand{\huge}{\fontsize{20}{25pt}\selectfont}\r
+\renewcommand{\Huge}{\fontsize{25}{30pt}\selectfont}\r
+\r
+\newcommand{\titlesize}{\fontsize{15.3}{16pt}\selectfont}\r
+\newcommand{\tabsize}{\fontsize{9}{9.5pt}\selectfont}\r
+\r
+\newbox\absbox\r
+\def\abstract{\lrbox\absbox\minipage{\textwidth}%\r
+ \small\normalfont%\r
+ \centerline{{SUMMARY}}\par\vspace{8pt}%\r
+ }\r
+\def\endabstract{\copyrightline\endminipage\endlrbox}\r
+\r
+\def\keywords#1{%\r
+ \gdef\@keywords{\small{KEY WORDS:}\hspace{0.75em}\parbox[t]{28pc}{#1}}}\r
+\let\@keywords\@empty\r
+\r
+\skip\footins 22pt plus 8pt\r
+%\gdef\footnoterule{}\r
+\def\footnoterule{\kern-3\p@\r
+ \hrule \@width 60pt \kern 2.6\p@}\r
+\r
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}\r
+\long\def\@makefntext#1{\parindent 1em%\r
+\noindent{$\m@th^{\@thefnmark}$}#1}\r
+\r
+\def\corraddr#1{%\r
+ \gdef\@corraddr{%\r
+ \footnotetext[1]{Correspondence to: #1\stepcounter{footnote}}}}\r
+\let\@corraddr\@empty\r
+\def\corrauth{\footnotemark[1]}\r
+\r
+\def\address#1{%\r
+ \gdef\@address{{\footnotesize\itshape #1}}}\r
+\let\@address\@empty\r
+\r
+\def\cgsn#1#2{%\r
+\gdef\@cgsn{%\r
+\footnotetext[0]{\\\r
+Contract/grant sponsor: #1; contract/grant\r
+number: #2}}}\r
+\r
+\def\cgs#1{%\r
+\gdef\@cgs{%\r
+\footnotetext[0]{\\\r
+Contract/grant sponsor: #1}}}\r
+\r
+\let\@cgsn\@empty\r
+\let\@cgs\@empty\r
+\r
+\def\affilnum#1{${}^{#1}$}\r
+\def\affil#1{${}^{#1}$}\r
+\def\comma{${}^{\text{,}}$}\r
+\r
+\renewcommand\maketitle{\par\r
+ \begingroup\r
+ \if@twocolumn\r
+ \ifnum \col@number=\@ne\r
+ \@maketitle\r
+ \else\r
+ \twocolumn[\@maketitle]%\r
+ \fi\r
+ \else\r
+ \newpage\r
+ \global\@topnum\z@ % Prevents figures from going at top of page.\r
+ \@maketitle\r
+ \fi\r
+ \thispagestyle{title}\label{FirstPage}\@corraddr\@cgs\@cgsn\r
+ \endgroup\r
+ %\setcounter{footnote}{0}%\r
+ \global\let\address\relax\r
+ \global\let\thanks\relax\r
+ \global\let\maketitle\relax\r
+ \global\let\@maketitle\relax\r
+ \global\let\@thanks\@empty\r
+ \global\let\@author\@empty\r
+ \global\let\@date\@empty\r
+ \global\let\@title\@empty\r
+ \global\let\@address\@empty\r
+ \global\let\corraddr\relax\r
+ \global\let\title\relax\r
+ \global\let\author\relax\r
+ \global\let\date\relax\r
+ \global\let\and\relax\r
+}\r
+\def\@maketitle{\vspace*{6pt}%\r
+\null%\r
+\begin{center}\r
+ {\titlesize\@title \par}%\r
+ \vskip 1.5em %\r
+ \vskip 5pt\r
+ {\large\r
+ \lineskip .5em%\r
+ \@author\r
+ \par}%\r
+ \vskip 11pt\r
+{\footnotesize\r
+ \lineskip .5em%\r
+ %\r
+ {\raggedright\emph\@address}\r
+ \par}%\r
+\end{center} \r
+ \vskip 31pt%\r
+ {\noindent\usebox\absbox\par}\r
+ {\lineskip 1.5em%\r
+ %\r
+ {\noindent\footnotesize Received \dots}\par}\r
+ {\vspace{11pt}%\r
+ %\r
+ {\noindent\@keywords}\par}\r
+ \vspace{12pt}\r
+ \par%\r
+ }\r
+ \r
+\def\startpage{\pageref{FirstPage}}\r
+\def\endpage{\pageref{LastPage}}\r
+\def\volumeyear{0000}\r
+\def\volumenumber{00}\r
+\r
+\gdef\copyrightline{Copyright \copyright\ \volumeyear\ John Wiley \& Sons, Ltd.}\r
+\def\runningheads#1#2{\markboth{\uppercase{#1}}{\uppercase{#2}}}\r
+\r
+\def\ps@title{%\r
+\def\@oddhead{%\r
+\parbox[t]{\textwidth}{%\r
+\begin{tabular}[t]{@{}l@{}}%\r
+{\footnotesize\journalname}\\[-3pt]\r
+{\footnotesize\emph{\journalabb} \volumeyear; \textbf{\volumenumber}:\startpage--\endpage}\\[-3pt]\r
+{\footnotesize Published online in Wiley InterScience (www.interscience.wiley.com). DOI: 10.1002/\DOI}\r
+\end{tabular}}}%\r
+\let\@evenhead\@oddhead\r
+\def\@oddfoot{\parbox[t]{\textwidth}{%\r
+{\footnotesize\copyrightline\hfill\\\r
+\textit{Prepared using \textsf{\journalclass} [Version: \update]\hfill}%\r
+}}}\r
+\let\@evenfoot\@oddfoot}\r
+\r
+\def\ps@wpage{\r
+\let\@mkboth\@gobbletwo\r
+\def\@evenhead{\normalsize \thepage\hfill\footnotesize{\leftmark}\hfill\normalsize\phantom{\thepage}}\r
+\def\@oddhead{\normalsize \phantom{\thepage}\hfill\footnotesize{\rightmark}\hfill\normalsize\thepage}\r
+\def\@evenfoot{\parbox[t]{\textwidth}{{\footnotesize \copyrightline}%\r
+\hfill\footnotesize{\it \journalabb\ }(\volumeyear)\\ %\r
+\footnotesize\textit{Prepared using \textsf{\journalclass}}\hfill DOI: 10.1002/\DOI}}\r
+\def\@oddfoot{\@evenfoot}\r
+}\r
+\r
+\renewcommand{\@seccntformat}[1]{{\csname the#1\endcsname.}\hspace{0.5em}}\r
+\r
+\newdimen\@bls \r
+\@bls=\baselineskip\r
+\r
+\renewcommand\section{\@startsection {section}{1}{\z@}%\r
+ {2\@bls plus .3\@bls minus .1\@bls}%\r
+ {1\@bls\@afterindentfalse}%\r
+ {\centering\normalfont\normalsize\protect\MakeTextUppercase}}\r
+\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%\r
+ {\@bls plus .3\@bls minus .1\@bls}%\r
+ {6pt\@afterindentfalse}%\r
+ {\normalfont\normalsize\raggedright\itshape}}\r
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%\r
+ {\@bls plus .2\@bls}%\r
+ {-5pt}%\r
+ {\normalfont\normalsize\itshape}}\r
+\r
+\def\enumerate{\ifnum \@enumdepth >3 \@toodeep\else\r
+ \advance\@enumdepth \@ne\r
+ \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list\r
+ {\csname label\@enumctr\endcsname}{\usecounter\r
+ {\@enumctr}\itemsep 0pt\parsep 0pt\r
+ \def\makelabel##1{\hss\llap{##1}}}\fi}\r
+\r
+\let\endenumerate =\endlist\r
+\r
+\def\itemize{\ifnum \@itemdepth >3 \@toodeep\else \advance\@itemdepth \@ne\r
+\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%\r
+\list{\csname\@itemitem\endcsname}{\itemsep 0pt\parsep 0pt\r
+\def\makelabel##1{\hss\llap{##1}}}\fi}\r
+\r
+\let\enditemize =\endlist\r
+\r
+\renewcommand{\thetable}{\Roman{table}}\r
+\r
+\usepackage{caption}\r
+\DeclareCaptionLabelSeparator{jwperiod}{.\hspace*{0.5ex}}\r
+\captionsetup[figure]{font=small,labelfont=rm,labelsep=jwperiod,justification=centerlast,singlelinecheck=true}\r
+\captionsetup[table]{position=top,font=small,labelfont=rm,labelsep=jwperiod,justification=centerlast,singlelinecheck=true}\r
+\r
+\def\thmhead@plain#1#2#3{%\r
+ \thmname{#1}\thmnumber{\@ifnotempty{#1}{ }{#2}}%\r
+ \thmnote{ {\the\thm@notefont(#3)}}}\r
+\r
+\newtheoremstyle{wiley}\r
+{6pt plus 2pt minus 2pt}% space above\r
+{6pt plus 2pt minus 2pt}% space below\r
+{}% Body font\r
+{}% Indent amount\r
+{\itshape}% Theorem head font\r
+{}% Punctuation after theorem head\r
+{\newline}% Space after theorem head\r
+{}% Theorem head spec\r
+\r
+\renewenvironment{proof}[1][\proofname]{\par\r
+ \pushQED{\qed}%\r
+ \normalfont \topsep6\p@\@plus6\p@\relax\r
+ \trivlist\r
+ \item[\hskip\labelsep\r
+ \itshape\r
+ #1\@addpunct{}]\mbox{}\newline\ignorespaces\r
+}{%\r
+ \popQED\endtrivlist\@endpefalse\r
+}\r
+\r
+\theoremstyle{wiley}\r
+\r
+\def\ack{\vspace{2\@bls plus .3\@bls minus .1\@bls}\r
+\noindent{\footnotesize\centerline{ACKNOWLEDGEMENT}}\\[6pt]\small\noindent}%\r
+\r
+\def\acks{\vspace{2\@bls plus .3\@bls minus .1\@bls}\r
+\noindent{\footnotesize\centerline{ACKNOWLEDGEMENTS}}\\[6pt]\small\noindent}%\r
+\r
+\renewcommand\refname{REFERENCES}\r
+\r
+\renewenvironment{thebibliography}[1]{%\r
+\vspace{2\@bls plus .3\@bls minus .1\@bls}\r
+\noindent{\footnotesize\centerline{\refname}}\\[-3pt]\r
+\list{{\arabic{enumi}}}{\def\makelabel##1{\hss{##1.}}\topsep=0\p@\parsep=0\p@\r
+\partopsep=0\p@\itemsep=0\p@\r
+\labelsep=1ex\itemindent=0\p@\r
+\settowidth\labelwidth{\footnotesize[#1]}%\r
+\leftmargin\labelwidth\r
+\advance\leftmargin\labelsep\r
+\advance\leftmargin -\itemindent\r
+\usecounter{enumi}}\footnotesize\r
+\def\newblock{\ }\r
+\sloppy\clubpenalty4000\widowpenalty4000\r
+\sfcode`\.=1000\relax}{\endlist}\r
+\r
+%\def\biog{\section*{Author's Biography}\small}\r
+%\def\biogs{\section*{Authors' Biographies}\small}\r
+\r
+\AtEndDocument{%\r
+\label{LastPage}}\r
+\r
+\hyphenation{com-mu-ni-ca-tions}\r
+\r
+\pagestyle{wpage}\r
+\normalsize\r
+\sloppy\r