#14197: Add map from PerfectMatchings to Permutations. Fix string 
representation in
perfect matchings.
-----------------------------------------------+----------------------------
       Reporter:  ahmorales                    |         Owner:  sage-combinat  
                   
           Type:  enhancement                  |        Status:  needs_work     
                   
       Priority:  minor                        |     Milestone:  sage-5.8       
                   
      Component:  combinatorics                |    Resolution:                 
                   
       Keywords:  perfect matchings            |   Work issues:  latex          
                   
Report Upstream:  N/A                          |     Reviewers:  Alejandro 
Morales, Christian Stump
        Authors:  Chris Berg, Christian Stump  |     Merged in:                 
                   
   Dependencies:                               |      Stopgaps:                 
                   
-----------------------------------------------+----------------------------
Changes (by jdemeyer):

  * status:  positive_review => needs_work
  * work_issues:  => latex


Comment:

 The patchbot gives errors:
 {{{
 sage -t  -force_lib devel/sage-14197/sage/combinat/perfect_matching.py
 **********************************************************************
 File
 
"/mnt/storage2TB/patchbot/Sage/sage-5.8.beta2/devel/sage-14197/sage/combinat/perfect_matching.py",
 line 228:
     sage: latex(P) #indirect doctest
 Expected:
     \begin{tikzpicture}
     ...
     \end{tikzpicture}
 Got:
     <BLANKLINE>
     Warning: `tkz-graph.sty` is not part of this computer's TeX
 installation.
     This package is required to render graphs in LaTeX.
     Visit 'http://altermundus.com/pages/graph.html'.
     <BLANKLINE>
     <BLANKLINE>
     Warning: `tkz-berge.sty` is not part of this computer's TeX
 installation.
     This package is required to render graphs in LaTeX.
     Visit 'http://altermundus.com/pages/graph.html'.
     <BLANKLINE>
     \begin{tikzpicture}
     %
     \useasboundingbox (0,0) rectangle (5.0cm,5.0cm);
     %
     \definecolor{cv0}{rgb}{0.0,0.0,0.0}
     \definecolor{cfv0}{rgb}{1.0,1.0,1.0}
     \definecolor{clv0}{rgb}{0.0,0.0,0.0}
     \definecolor{cv1}{rgb}{0.0,0.0,0.0}
     \definecolor{cfv1}{rgb}{1.0,1.0,1.0}
     \definecolor{clv1}{rgb}{0.0,0.0,0.0}
     \definecolor{cv2}{rgb}{0.0,0.0,0.0}
     \definecolor{cfv2}{rgb}{1.0,1.0,1.0}
     \definecolor{clv2}{rgb}{0.0,0.0,0.0}
     \definecolor{cv3}{rgb}{0.0,0.0,0.0}
     \definecolor{cfv3}{rgb}{1.0,1.0,1.0}
     \definecolor{clv3}{rgb}{0.0,0.0,0.0}
     \definecolor{cv4}{rgb}{0.0,0.0,0.0}
     \definecolor{cfv4}{rgb}{1.0,1.0,1.0}
     \definecolor{clv4}{rgb}{0.0,0.0,0.0}
     \definecolor{cv5}{rgb}{0.0,0.0,0.0}
     \definecolor{cfv5}{rgb}{1.0,1.0,1.0}
     \definecolor{clv5}{rgb}{0.0,0.0,0.0}
     \definecolor{cv0v2}{rgb}{0.0,0.0,0.0}
     \definecolor{cv1v4}{rgb}{0.0,0.0,0.0}
     \definecolor{cv3v5}{rgb}{0.0,0.0,0.0}
     %
     \Vertex[style={minimum
 
size=0.4cm,draw=cv0,fill=cfv0,text=clv0,shape=circle},LabelOut=false,L=\hbox{$1$},x=2.5cm,y=5.0cm]{v0}
     \Vertex[style={minimum
 
size=0.4cm,draw=cv1,fill=cfv1,text=clv1,shape=circle},LabelOut=false,L=\hbox{$2$},x=0.0cm,y=3.75cm]{v1}
     \Vertex[style={minimum
 
size=0.4cm,draw=cv2,fill=cfv2,text=clv2,shape=circle},LabelOut=false,L=\hbox{$3$},x=0.0cm,y=1.25cm]{v2}
     \Vertex[style={minimum
 
size=0.4cm,draw=cv3,fill=cfv3,text=clv3,shape=circle},LabelOut=false,L=\hbox{$4$},x=2.5cm,y=0.0cm]{v3}
     \Vertex[style={minimum
 
size=0.4cm,draw=cv4,fill=cfv4,text=clv4,shape=circle},LabelOut=false,L=\hbox{$5$},x=5.0cm,y=1.25cm]{v4}
     \Vertex[style={minimum
 
size=0.4cm,draw=cv5,fill=cfv5,text=clv5,shape=circle},LabelOut=false,L=\hbox{$6$},x=5.0cm,y=3.75cm]{v5}
     %
     \Edge[lw=0.04cm,style={color=cv0v2,},](v0)(v2)
     \Edge[lw=0.04cm,style={color=cv1v4,},](v1)(v4)
     \Edge[lw=0.04cm,style={color=cv3v5,},](v3)(v5)
     %
     \end{tikzpicture}
 **********************************************************************
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14197#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to