forked from potassco-asp-course/systems
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasprin.tex
61 lines (60 loc) · 2.11 KB
/
asprin.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
% ----------------------------------------------------------------------
\newcommand{\pf}[0]{\ensuremath{\mathit{preference}}} % {\ensuremath{p}}
\newcommand{\name}[0]{\ensuremath{\mathit{name}}} % {\ensuremath{p}}
% ----------------------------------------------------------------------
\begin{frame}{\asprin}
\begin{itemize}
\item \structure{Idea} \ framework for optimizing preferences among stable models
\item \structure{Features} \
\begin{itemize}
\item combinations of qualitative and quantitative preferences
\item easy implementation of new preferences
\item library of existing preference concepts
\end{itemize}
\item \structure{References} \ \cite{brderosc15a,alrosc18a,brderosc22a}
\end{itemize}
\end{frame}
% ----------------------------------------------------------------------
\begin{frame}[fragile]{Example}
\begin{lstlisting}[language=clingo,basicstyle=\small\ttfamily]
#preference(costs,less(weight)){
C :: sauna : cost(sauna,C);
C :: dive : cost(dive,C)
}.
#preference(fun,superset){
sauna; dive; hike; not bunji
}.
#preference(temps,aso){
dive >> sauna || hot;
sauna >> dive || not hot
}.
#preference(all,pareto){**costs; **fun; **temps}.
#optimize(all).
\end{lstlisting}
\end{frame}
% ----------------------------------------------------------------------
\begin{frame}{\asprin's library}
\begin{itemize}
\item<1-> \structure{Basic preference types}
\begin{itemize}
\item \texttt{subset} and \texttt{superset}
\item \texttt{less(cardinality)} and \texttt{more(cardinality)}
\item \texttt{less(weight)} and \texttt{more(weight)}
\item \texttt{aso} (Answer Set Optimization) \nocite{brnitr03a}
\item \texttt{poset} (Qualitative Preferences) \nocite{rogima10a}
\end{itemize}
\item<2-> \structure{Composite preference types} \nocite{sonpon06a}
\begin{itemize}
\item \texttt{neg}
\item \texttt{and}
\item \texttt{pareto}
\item \texttt{lexico}
\end{itemize}
\end{itemize}
\end{frame}
% ----------------------------------------------------------------------
%
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "../../main"
%%% End: