ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 23 Apr 2018 10:07:45 -0500how to find the tree having largest algebraic connectivity among a given class of treeshttp://ask.sagemath.org/question/42136/how-to-find-the-tree-having-largest-algebraic-connectivity-among-a-given-class-of-trees/ using the code, g for g in graphs.trees(10) we get the trees on 10 vertices. Now from this collection how we obtain only those trees having 5 pendant vertices and also find the tree(from those having 5 pendant vertices) having largest algebraic connectivity
Mon, 23 Apr 2018 09:03:17 -0500http://ask.sagemath.org/question/42136/how-to-find-the-tree-having-largest-algebraic-connectivity-among-a-given-class-of-trees/Comment by tmonteil for <p>using the code, g for g in graphs.trees(10) we get the trees on 10 vertices. Now from this collection how we obtain only those trees having 5 pendant vertices and also find the tree(from those having 5 pendant vertices) having largest algebraic connectivity </p>
http://ask.sagemath.org/question/42136/how-to-find-the-tree-having-largest-algebraic-connectivity-among-a-given-class-of-trees/?comment=42139#post-id-42139This looks like homework. What were your attempts in solving this ?Mon, 23 Apr 2018 10:07:45 -0500http://ask.sagemath.org/question/42136/how-to-find-the-tree-having-largest-algebraic-connectivity-among-a-given-class-of-trees/?comment=42139#post-id-42139