]> AND Private Git Repository - mpi-energy2.git/blobdiff - Heter_paper.tex
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Used existing operator for max.
[mpi-energy2.git] / Heter_paper.tex
index db8a3045e548c98b25da4a11b2b473f06e0d843d..a31c0fbec3daac05e494d832b2bd23499cbca224 100644 (file)
 \newcommand{\MaxDist}{\mathit{Max}\Dist}
 \newcommand{\MinTcm}{\mathit{Min}\Tcm}
 \newcommand{\Ntrans}{\Xsub{N}{trans}}
 \newcommand{\MaxDist}{\mathit{Max}\Dist}
 \newcommand{\MinTcm}{\mathit{Min}\Tcm}
 \newcommand{\Ntrans}{\Xsub{N}{trans}}
+\newcommand{\Pd}{\Xsub{P}{d}}
 \newcommand{\PdNew}{\Xsub{P}{dNew}}
 \newcommand{\PdOld}{\Xsub{P}{dOld}}
 \newcommand{\PdNew}{\Xsub{P}{dNew}}
 \newcommand{\PdOld}{\Xsub{P}{dOld}}
-%\newcommand{\Pdyn}{\Xsub{P}{dyn}}
-\newcommand{\Pd}{\Xsub{P}{d}}
-%\newcommand{\PnormInv}{\Xsub{P}{NormInv}}
 \newcommand{\Pnorm}{\Xsub{P}{Norm}}
 \newcommand{\Pnorm}{\Xsub{P}{Norm}}
-%\newcommand{\Pstates}{\Xsub{P}{states}}
-%\newcommand{\Pstatic}{\Xsub{P}{static}}
 \newcommand{\Ps}{\Xsub{P}{s}}
 \newcommand{\Scp}{\Xsub{S}{cp}}
 \newcommand{\Sopt}{\Xsub{S}{opt}}
 \newcommand{\Tcm}{\Xsub{T}{cm}}
 \newcommand{\Ps}{\Xsub{P}{s}}
 \newcommand{\Scp}{\Xsub{S}{cp}}
 \newcommand{\Sopt}{\Xsub{S}{opt}}
 \newcommand{\Tcm}{\Xsub{T}{cm}}
-%\newcommand{\Tcomp}{\Xsub{T}{comp}}
-\newcommand{\TcpOld}{\Xsub{T}{cpOld}}
 \newcommand{\Tcp}{\Xsub{T}{cp}}
 \newcommand{\Tcp}{\Xsub{T}{cp}}
-%\newcommand{\TmaxCommOld}{\Xsub{T}{Max Comm Old}}
-%\newcommand{\TmaxCompOld}{\Xsub{T}{Max Comp Old}}
-%\newcommand{\Tmax}{\Xsub{T}{max}}
+\newcommand{\TcpOld}{\Xsub{T}{cpOld}}
 \newcommand{\Tnew}{\Xsub{T}{New}}
 \newcommand{\Tnew}{\Xsub{T}{New}}
-%\newcommand{\Tnorm}{\Xsub{T}{Norm}}
 \newcommand{\Told}{\Xsub{T}{Old}} 
 
 \begin{document} 
 \newcommand{\Told}{\Xsub{T}{Old}} 
 
 \begin{document} 
@@ -647,7 +638,7 @@ maximum distance  between the  energy curve and  the performance curve  is while
     \If{(not the first frequency)}
           \State $F_i \gets F_i+\Fdiff_i,~i=1,\dots,N.$
     \EndIf 
     \If{(not the first frequency)}
           \State $F_i \gets F_i+\Fdiff_i,~i=1,\dots,N.$
     \EndIf 
-    \State $\Told \gets max_{~i=1,\dots,N } (\Tcp_i+\Tcm_i)$
+    \State $\Told \gets \max_{i=1,\dots,N} (\Tcp_i+\Tcm_i)$
     % \State $\Eoriginal \gets \sum_{i=1}^{N}{( \Pd_i \cdot  \Tcp_i)} +\sum_{i=1}^{N} {(\Ps_i \cdot \Told)}$
     \State $\Eoriginal \gets \sum_{i=1}^{N}{( \Pd_i \cdot  \Tcp_i + \Ps_i \cdot \Told)}$
     \State $\Sopt_{i} \gets 1,~i=1,\dots,N. $
     % \State $\Eoriginal \gets \sum_{i=1}^{N}{( \Pd_i \cdot  \Tcp_i)} +\sum_{i=1}^{N} {(\Ps_i \cdot \Told)}$
     \State $\Eoriginal \gets \sum_{i=1}^{N}{( \Pd_i \cdot  \Tcp_i + \Ps_i \cdot \Told)}$
     \State $\Sopt_{i} \gets 1,~i=1,\dots,N. $
@@ -657,7 +648,7 @@ maximum distance  between the  energy curve and  the performance curve  is while
         \State $F_i \gets F_i - \Fdiff_i,~i=1,\dots,N.$
         \State $S_i \gets \frac{\Fmax_i}{F_i},~i=1,\dots,N.$
         \EndIf
         \State $F_i \gets F_i - \Fdiff_i,~i=1,\dots,N.$
         \State $S_i \gets \frac{\Fmax_i}{F_i},~i=1,\dots,N.$
         \EndIf
-       \State $\Tnew \gets max_\textit{~i=1,\dots,N} (\Tcp_{i} \cdot S_{i}) + \MinTcm $
+       \State $\Tnew \gets \max_{i=1,\dots,N} (\Tcp_{i} \cdot S_{i}) + \MinTcm $
 %       \State $\Ereduced \gets \sum_{i=1}^{N}{(S_i^{-2} \cdot \Pd_i \cdot  \Tcp_i)} + \sum_{i=1}^{N} {(\Ps_i \cdot \rlap{\Tnew)}} $
        \State $\Ereduced \gets \sum_{i=1}^{N}{(S_i^{-2} \cdot \Pd_i \cdot  \Tcp_i + \Ps_i \cdot \rlap{\Tnew)}} $
        \State $\Pnorm \gets \frac{\Told}{\Tnew}$
 %       \State $\Ereduced \gets \sum_{i=1}^{N}{(S_i^{-2} \cdot \Pd_i \cdot  \Tcp_i)} + \sum_{i=1}^{N} {(\Ps_i \cdot \rlap{\Tnew)}} $
        \State $\Ereduced \gets \sum_{i=1}^{N}{(S_i^{-2} \cdot \Pd_i \cdot  \Tcp_i + \Ps_i \cdot \rlap{\Tnew)}} $
        \State $\Pnorm \gets \frac{\Told}{\Tnew}$