File:Mapreduce.png

Uploaded by Chouhartem
Upload date 2017-03-17T14:28:13Z
MIME type image/png
Dimensions 1395 × 476 px
File size 37.1 KB

Summary

Description
Français : Schéma du fonctionnement du MapReduce
Date
Source Own work
Author Clém IAGL

Source code

\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{libertine}

\begin{document}
\begin{tikzpicture}[every node/.style={thick}]
  \colorlet{coul0}{orange!20} \colorlet{coul1}{blue!20} \colorlet{coul2}{red!20} \colorlet{coul3}{green!20}
  \tikzstyle{edge}=[->, very thick]
  \draw[thick, fill=violet!30] (-1, -2) rectangle node[rotate=90] {\textbf{Données en entrée}} (0,2);
  \foreach \i in {0,1,2,3} {
    \node[draw, fill=coul\i] (data\i) at (1.5, 1.5 - \i) {Données};
    \node[ellipse, draw, fill=cyan!20] (map\i) at (3.5, 1.5 - \i) {\textsf{Map}};
    \draw[edge] (0,0) -- (data\i.west);
    \draw[edge] (data\i) -- (map\i);
  }
  \node[draw, minimum height=1cm, fill=purple!30] (resultat) at (10, 0) {\textbf{Résultat}};
  \foreach \i in {0,1,2} {
    \node[draw, fill=yellow!20] (paire\i) at (5.5, 1.5 - \i*1.5) {\begin{minipage}{1cm}couple \centering $\langle k,v \rangle$\end{minipage}};
    \node[ellipse, draw, fill=cyan!20] (reduce\i) at (7.5, 1.5 - \i*1.5) {\textsf{Reduce}};
    \draw[edge] (paire\i) -- (reduce\i);
    \draw[edge] (reduce\i.east) -- (resultat);
  }
          %paire
  \draw[edge] (map0.east) -- (paire0.west); \draw[edge] (map0.east) -- (paire1.west);
  \draw[edge] (map1.east) -- (paire0.west); \draw[edge] (map1.east) -- (paire2.west);
  \draw[edge] (map2.east) -- (paire1.west); \draw[edge] (map2.east) -- (paire0.west);
  \draw[edge] (map3.east) -- (paire1.west); \draw[edge] (map3.east) -- (paire2.west);
\end{tikzpicture}
\end{document}

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

14 November 2012

38,015 byte

476 pixel

1,395 pixel

image/png

68480e42f249a7929e97c0fb287944229e181acf

Category:CC-BY-SA-3.0 Category:Files moved from de.wikipedia Kategorie:Datei:Mit OTRS-Freigabe to Commons Category:French-language diagrams Category:MapReduce Category:Self-published work Category:TikZ graphics