From a0a9a22f2bb0de328005c36bba7eb060fc7eb1f2 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Wed, 15 May 2019 04:46:07 +0200 Subject: [PATCH] add ex2.3 --- ex2/main_3.tex | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ex2/main_3.tex b/ex2/main_3.tex index d4b0fff..aef9625 100644 --- a/ex2/main_3.tex +++ b/ex2/main_3.tex @@ -1 +1,16 @@ %ex2.3 + +\begin{enumerate}[label=(\alph*)] + \item + \textbf{Map function:} for every tuple t in R and for every tuple t in + S, produce the key-value pair (t,t);\\ + \textbf{Reduce funtion:} Receives input of the form (t; [t, t, …, t])\\ + \item + \textbf{Map function:} for every tuple t in R and for every tuple t in + S, produce the key-value pair (t; ''R'') or (t; ''S''), respectively.\\ + \textbf{Reduce function:} Receives input of the form (t; + [x_{1},…,x_{n}]), where each x_{i} is either the form of ''R'' or + ''S''. + Outputs (t,t) if the input contains both values ''R'' and ''S'' and + outputs nothing otherwise.\\ +\end{enumerate} -- 2.43.0