r-tree


ELKI DBSCAN R* tree index


In MiniGUi, I can see db.index. How do I set it to tree.spatial.rstarvariants.rstar.RStartTreeFactory via Java code?
I have implemented:
params.addParameter(AbstractDatabase.Parameterizer.INDEX_ID,tree.spatial.rstarvariants.rstar.RStarTreeFactory);
For the second parameter of addParameter() function tree.spatial...RStarTreeFactory class not found
// Setup parameters:
ListParameterization params = new ListParameterization();
params.addParameter(
FileBasedDatabaseConnection.Parameterizer.INPUT_ID,
fileLocation);
params.addParameter(AbstractDatabase.Parameterizer.INDEX_ID,
RStarTreeFactory.class);
I am getting NullPointerException. Did I use RStarTreeFactory.class correctly?
The ELKI command line (and MiniGui; which is a command line builder) allow to specify shorthand class names, leaving out the package prefix of the implemented interface.
The full command line documentation yields:
-db.index <object_1|class_1,...,object_n|class_n>
Database indexes to add.
Implementing de.lmu.ifi.dbs.elki.index.IndexFactory
Known classes (default package de.lmu.ifi.dbs.elki.index.):
-> tree.spatial.rstarvariants.rstar.RStarTreeFactory
-> ...
I.e. for this parameter, the class prefix de.lmu.ifi.dbs.elki.index. may be omitted.
The full class name thus is:
de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.rstar.RStarTreeFactory
or you just type RStarTreeFactory, and let eclipse auto-repair the import:
params.addParameter(AbstractDatabase.Parameterizer.INDEX_ID,
RStarTreeFactory.class);
// Bulk loading static data yields much better trees and is much faster, too.
params.addParameter(RStarTreeFactory.Parameterizer.BULK_SPLIT_ID,
SortTileRecursiveBulkSplit.class);
// Page size should fit your dimensionality.
// For 2-dimensional data, use page sizes less than 1000.
// Rule of thumb: 15...20 * (dim * 8 + 4) is usually reasonable
// (for in-memory bulk-loaded trees)
params.addParameter(AbstractPageFileFactory.Parameterizer.PAGE_SIZE_ID, 300);
See also: ELKI RStarTree unit test.

Related Links

How does R+-Tree manages intersecting objects?
Why does the unique R-Tree node appear to be in two enclosing rectangles?
ELKI DBSCAN R* tree index
R-Tree vs R+-Tree vs R*-Tree
How to bulk-load an r-tree in C#?
how to construct a RTree using given data points

Categories

HOME
wso2-am
listview
cookies
single-sign-on
layout
at-command
razor
paw-app
sharepoint-designer
cross-browser
ravendb
yum
azure-storage-tables
virtualization
windows-phone-7
visual-studio-cordova
percona
dynamics-crm-online
quartz-scheduler
after-effects
graphlab
invantive-sql
oracle-coherence
lucene.net
nodatime
paging
object-detection
functional-testing
crosstab
shopware
selectedindexchanged
replaceall
opentype
gitignore
preg-match
socialengine
stormpath
repo
mmenu
force-layout
opshub
tasker
eclipse-scout
grid.mvc
powershell-dsc
nomethoderror
nxlog
isbn
password-encryption
netcdf4
flashair
gpx
eclipse-gef
segment
xml-documentation
hibernate-tools
apache-fop
strptime
promela
colorama
carrot
forever
snmptrapd
np-complete
gcsfuse
iso8601
bind9
vtigercrm
time-and-attendance
ctest
mongocsharpdriver
disque
yaws
wapiti
iad
t4mvc
iis-arr
embedded-code
drawbitmap
e10s
gadt
id3v2
code-access-security
seaside
transcoding
concurrent-collections
app42
industrial
spring-io
opcache
dotnetnuke-5
wsdl-2.0
kyotocabinet
distutils
postgresql-performance
infobox
f#-powerpack
invite
self-extracting
file-comparison
sql-server-profiler
asp.net-mvc-areas
revisions
nsviewanimation
rescale
user-friendly
geneva-server
ntvdm.exe

Resources

Encrypt Message