Dendriform.GroveType

Grove of planar binary trees, matrix equivalence class

Summary

mutable struct Grove <: AbstractGrove

Fields

degr::UInt8 size::Int Y::Array{UInt8,2}

Dendriform.GroveMethod
Grove(g::AbstractGrove)

Creates Grove object from any NotGrove object

Dendriform.GroveMethod
Grove(g::Array{Int,n})

Creates Grove using Loday label array of dimension 1 or 2

Dendriform.GroveMethod
Grove(degree::Int, index::Integer)

Looks up Grove using degree and grove index

Dendriform.GroveBinType

Compressed binary representation of grove

Summary

mutable struct GroveBin <: AbstractGrove

Fields

degr::UInt8 size::Int gbin::Integer ppos::Float16

Dendriform.PBTreeType

Planar Binary Tree with Loday's notation

Summary

mutable struct PBTree <: AbstractGrove

Fields

degr::UInt8 Y::Array{UInt8,1}

Dendriform.PBTreeMethod
PBTree(t::Array{Int,1})

Creates PBTree using Loday label array

Dendriform.PBTreeMethod
PBTree(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.betweenMethod
between(a::AbstractPBTree,b::AbstractPBTree)

Returns Grove of trees ordered between a and b

Dendriform.dashvMethod
dashv(a::AbstractGrove, b::AbstractGrove)

Returns Grove obtained from a ⊣ b operation

Dendriform.graftMethod
graft(left::AbstractPBTree, right::AbstractPBTree)

Grafts the left and right PBTree with root vertex

Dendriform.grovedisplayFunction
grovedisplay(::Bool)

Toggles the display output of grove index data (disabled by default)

Dendriform.grovesortFunction
grovesort(::Bool)

Toggles the grovesort algorithm (enabled by default - RECOMMENDED)

Dendriform.leftMethod
left(::AbstractPBTree)

Returns the left branch of an AbstractPBTree

Dendriform.overMethod
over(a::AbstractPBTree, b::AbstractPBTree)

Returns PBTree obtained from a over b operation

Dendriform.posetnextMethod
posetnext(::AbstractPBTree)

Returns a Grove that covers the given tree

Dendriform.posetprevMethod
posetprev(::AbstractPBTree)

Returns a Grove that covers the given tree

Dendriform.rightMethod
right(::AbstractPBTree)

Returns the right branch of an AbstractPBTree

Dendriform.treecheckMethod
treecheck(::AbstractPBTree)

Returns Bool that tells if PBTree is valid

Dendriform.treeindexMethod
treeindex(::AbstractGrove)

Returns tree indices of any PBTree or Grove

Dendriform.treeshiftFunction
treeshift(::Bool)

Toggles the shift for the tree integers / rationals

Dendriform.underMethod
under(a::AbstractPBTree, b::AbstractPBTree)

Returns PBTree obtained from a under b operation

Dendriform.vdashMethod
vdash(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.BaseTreeType

Descending 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.GroveErrorMethod
Dendriform.GroveError(::AbstractGrove)

Returns Array with Grove sorting index error

Dendriform.LeftInheritedMethod
Dendriform.LeftInherited(::AbstractPBTree)

Returns Bool that tells if PBTree is left inherited

Dendriform.PrimitiveTreeMethod
Dendriform.PrimitiveTree(::AbstractPBTree)

Returns Bool that tells if PBTree is primitive

Dendriform.RightInheritedMethod
Dendriform.RightInherited(::AbstractPBTree)

Returns Bool that tells if PBTree is right inherited

Dendriform.TreeBaseMethod
Dendriform.TreeBase(::AbstractGrove)

Returns BaseTree objects for any AbstractGrove

Dendriform.TreeIntegerMethod
Dendriform.TreeInteger(::AbstractGrove)

Returns the tree integers of any AbstractGrove

Dendriform.TreeRationalMethod
Dendriform.TreeRational(::AbstractGrove)

Returns the tree rationals of any AbstractGrove