File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ doc ///
2+ Node
3+ Key
4+ getAllTrees
5+ (getAllTrees,ZZ )
6+ (getAllTrees,List )
7+ Headline
8+ Get all Cayley-Menger trees on n vertices
9+ Usage
10+ L = getAllTrees n
11+ L = getAllTrees variableNames
12+ Inputs
13+ n : ZZ
14+ a positive integer
15+ variableNames : List
16+ the list of variables to use
17+ Outputs
18+ L :
19+ a list of polynomials, each representing a rooted tree leaves given by the argument list
20+ Description
21+ Text
22+ This function generates all rooted trees on n leaves,
23+ represented as polynomials in which each monomial corresponds
24+ to a clade (a subset of leaves descending from a common internal node).
25+ The leaves are labeled by variables x_1 to x_n (or the ones provided explicitly).
26+ Example
27+ getAllTrees 3
28+ QQ [a,b,c]
29+ getAllTrees {a,b,c}
30+ SeeAlso
31+ maximalTreePairs
32+ ///
You can’t perform that action at this time.
0 commit comments