
\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}{\hat\varrho}							% char for access point position vector
\newcommand{\mPos}{\rho}								% char for positions
\newcommand{\mPosVec}{\vec{\mPos}}						% position vector
\newcommand{\mPosAPVec}{\ensuremath{\vec{\mPosAP}}}     % AP 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{\mParticle}{X}	
\newcommand{\mParticleVec}{\vec{X}}

\newcommand{\probGrid}{\vec{Q}}

\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{\mActivity}{\Omega}
\newcommand{\mObsActivity}{\mActivity}

\newcommand{\mNN}{\text{nn}}
\newcommand{\mKNN}{\text{knn}}
\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{\gDist}{d_\text{step}}
\newcommand{\gHead}{\theta_\text{walk}}


\newcommand{\mUsePath}{\kappa}

\newcommand{\mStepSize}{s_\text{step}}

%\newcommand{\docIBeacon}{iBeacon}

% for equation references
\newcommand{\refeq}[1]{\eqref{#1}}

\newcommand{\reffig}[1]{fig.~\ref{#1}}
\newcommand{\refFig}[1]{Fig.~\ref{#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.95\textwidth}{%
			\footnotesize%
			{\bf Frank:} #1%
		}%
	}%
}
\newcommand{\commentByMarkus}[1]{%
	\noindent%
	\fcolorbox{black}{green}{%
		\parbox[position]{0.95\textwidth}{%
			\footnotesize%
			{\bf Markus:} #1%
		}%
	}%
}
\newcommand{\commentByToni}[1]{%
	\noindent%
	\fcolorbox{black}{red}{%
		\parbox[position]{0.95\textwidth}{%
			\footnotesize%
			{\bf Toni:} #1%
		}%
	}%
}

\newcommand{\docRSSI}{RSSI}
\newcommand{\docTX}{TX}
\newcommand{\docLogDist}{log-distance}

%\newcommand{\docAP}{access-point}
%\newcommand{\docAPs}{access-points}


% \SI command for math mode formulas with correct spacing
\newcommand{\SIm}[2]{\ensuremath{#1\,\si{#2}}}

\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}}



