% ----------------------------------------------------------------
% % References
% ----------------------------------------------------------------
\newcommand{\defref}[1]{Definition~\ref{#1}}
\newcommand{\Tabref}[1]{Table~\ref{#1}}
\newcommand{\tabref}[1]{Table~\ref{#1}}
% \newcommand{\figref}[1]{Fig.~\ref{#1}}
\renewcommand{\figref}[1]{Figure ~\ref{#1}}
\newcommand{\selffigref}[1]{(\ref{#1})}
\newcommand{\eqnref}[1]{\text{Equation}~(\ref{#1})}
\renewcommand{\eqref}[1]{\text{Equation}~(\ref{#1})}
% \newcommand{\secref}[1]{\S\ref{#1}}
\newcommand{\appref}[1]{Appendix \ref{#1}}
% \newcommand{\appref}[1]{the Appendix} % for short version of the paper
\newcommand{\thmref}[1]{Theorem~\ref{#1}}
\newcommand{\corref}[1]{Corollary~\ref{#1}}
\newcommand{\propref}[1]{Proposition~\ref{#1}}
\newcommand{\lemref}[1]{Lemma~\ref{#1}}
\newcommand{\conref}[1]{Condition~\ref{#1}}
\newcommand{\assref}[1]{Assumption~\ref{#1}}
\newcommand{\egref}[1]{Example~\ref{#1}}
\newcommand{\algoref}[1]{Algorithm~\ref{#1}}
% \newcommand{\lineref}[1]{line~\ref{#1}}
\newcommand{\Lineref}[1]{Line~\ref{#1}}


% ----------------------------------------------------------------
% Text conveniences
% ----------------------------------------------------------------
\newcommand{\cf}{\emph{c.f.}}

% ----------------------------------------------------------------
% Wrappers: Parens, brackets, etc
% ----------------------------------------------------------------
% \newcommand{\op}[1]{\operatorname{#1}}
\newcommand{\paren} [1] {\ensuremath{ \left( {#1} \right) }}
\newcommand{\parenb} [1] {\ensuremath{ \big( {#1} \big) }}
\newcommand{\bigparen} [1] {\ensuremath{ \Big( {#1} \Big) }}
\newcommand{\biggparen} [1] {\ensuremath{ \bigg( {#1} \bigg) }}
\newcommand{\Biggparen} [1] {\ensuremath{ \Bigg( {#1} \Bigg) }}
\newcommand{\bracket}[1]{\left[#1\right]}
\newcommand{\tuple}[1]{\ensuremath{\left\langle #1 \right\rangle}}
%\newcommand{\set}[1]{\ensuremath{\left\{#1\right\}}}
\newcommand{\curlybracket}[1]{\ensuremath{\left\{#1\right\}}}
\newcommand{\condcurlybracket}[2]{\ensuremath{\left\{#1\left\lvert\:#2\right.\right\}}}



% ----------------------------------------------------------------
% fundamental sets and objects
% ----------------------------------------------------------------
\newcommand{\NonNegativeReals}{\ensuremath{\mathbb{R}_{\ge 0}}}
\newcommand{\PositiveIntegers}{\ensuremath{\mathbb{Z^+}}}
\newcommand{\integers}{\ensuremath{\mathbb{Z}}}
\newcommand{\nats}{\ensuremath{\mathbb{N}}}
\newcommand{\reals}{\ensuremath{\mathbb{R}}}
\newcommand{\rationals}{\ensuremath{\mathbb{Q}}}
\newcommand{\distrib}[0]{\ensuremath{\mathcal{D}}}
\newcommand{\matroid}{\ensuremath{\mathcal{M}}}
\newcommand{\model}[0]{\ensuremath{\mathcal{M}}}
\newcommand{\hypotheses}[0]{\mathcal{H}}
\newcommand{\hvar}[0]{\ensuremath{H}}
\newcommand{\hypothesis}[0]{\ensuremath{h}}
\newcommand{\normal}[0]{\mathcal{N}}

% ----------------------------------------------------------------
% Functions and Functionals
% ----------------------------------------------------------------
\newcommand{\indic}[1]{\mathbbm{1}\left[#1\right]}
\renewcommand{\Pr}[1]{\ensuremath{\mathbb{P}\left[#1\right] }}
\newcommand{\expct}[1]{\mathbb{E}\left[#1\right]}
\newcommand{\expctover}[2]{\mathbb{E}_{#1}\!\left[#2\right]}
\newcommand{\PrOver}[2]{\ensuremath{\mathbb{P}_{#1}\!\left[#2\right]}}
% \newcommand{\abs}[1]{\left\vert#1\right\vert}

\newcommand{\mutualinfo}[1]{\mathbb{I}\paren{#1}}
\newcommand{\infogain}[1]{\operatorname{IG}\paren{#1}}

%% make lists small
\newcommand{\denselist}{\itemsep 0pt\topsep-10pt\partopsep-6pt}


\DeclareMathOperator{\mean}{mean}
% ----------------------------------------------------------------
% Caligraphic Vars
\newcommand{\cD}{{\mathcal{D}}}
\newcommand{\cS}{{\mathcal{S}}}
\newcommand{\cA}{{\mathcal{A}}}
\newcommand{\cG}{{\mathcal{G}}}
\newcommand{\cE}{{\mathcal{E}}}
\newcommand{\cV}{{\mathcal{V}}}
\newcommand{\cB}{{\mathcal{B}}}
\newcommand{\cX}{{\mathcal{X}}}
\newcommand{\cY}{{\mathcal{Y}}}
\newcommand{\cH}{{\mathcal{H}}}
\newcommand{\cU}{{\mathcal{U}}}
\newcommand{\cW}{{\mathcal{W}}}
\newcommand{\cC}{{\mathcal{C}}}
\newcommand{\cO}{{\mathcal{O}}}
\newcommand{\cI}{{\mathcal{I}}}
\newcommand{\cJ}{{\mathcal{J}}}
\newcommand{\cK}{{\mathcal{K}}}
\newcommand{\cR}{{\mathcal{R}}}
\newcommand{\cT}{{\mathcal{T}}}
\newcommand{\cM}{{\mathcal{M}}}

% ----------------------------------------------------------------
% Bold vars
\newcommand{\ba}{{\mathbf{a}}}
% \newcommand{\bb}{{\mathbf{b}}}
\newcommand{\bc}{{\mathbf{c}}}
\newcommand{\bd}{{\mathbf{d}}}
\newcommand{\bh}{{\mathbf{h}}}
\newcommand{\bp}{{\mathbf{p}}}
\newcommand{\bq}{{\mathbf{q}}}
\newcommand{\bs}{{\mathbf{s}}}
\newcommand{\bt}{{\mathbf{t}}}
\newcommand{\bu}{{\mathbf{u}}}
\newcommand{\bv}{{\mathbf{v}}}
\newcommand{\bw}{{\mathbf{w}}}
\newcommand{\bx}{{\mathbf{x}}}
\newcommand{\bn}{{\mathbf{n}}}
\newcommand{\be}{{\mathbf{e}}}
\newcommand{\by}{{\mathbf{y}}}
\newcommand{\bz}{{\mathbf{z}}}
\newcommand{\bX}{{\mathbf{X}}}
\newcommand{\bZ}{{\mathbf{Z}}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% toggle command
%\usepackage{etoolbox}
\usepackage{ifthen}

\newboolean{showcomments}
\setboolean{showcomments}{true}

% customized notations
\newcommand{\acqname}{\textsf{Acqname}\xspace}
\newcommand{\algname}{\textsf{Algname}\xspace}
\newcommand{\tempParam}{\zeta}
\newcommand{\regWeight}{\rho}
\newcommand{\regParam}{\lambda}
\newcommand{\indexRVar}{\phi}
\newcommand{\maxInfo}{\gamma}
\newcommand{\algParam}{\theta}


%%%% color text for note %%%%%%

\definecolor{ultramarine}{RGB}{24,13,191}


% customized commands
\newif\iffinal
% Un-comment this line to see proposal without comments
\finaltrue
\iffinal
    \newcommand{\yuxin}[1]{}
    \newcommand{\fengxue}[1]{}
    \newcommand{\minbiao}[1]{}
    \newcommand{\TBD}[1]{}
    \newcommand{\mh}[1]{#1}
    \newcommand{\rebuttal}[1]{#1}
    \newcommand{\revise}[1]{#1}
    \newcommand{\reviseFx}[1]{#1}
\else
    % \setuptodonotes{inline}
    \newcommand{\yuxin}[1]{\todo[color=purple!40]{YC: #1}\xspace}
    \newcommand{\minbiao}[1]{\todo[inline,color=green!40]{MH: #1}\xspace}
    \newcommand{\fengxue}[1]{\todo[inline,color=red!40]{FZ: #1}\xspace}
    \newcommand{\TBD}[1]{{{[{\bf TD:} \color{purple}#1]}{}}}
    \newcommand{\revise}[1]{{\color{cyan}#1}}
    \newcommand{\mh}[1]{{\color{cyan}#1}}
    \newcommand{\reviseFx}[1]{{\color{magenta}#1}}
\fi


\newcommand{\UCB}{\textsc{UCB}\xspace}
\newcommand{\TS}{\textsc{TS}\xspace}

\newcommand{\SE}{\textsc{SE}\xspace}
\newcommand{\Linear}{\textsc{Linear}\xspace}
\newcommand{\col}{\textrm{col}\xspace}


% global notations
\newcommand{\instance}{\boldsymbol{x}}
%\newcommand{\instance}[0]{\ensuremath{\mathbf{x}}}
\newcommand{\instanceOutput}[0]{\ensuremath{\tilde{\instance}}}
% \newcommand{\kSpace}[0]{\ensuremath{\mathbf{K}}}
% \newcommand{\uSpace}[0]{\ensuremath{\mathcal{U}}}
\newcommand{\uSpace}[0]{\ensuremath{[n]}}
\newcommand{\uSpaceNum}[0]{\ensuremath{n}}
\newcommand{\cFunc}[0]{\ensuremath{\mathcal{C}}}
\newcommand{\latentrep}[0]{\ensuremath{\mathbf{z}}}
\newcommand{\GramMat}[0]{\ensuremath{\mathbf{K}}}
\newcommand{\Selected}[0]{\ensuremath{\mathcal{D}}}
\newcommand{\LatentRepSet}[0]{\ensuremath{\mathbf{Z}}}
\newcommand{\featureExtractor}[0]{q}
\newcommand{\Space}[0]{\ensuremath{\mathcal{S}}}
%\newcommand{\searchSpace}[0]{\ensuremath{\mathbf{X}}}
\newcommand{\searchSpace}{\mathcal{X}}
\newcommand{\roi}[0]{{\ensuremath{\hat{\searchSpace}}}}
\newcommand{\LCB}[0]{{\ensuremath{\textrm{LCB}}}\xspace}
\newcommand{\CI}[0]{{\ensuremath{\textrm{CI}}}}
\newcommand{\UCBit}[0]{{\ensuremath{\textrm{UCB}}}}
\newcommand{\acqF}[0]{{\ensuremath{\alpha_{f, t}}}}
\newcommand{\acqC}[0]{{\ensuremath{\alpha_{\cFunc_k, t}}}}

\newcommand{\acqCI}[0]{{\ensuremath{\widehat{\textrm{CI}} }}}
\newcommand{\discreteSet}[0]{\ensuremath{\tilde{S}}}
\newcommand{\discreteROI}[0]{\ensuremath{\discreteSet_{\roi^t}}}
\newcommand{\actionSet}[0]{\ensuremath{\textit{A}}}
\newcommand{\maxInfoARISE}[0]{\ensuremath{\widehat{\maxInfo}}}

% \newcommand{\globalf}{\ensuremath{f_\text{g}}}
\newcommand{\globalf}{\ensuremath{f}}
\newcommand{\roif}{\ensuremath{\hat{f}}}
\newcommand{\acqRoici}{{\ensuremath{\alpha_{\hat{f},\textsc{RCI}}}}}
\newcommand{\acqTs}{{\ensuremath{\alpha_{\hat{f},\textsc{TS}}}}}

\newcommand{\roiRangeAt}[1]{\ensuremath{\Delta_{\textsc{roi},#1}}}

\newcommand{\interCI}{\textsc{\algname-ICI}\xspace}
\newcommand{\interUCB}{\textsc{\algname-IUCB}\xspace}
\newcommand{\roiTS}{\textsc{\algname-RTS}\xspace}
\newcommand{\roiCI}{\textsc{\algname-RCI}\xspace}

\newcommand{\DKBO}{\textsc{DKBO-AE}\xspace}
\newcommand{\LAMCTS}{\textsc{LA-MCTS}\xspace}
\newcommand{\turbo}{\textsc{TuRBO}\xspace}
\newcommand{\DAGname}{\textsc{Half Budget LSE-BO}\xspace}
\newcommand{\CAGname}{\textsc{ConBOTAC}\xspace}
\newcommand{\UCBextension}{\textsc{cUCB-UCB}\xspace}

\newcommand{\reward}[0]{\ensuremath{r}}
\newcommand{\regret}[0]{\ensuremath{\mathbf{R}}}
\newcommand{\GP}[0]{\ensuremath{\mathcal{GP}}\xspace}

% Definitions of handy macros can go here
\newcommand{\dataset}{{\cal D}}
\newcommand{\fracpartial}[2]{\frac{\partial #1}{\partial  #2}}
% \newcommand{\algo}{\texttt{TS-NE}}

% Adaptive Region of Interest Search for nash Equilibrium
% \newcommand{\algo}{\texttt{TS-NE}}
\newcommand{\algo}{\textsc{ARISE}}
\newcommand{\algnameglobal}{\textsc{ARISE-global}\xspace}
\newcommand{\algsur}{\textsc{SUR}\xspace}
\newcommand{\algprediction}{\textsc{Prediction}\xspace}
\newcommand{\algepsilongreedy}{\textsc{Epsilon Greedy}\xspace}

\newcommand{\partU}{\ensuremath{v_i}}
\newcommand{\utilF}{\ensuremath{u_i}}
%\newcommand{\partX}{\ensuremath{\instance'_i}}
\newcommand{\partX}{x'_{i}}
\newcommand{\repaF}{\ensuremath{\zeta}}
%\newcommand{\minusIX}{\ensuremath{\instance_{-i}}}
\newcommand{\minusIX}{\boldsymbol{x}_{-i}}
\renewcommand{\algname}{\algo\xspace}
