next | previous | forward | backward | up | top | index | toc | Macaulay2 website
PhylogeneticTrees :: buckets

buckets -- the equivalence classes of group elements of a Model

Synopsis

Description

Every group-based phyogenetic model has a finite group G associated to it. Parameters for the model are assigned to equivalence classes of group elements, which are orbits of some subgroup of the automorphism group of G. This function returns the equivalence classes as a list of list of group elements.

i1 : M = K2Pmodel

o1 = Model{AList => HashTable{{0, 0} => {1, 0, 0}}                          }
                              {0, 1} => {0, 1, 0}
                              {1, 0} => {0, 0, 1}
                              {1, 1} => {0, 0, 1}
           Automorphisms => HashTable{{2, 3} => HashTable{{0, 0} => {0, 0}}}
                                                          {0, 1} => {0, 1}
                                                          {1, 0} => {1, 1}
                                                          {1, 1} => {1, 0}
                                      {3, 2} => HashTable{{0, 0} => {0, 0}}
                                                          {0, 1} => {0, 1}
                                                          {1, 0} => {1, 1}
                                                          {1, 1} => {1, 0}
           Buckets => {{{0, 0}}, {{0, 1}}, {{1, 0}, {1, 1}}}
           Group => {{0, 0}, {0, 1}, {1, 0}, {1, 1}}

o1 : Model
i2 : B = buckets M

o2 = {{{0, 0}}, {{0, 1}}, {{1, 0}, {1, 1}}}

o2 : List

See also

Ways to use buckets :

For the programmer

The object buckets is a method function.