Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MH-Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
disa
public
Hulls
MH-Tree
Commits
f6c611f2
There was an error fetching the commit references. Please try again later.
Verified
Commit
f6c611f2
authored
4 years ago
by
David Procházka
Browse files
Options
Downloads
Patches
Plain Diff
ADD: insert type javadoc
parent
45350d07
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/mhtree/InsertType.java
+15
-0
15 additions, 0 deletions
src/mhtree/InsertType.java
with
15 additions
and
0 deletions
src/mhtree/InsertType.java
+
15
−
0
View file @
f6c611f2
package
mhtree
;
package
mhtree
;
/**
* Specifies how should new objects be added to the MH-Tree.
*/
public
enum
InsertType
{
public
enum
InsertType
{
/**
* When inserted object is not covered by node, all objects under such node are retrieved and a new hull is build,
* replacing the current one.
*/
GREEDY
,
GREEDY
,
/**
* When inserted object is not overed by node, we iterate over hull objects beginning with the nearest hull object.
* We try to replace existing hull object by replacing current hull object by inserted object
* and checking if the replaced hull objects is covered by the new hull.
* This is repeated until such hull object is found or if not,
* the inserted object is simply added as a new hull object.
*/
INCREMENTAL
,
INCREMENTAL
,
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment