Fichier:Pfaffian orientation via FKT algorithm example.gif

De testwiki
Aller à la navigation Aller à la recherche
    Fichier d’origine (100 × 140 pixels, taille du fichier : 38 kio, type MIME : image/gif, en boucle, 12 trames, 24 s)

    Ce fichier provient de Wikimedia Commons et peut être utilisé par d'autres projets. Sa description sur sa page de description est affichée ci-dessous.

    Description

    Description An animation showing how to obtain a Pfaffian orientation of a graph using the FKT algorithm.
    Date 21 février 2011 (date de téléversement originale)
    Source

    Transféré de en.wikipedia à Commons par Bender2k14 utilisant CommonsHelper.

    Initially created in LaTeX with the help of TikZ and Beamer, split and converted by pdf2svg, cropped in Inkscape, and merged into a gif with ImageMagick.

    \documentclass{beamer}
    \usepackage{tikz}
    \setbeamertemplate{navigation symbols}{}
    \begin{document}
    \begin{frame}
     \begin{tikzpicture}[xscale=3, yscale=4, every node/.style={circle, minimum size=1.5mm, inner sep=0pt, draw, fill}]
      \node (A) at (0.06, 0.89) {};
      \node (B) at (0.42, 1.00) {};
      \node (C) at (0.80, 0.96) {};
      \node (D) at (0.09, 0.65) {};
      \node (E) at (0.43, 0.56) {};
      \node (F) at (0.90, 0.52) {};
      \node (G) at (0.03, 0.46) {};
      \node (H) at (0.29, 0.41) {};
      \node (I) at (0.62, 0.31) {};
      \node (J) at (0.25, 0.21) {};
      \draw (B) -- (C) -- (F) -- (I) -- (J) -- (G) -- (D) -- (A) -- (B);
      \draw (B) -- (E) -- (H) -- (J);
      \draw (D) -- (E) -- (F);
      \draw (H) -- (I);
      \begin{scope}[very thick, red]
       \only<2->{
        \draw (G) -- (D) -- (A) -- (B) -- (C) -- (F);
        \draw (B) -- (E) -- (H) -- (J);
        \draw (H) -- (I);}
      \end{scope}
      \begin{scope}[->, >=stealth, very thick, red]
       \only<3->{
        \draw (B) -- (A);
        \draw (B) -- (C);
        \draw (D) -- (G);
        \draw (D) -- (A);
        \draw (E) -- (B);
        \draw (F) -- (C);
        \draw (H) -- (E);
        \draw (H) -- (I);
        \draw (J) -- (H);}
      \end{scope}
      \begin{scope}[every node/.style={circle, minimum size=1.5mm, inner sep=0pt, draw, fill=blue}]
       \only<4-10>{
        \node (ABDE)  at (barycentric cs:A=0.25,B=0.25,D=0.25,E=0.25) {};
        \node (BCEF)  at (barycentric cs:B=0.25,C=0.25,E=0.25,F=0.25) {};
        \node (DEGHJ) at (barycentric cs:D=0.2,E=0.2,G=0.4,H=0,J=0.2) {};
        \node (EFHI)  at (barycentric cs:E=0.25,F=0.75,H=0.25,I=0.25) {};
        \node (HIJ)   at (barycentric cs:H=1/3,I=1/3,J=1/3) {};
        \node (root)  at (0.8,0.1) {};}
      \end{scope}
      \begin{scope}[very thick, blue]
       \only<5-10>{
        \draw (ABDE) -- (DEGHJ) .. controls (0,0) and (0.3,0.0) .. (root);
        \draw (BCEF) -- (EFHI)  -- (root);
        \draw (HIJ)  -- (root);}
      \end{scope}
      \begin{scope}[->, >=stealth, very thick, red]
       \only<6-> {\draw (D) -- (E);}
       \only<7-> {\draw (F) -- (E);}
       \only<8-> {\draw (G) -- (J);}
       \only<9-> {\draw (I) -- (F);}
       \only<10->{\draw (I) -- (J);}
      \end{scope}
     \end{tikzpicture}
     \only<11>\hfill
    \end{frame}
    \end{document}
    

    pdf2svg matchings.pdf matchings-%d.svg all
    

    convert -delay 200 -size 100x140 -coalesce matchings-1.svg matchings-2.svg matchings-3.svg matchings-4.svg \
     matchings-5.svg matchings-6.svg matchings-7.svg matchings-8.svg matchings-9.svg matchings-10.svg matchings-11.svg \
     matchings-11.svg Pfaffian_orientation_via_FKT_algorithm_example.gif
    
    Auteur ou autrice Original téléversé par Bender2k14 sur Wikipédia anglais.

    Conditions d’utilisation

    w:fr:Creative Commons
    paternité
    Ce fichier est disponible selon les termes de la licence Creative Commons Attribution 3.0 Non Transposé.
    Vous êtes libre :
    • de partager – de copier, distribuer et transmettre cette œuvre
    • d’adapter – de modifier cette œuvre
    Sous les conditions suivantes :
    • paternité – Vous devez donner les informations appropriées concernant l'auteur, fournir un lien vers la licence et indiquer si des modifications ont été faites. Vous pouvez faire cela par tout moyen raisonnable, mais en aucune façon suggérant que l’auteur vous soutient ou approuve l’utilisation que vous en faites.

    Journal des téléversements d’origine

    La page de description originale était ici. Tous les noms d'utilisateur qui suivent se rapportent à en.wikipedia.
    • 2011-02-21 05:21 Bender2k14 100×140× (38754 bytes) An animation showing how to obtain a Pfaffian orientation of a graph using the [[FKT algorithm]].

    Légendes

    Ajoutez en une ligne la description de ce que représente ce fichier

    Éléments décrits dans ce fichier

    dépeint

    image/gif

    Historique du fichier

    Cliquer sur une date et heure pour voir le fichier tel qu'il était à ce moment-là.

    Date et heureVignetteDimensionsUtilisateurCommentaire
    actuel10 mars 2011 à 02:43Vignette pour la version du 10 mars 2011 à 02:43100 × 140 (38 kio)wikimediacommons>File Upload Bot (Magnus Manske) {{BotMoveToCommons|en.wikipedia|year={{subst:CURRENTYEAR}}|month={{subst:CURRENTMONTHNAME}}|day={{subst:CURRENTDAY}}}} {{Information |Description={{en|An animation showing how to obtain a Pfaffian orientation of a graph using the en:FKT algorithm.

    Aucune page n’utilise ce fichier.