ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 23 Apr 2018 17:07:45 +0200how to find the tree having largest algebraic connectivity among a given class of treeshttps://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 16:03:17 +0200https://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>
https://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 17:07:45 +0200https://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