Files
IPIN2016/presentation/misc/functions.tex
2016-10-02 12:56:03 +02:00

104 lines
2.6 KiB
TeX

\newcommand{\mAvgSquaredError}{\ensuremath{\overline{e}}}
\newcommand{\mLogDistGamma}{\ensuremath{\gamma}}
\newcommand{\mLogDistTX}{TX}
\newcommand{\mDongle}[1]{\ensuremath{D_{#1}}}
%\newcommand{\mDongle}{d} % dongle
\newcommand{\mBeacon}[1]{\ensuremath{B_{#1}}} % beacon
\newcommand{\mRssi}{\ensuremath{s}} % client's signal-strength measurement
\newcommand{\mMdlRSSI}{\ensuremath{\varsigma}} % model's signal-strength
\newcommand{\mPosAP}{\varrho} % char for access point position vector
\newcommand{\mPos}{\rho} % char for positions
\newcommand{\mPosVec}{\vec{\mPos}} % position vector
\newcommand{\mRssiVec}{\vec{s}} % client signal strength measurements
\newcommand{\mState}{q} % state variable
\newcommand{\mStateVec}{\vec{q}} % state vector variable
\newcommand{\mObs}{o} % observation variable
\newcommand{\mObsVec}{\vec{o}} % observation vector variable
\newcommand{\mObsWifi}{\vec{o}_{\text{wifi}}} % wifi observation
\newcommand{\mProb}{p} % char for probability
\newcommand{\mMovingAvgWithSize}[1]{\ensuremath{\text{avg}_{#1}}}
%\newcommand{\docIBeacon}{iBeacon}
% for equation references
\newcommand{\refeq}[1]{eq. \eqref{#1}}
% add todo notes
\newcommand{\todo}[1]{%
\noindent%
\fcolorbox{black}{yellow}{%
\parbox[position]{0.45\textwidth}{%
\footnotesize%
{\bf TODO} #1%
}%
}%
}
%comments
\newcommand{\commentByFrank}[1]{%
\noindent%
\fcolorbox{black}{cyan}{%
\parbox[position]{0.45\textwidth}{%
\footnotesize%
{\bf Frank:} #1%
}%
}%
}
\newcommand{\commentByLukas}[1]{%
\noindent%
\fcolorbox{black}{green}{%
\parbox[position]{0.45\textwidth}{%
\footnotesize%
{\bf Lukas:} #1%
}%
}%
}
\newcommand{\commentByToni}[1]{%
\noindent%
\fcolorbox{black}{red}{%
\parbox[position]{0.45\textwidth}{%
\footnotesize%
{\bf Toni:} #1%
}%
}%
}
\newcommand{\docRSSI}{RSSI}
\newcommand{\docTX}{TX}
\newcommand{\docLogDist}{log-distance}
%\newcommand{\docAP}{access-point}
%\newcommand{\docAPs}{access-points}
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\mPLE}{\ensuremath{\gamma}} % path-loss exponent
\newcommand{\mTXP}{\ensuremath{P_0}} % tx-power
\newcommand{\mWAF}{\ensuremath{\lambda}} % wall attenuation factor
\newcommand{\mMdlDist}{\ensuremath{d}} % distance used within propagation models
\newcommand{\mGraph}{\ensuremath{G}}
\newcommand{\mVertices}{\ensuremath{V}}
\newcommand{\mVertex}{\ensuremath{v}}
\newcommand{\mVertexB}{\ensuremath{w}}
\newcommand{\mEdges}{\ensuremath{E}}
\newcommand{\mEdge}{\ensuremath{e}}