Dendriform.Grove
— TypeGrove of planar binary trees, matrix equivalence class
Summary
mutable struct Grove <: AbstractGrove
Fields
degr::UInt8 size::Int Y::Array{UInt8,2}
Dendriform.Grove
— MethodGrove(g::AbstractGrove)
Creates Grove object from any NotGrove object
Dendriform.Grove
— MethodGrove(g::Array{Int,n})
Creates Grove using Loday label array of dimension 1 or 2
Dendriform.Grove
— MethodGrove(degree::Int, index::Integer)
Looks up Grove using degree and grove index
Dendriform.GroveBin
— TypeCompressed binary representation of grove
Summary
mutable struct GroveBin <: AbstractGrove
Fields
degr::UInt8 size::Int gbin::Integer ppos::Float16
Dendriform.GroveBin
— MethodGroveBin(g::AbstractGrove)
Converts Grove g into a GroveBin
Dendriform.PBTree
— TypePlanar Binary Tree with Loday's notation
Summary
mutable struct PBTree <: AbstractGrove
Fields
degr::UInt8 Y::Array{UInt8,1}
Dendriform.PBTree
— MethodPBTree(t::Array{Int,1})
Creates PBTree using Loday label array
Dendriform.PBTree
— MethodPBTree(degree::Int, index::Int)
Looks up PBTree using degree and tree index
AbstractLattices.:∨
— Method∨(left::AbstractPBTree, right::AbstractPBTree)
Grafts the left and right AbstractPBTree objects
Base.:*
— Method*(a::AbstractGrove, b::AbstractGrove)
Returns Grove obtained from a × b operation
Base.:+
— Method+(a::AbstractGrove, b::AbstractGrove)
Returns Grove obtained from a + b operation
Base.:∪
— Method∪(g...)
Returns union of AbstractGrove objects
Dendriform.:⊢
— Method⊢(a::AbstractGrove, b::AbstractGrove)
Returns Grove obtained from a ⊢ b operation
Dendriform.:⊣
— Method⊣(a::AbstractGrove, b::AbstractGrove)
Returns Grove obtained from a ⊣ b operation
Dendriform.:⊴
— Method⊴(a::AbstractPBTree,b::AbstractPBTree)
Returns Grove of trees ordered between a and b
Dendriform.:⋖
— Method⋖(a::AbstractPBTree, b::AbstractPBTree)
Returns Bool that tells if b covers a in Tamari partial order
Dendriform.:⋗
— Method⋗(a::AbstractPBTree, b::AbstractPBTree)
Returns Bool that tells if a covers b in Tamari partial order
Dendriform.between
— Methodbetween(a::AbstractPBTree,b::AbstractPBTree)
Returns Grove of trees ordered between a and b
Dendriform.dashv
— Methoddashv(a::AbstractGrove, b::AbstractGrove)
Returns Grove obtained from a ⊣ b operation
Dendriform.graft
— Methodgraft(left::AbstractPBTree, right::AbstractPBTree)
Grafts the left and right PBTree with root vertex
Dendriform.grovebit
— Methodgrovebit(::AbstractGrove)
Returns a BitArray of tree indices
Dendriform.grovecheck
— Methodgrovecheck(::AbstractGrove)
Returns Bool that tells if Grove is valid
Dendriform.grovedisplay
— Functiongrovedisplay(::Bool)
Toggles the display output of grove index data (disabled by default)
Dendriform.groveindex
— Methodgroveindex(::AbstractGrove)
Returns the grove index of any Grove
Dendriform.grovesort
— Functiongrovesort(::Bool)
Toggles the grovesort algorithm (enabled by default - RECOMMENDED)
Dendriform.left
— Methodleft(::AbstractPBTree)
Returns the left branch of an AbstractPBTree
Dendriform.over
— Methodover(a::AbstractPBTree, b::AbstractPBTree)
Returns PBTree obtained from a over b operation
Dendriform.posetnext
— Methodposetnext(::AbstractPBTree)
Returns a Grove that covers the given tree
Dendriform.posetprev
— Methodposetprev(::AbstractPBTree)
Returns a Grove that covers the given tree
Dendriform.right
— Methodright(::AbstractPBTree)
Returns the right branch of an AbstractPBTree
Dendriform.treecheck
— Methodtreecheck(::AbstractPBTree)
Returns Bool that tells if PBTree is valid
Dendriform.treeindex
— Methodtreeindex(::AbstractGrove)
Returns tree indices of any PBTree or Grove
Dendriform.treeshift
— Functiontreeshift(::Bool)
Toggles the shift for the tree integers / rationals
Dendriform.under
— Methodunder(a::AbstractPBTree, b::AbstractPBTree)
Returns PBTree obtained from a under b operation
Dendriform.vdash
— Methodvdash(a::AbstractGrove, b::AbstractGrove)
Returns Grove obtained from a ⊢ b operation
Dendriform.σ
— Methodσ(g::AbstractGrove)
Applies the involution to any PBTree or Grove object
Dendriform.BaseTree
— TypeDescending greatest integer search data for grove
Summary
mutable struct BaseTree <: Abstract Grove
Fields
μ::Array{Array{UInt8,1},1}
Base.:/
— Method/(a::PBTree, b::PBTree)
Returns PBTree obtained from a over b operation
Base.:<
— Method<(a::AbstractPBTree, b::AbstractPBTree)
Returns Bool that tells if a < b in Tamari partial order
Base.:>
— Method>(a::AbstractPBTree, b::AbstractPBTree)
Returns Bool that tells if a > b in Tamari partial order
Base.:\
— Method\(a::PBTree, b::PBTree)
Returns PBTree obtained from a under b operation
Base.:≤
— Method≤(a::AbstractPBTree, b::AbstractPBTree)
Returns Bool that tells if a ≤ b in Tamari partial order
Base.:≥
— Method≥(a::AbstractPBTree, b::AbstractPBTree)
Returns Bool that tells if a ≥ b in Tamari partial order
Dendriform.GroveError
— MethodDendriform.GroveError(::AbstractGrove)
Returns Array with Grove sorting index error
Dendriform.LeftInherited
— MethodDendriform.LeftInherited(::AbstractPBTree)
Returns Bool that tells if PBTree is left inherited
Dendriform.PrimitiveTree
— MethodDendriform.PrimitiveTree(::AbstractPBTree)
Returns Bool that tells if PBTree is primitive
Dendriform.RightInherited
— MethodDendriform.RightInherited(::AbstractPBTree)
Returns Bool that tells if PBTree is right inherited
Dendriform.TreeBase
— MethodDendriform.TreeBase(::AbstractGrove)
Returns BaseTree objects for any AbstractGrove
Dendriform.TreeInteger
— MethodDendriform.TreeInteger(::AbstractGrove)
Returns the tree integers of any AbstractGrove
Dendriform.TreeRational
— MethodDendriform.TreeRational(::AbstractGrove)
Returns the tree rationals of any AbstractGrove