From bd7549b965e3b0292f1aa2f3815690b21e1ae868 Mon Sep 17 00:00:00 2001 From: William G Underwood <42812654+WGUNDERWOOD@users.noreply.github.com> Date: Mon, 30 Oct 2023 17:04:38 -0400 Subject: [PATCH] notes --- src/tree.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tree.jl b/src/tree.jl index 843f509..d38e6c3 100644 --- a/src/tree.jl +++ b/src/tree.jl @@ -125,6 +125,7 @@ function get_volume(tree::MondrianTree{d}) where {d} return prod(tree.upper .- tree.lower) end +# TODO doc function apply_split(tree::MondrianTree{d}, split_lower::NTuple{d,Float64}, split_upper::NTuple{d,Float64}, split_time::Float64, split_axis::Int, split_location::Float64) where {d} @@ -151,6 +152,7 @@ function apply_split(tree::MondrianTree{d}, split_lower::NTuple{d,Float64}, end end +# TODO doc function get_common_refinement(tree1::MondrianTree{d}, tree2::MondrianTree{d}) where {d} @assert tree1.id == tree2.id @assert tree1.lambda == tree2.lambda @@ -180,6 +182,7 @@ function get_common_refinement(tree1::MondrianTree{d}, tree2::MondrianTree{d}) w return tree end +# TODO doc function get_common_refinement(trees::Vector{MondrianTree{d}}) where {d} @assert !isempty(trees) if length(trees) == 1