This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Fusion2016/tex/misc/functions.tex

121 lines
3.1 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{\mPressure}{\rho}
\newcommand{\mObsPressure}{\mPressure_\text{rel}} % symbol for observation pressure
\newcommand{\mStatePressure}{\hat{\mPressure}_\text{rel}} % symbol for state pressure
\newcommand{\mHeading}{\theta}
\newcommand{\mObsHeading}{\Delta\mHeading} % symbol used for the observation heading
\newcommand{\mStateHeading}{\mHeading} % symbol used for the state heading
\newcommand{\mSteps}{n_\text{steps}}
\newcommand{\mObsSteps}{\mSteps}
\newcommand{\mNN}{\text{nn}}
\newcommand{\mKNN}{\text{knn}}
%\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%
}%
}%
}
%\newcommand{\commentByFrank}[1]{}
%\newcommand{\commentByToni}[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{\beta}} % 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}}