JuliaGeometry / JuliaGeometry/RegionTrees.jl
Merging method?
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 114
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Great package! I have a question regarding the available functionality: as an opposite to split!, is there a merge! method available to combine leaves together? If it hasn't existed yet, it is possible to add such method?
Something like
root = Cell(SVector(0., 0), SVector(1., 1))
split!(root) # 1 into 2x2
merge!(root) # 2x2 into 1?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing split! operation and the Cell tree behavior shown in the issue. Determine what merging should do to child leaves and their contents, then define tests showing when merge! is valid and what completion looks like for the 2x2 example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100