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
OTHER2017/tex/misc/functions.tex

148 lines
4.1 KiB
TeX
Executable File

\newcommand{\mAvgSquaredError}{\ensuremath{\overline{e}}}
\newcommand{\mLogDistGamma}{\ensuremath{\gamma}}
\newcommand{\mLogDistTX}{TX}
\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{\mPosAPVec}{\vec{\mPosAP}} % AP position vector
\newcommand{\mRssiVec}{\vec{s}} % client signal strength measurements
\newcommand{\mRssiVecWiFi}{\vec{s}_\text{wifi}} % client wifi signal strength measurements
\newcommand{\mRssiVecIB}{\vec{s}_\text{ib}} % client ibeacon 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{\mHeadingRel}{\theta}
\newcommand{\mHeadingAbs}{\Theta}
\newcommand{\mObsHeadingRel}{\Delta\mHeadingRel} % symbol used for relative heading
\newcommand{\mObsHeadingAbs}{\mHeadingAbs} % symbol used for absolute heading
\newcommand{\mStateHeading}{\mHeadingAbs} % symbol used for the state heading
\newcommand{\mSteps}{n_\text{steps}}
\newcommand{\mObsSteps}{\mSteps}
\newcommand{\mObsGPS}{\vec{g}}
\newcommand{\mObsGPSlat}{\text{lat}}
\newcommand{\mObsGPSlon}{\text{lon}}
\newcommand{\mObsGPSaccuracy}{\text{accuracy}}
\newcommand{\fPos}[1]{\textbf{pos}(#1)}
\newcommand{\fDistance}[2]{\delta(#1, #2)}
\newcommand{\fWA}[1]{\text{wall}(#1)}
\newcommand{\fDD}[1]{\text{door}(#1)}
\newcommand{\fImp}[1]{\text{imp}(#1)}
\newcommand{\fNN}[2]{\text{nn}(#1, #2)}
\newcommand{\fLength}[2]{\text{d}(#1, #2)}
%\newcommand{\mTarget}{\dot{v}}
\newcommand{\mVertexA}{v_i}
\newcommand{\mVertexB}{v_j}
\newcommand{\mEdgeAB}{e_{i,j}}
\newcommand{\mVertexDest}{v_\text{dest}}
\newcommand{\mUsePath}{\kappa}
\newcommand{\mStepSize}{s_\text{step}}
%\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{\numFloors}{\ensuremath{n}}
\newcommand{\mWAF}{\ensuremath{\beta}} % wall attenuation factor
\newcommand{\mGaussNoise}{\ensuremath{\mathcal{X}}}
\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}}