Skip to content

trees and binary trees #14498

@sagetrac-elixyre

Description

@sagetrac-elixyre

Hi,

I propose several methods for trees and binary trees:

File : trees_classicals_algorithms_EliX-jbp:
several classical operations on trees and binary trees

  • on abstract trees:
    • depth pre/post order transversal algorithm
    • breadth first order transversal algorithm
  • on binary trees:
    • infix order transversal algorithm
    • canonical permutation associated to the left/right binary search tree insertion
    • left/right rotate (for labelled and unlabelled BT)

File: trees_research_algorithms_EliX-jbp:
several research algorithms on binary trees

  • over/under (Loday-Ronco)
  • pred/succ in the Tamari lattice
  • hook length formula

File: trees_latex_output_EliX-jbp:
a method for nice latex output

Apply:

Depends on #8703
Depends on #14784

CC: @hivert @VivianePons @fchapoton @nathanncohen

Component: combinatorics

Keywords: trees, binary trees, latex

Author: Jean-Baptiste Priez

Branch/Commit: public/ticket/14498 @ 4e8fdd0

Reviewer: Darij Grinberg, Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/14498

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions