%===============================================================================
% Zweck:    KTR-Präsentation-Vorlage
% Erstellt: 15.04.2013
% Update:   04.07.2016
% Autor:    M.G.
%===============================================================================

\newcommand\ratio{169}
\documentclass[10pt,aspectratio=\ratio,
%draft,
%handout,
compress
]{beamer}

\newcommand\meta{../meta}
\input{\meta/config/commands}


\def\signed #1{{\leavevmode\unskip\nobreak\hfil\penalty50\hskip2em
  \hbox{}\nobreak\hfil(#1)%
  \parfillskip=0pt \finalhyphendemerits=0 \endgraf}}

\newsavebox\mybox
\newenvironment{aquote}[1]
  {\savebox\mybox{#1}\begin{fancyquotes}}
  {\signed{\usebox\mybox}\end{fancyquotes}}


\input{\meta/config/hyphenation}

\setbeamertemplate{caption}[numbered]
%\numberwithin{figure}{section}

\begin{document}
  %===============================================================================
  % Zum Kompilieren latexmk ausführen.
  %	Konfiguration in texmaker: Options -> Configure Texmaker -> Quick Build -> Select Latexmk + ViewPD
  %	Entsprechende Informationen in den config/metainfo verändern
  % Zur Auswahl der Sprache im folgenden Befehl
  % ngerman für deutsch eintragen, english für Englisch.
  %===============================================================================
\selectlanguage{english}
\ifnum\ratio<169
\frame{\titlepage}
\else
\frame[plain]{\titlepage}
\fi

%\AtBeginSection[]
%{
%  \frame<handout:0>
%  {
%    \frametitle{Outline}
%    \tableofcontents[currentsection,hideallsubsections]
%  }
%}

%\AtBeginSubsection[]
%{
%  \frame<handout:0>
%  {
%    \frametitle{Outline}
%    \tableofcontents[sectionstyle=show/hide,subsectionstyle=show/shaded/hide,subsubsectionstyle=hide]
%  }
%}

\AtBeginSubsubsection[]
{
  \frame<handout:0>
  {
    \frametitle{Outline}
    \tableofcontents[sectionstyle=show/hide,subsectionstyle=show/shaded/hide,subsubsectionstyle=show/shaded/hide]
  }
}

\newcommand<>{\highlighton}[1]{%
  \alt#2{\structure{#1}}{{#1}}
}

\newcommand{\icon}[1]{\pgfimage[height=1em]{#1}}

\section*{}
\phantomsection
\begin{frame}{Content}
\tableofcontents[hideallsubsections]
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%% Content starts here %%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{Ortsbezogene Spiele}
\begin{frame}{Ortsbezogene Spiele}
\framesubtitle{Spass und Datenspuren}
\begin{itemize}
	\item Spielhandlungen an realen Orten verankert
	\item 
\end{itemize}
TODO: cite \cite{Ahlqvist2018,1705427} %TODO
\end{frame}

\section{präzisierte problemstellung}
\begin{frame}{präzisierte problemstellung}
\begin{itemize}
	\item framework for analysis
	\item expert users/researcher vs. staging/designing
	\item integration von externen daten (fragebögen => CSV o.ä.)
	\item adaptable for multiple games
\end{itemize}
components
\begin{itemize}
	\item {\small(create + store game log)}
	\item per-game importer
	\item analyzer modules crunch numbers
	\item output/visualization
	\item interface
	\item cross-game comparisons
\end{itemize}
\end{frame}

\section{forschungsstand}
  \frame<handout:0>
  {
    \tableofcontents[sectionstyle=show/hide,hideothersubsections]
  }

\subsection{logs}
\begin{frame}{log processing}
Technologies
\begin{itemize}
	\item ELK (Elastic search, Logstash, Kibana) -- Collectd, Influx DB, Grafana -- …
\end{itemize}
\begin{itemize}
	\item[+] widely deployed
	\item[+] powerful query languages %TODO example
	\item mainly web/server monitoring
	\item[-] spatial analysis: heavily anonimised/reduced resolution
	\item[-] fast-paced enviroment
\end{itemize}
TODO: bild mit importiertem GG2-logfile %TODO

TODO: cite \cite{steinegger2016analyse,andreassen2015monitoring,yang2016aggregated,sanjappa2017analysis} %TODO
\end{frame}

\subsection{fussgänger}
\begin{frame}{fussgänger traces}
\begin{itemize}
	\item 
\end{itemize}
TODO: cite \cite{ren2015mining,Ferrante_2016,Gong_2014,Ranacher_2015,van_der_Spek_2009,tourist_analysis2012} %TODO
\end{frame}

\subsection{analyzing games}
\begin{frame}{analyzing gamez}
\begin{itemize}
	\item there's more than heatmaps
	\item combine position with game actions
	\item identify patterns, balancing issues
	\item manual processes \cite{Drachen2013,AHLQVIST20181}
\end{itemize}
\vspace{-42pt}
%\image{.5\textwidth}{game-an}{chat logs with players location \cite{Drachen2013}}{img:chatlogs}
%\image{.5\textwidth}{ac3-death}{identify critical sections \cite{Drachen2013}}{img:ac3death}
\twofigures{0.5}{game-an}{chat logs with players location \cite{Drachen2013}}{img:chatlogs}{ac3-death}{identify critical sections \cite{Drachen2013}}{img:ac3death}{game analytics}{fig:gameanal}
\end{frame}

\subsection{loc based games}
\begin{frame}{analyzing location based games}
\begin{itemize}
	\item fragebögen (prä + post; p-hacking)
\end{itemize}
TODO: cite \cite{Schaal2017} %TODO
\end{frame}

\subsection{summary}
\begin{frame}{Zusammenfassung}
\begin{itemize}
	\item log processing: doof
	\item fussgänger-tracks auswerten: totgeschlagen (gps messfehler, muster, verhaltenserkennung, …)
	\item räumliche auswertung von computerspielen: läuft
	\item auswertung ortsbezogener spiele: macht niemand?
\end{itemize}
\end{frame}

\section{lösungsansatz}
  \frame<handout:0>
  {
    \tableofcontents[sectionstyle=show/hide,hideothersubsections]
  }
\subsection{requirements}
\begin{frame}{requirements}
…
\end{frame}
\subsection{ablauf}
\begin{frame}{lösungsansatz}
\begin{itemize}
	\item map-reduce like
	\item map: analyse-läufe
	\begin{itemize}
		\item log-eintrags basiert
		\item reichern log an
		\item filtern log
		\item metriken über komplette log => extern gespeichert
		\item => evtl. Abhängigkeiten in Reihenfolge
		\item basis-funktionalität || spiel-bezogen
	\end{itemize}
	\item reduce: Operieren mit Ergebnissen (über alle verarbeiteten logs hinweg)
	\begin{itemize}
		\item render
		\item verteilung, …
	\end{itemize}
\end{itemize}
\image{.5\textwidth}{../../ThesTeX/images/flowchart.pdf}{flowchart}{img:flow}
\end{frame}


\section{Ausblick: Umsetzung}
\begin{frame}{Umsetzung}
\framesubtitle{In Blau}
\begin{itemize}
	\item python (3)
	\item standalone library/cli tool
	\item web based configuration/runner/API(flask)
	\item …
\end{itemize}
%#1 Breite
%#2 Datei (liegt im image Verzeichnis)
%#3 Beschriftung
%#4 Label fuer Referenzierung
\image{.25\textwidth}{\meta/config/images/logo.png}{Uni-Logo}{img:logo}
\end{frame}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%% References          %%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section*{}
\begin{frame}[allowframebreaks]{References}
 \def\newblock{\hskip .11em plus .33em minus .07em}
 \scriptsize
 \bibliographystyle{IEEEtran}
 \bibliography{../ThesTeX/content/literature.bib}
 \normalsize
\end{frame}



\end{document}
