O
- Object typepublic class CacheDoubleDistanceRangeQueries<O> extends AbstractApplication
Modifier and Type | Class and Description |
---|---|
static class |
CacheDoubleDistanceRangeQueries.Parameterizer<O>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private Database |
database
Data source to process.
|
private DistanceFunction<? super O> |
distance
Distance function that is to be cached.
|
private static Logging |
LOG
The logger for this class.
|
private java.io.File |
out
Output file.
|
private double |
radius
Query radius.
|
static int |
RANGE_CACHE_MAGIC
Magic number to identify files.
|
REFERENCE, VERSION
Constructor and Description |
---|
CacheDoubleDistanceRangeQueries(Database database,
DistanceFunction<? super O> distance,
double radius,
java.io.File out)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Main method, delegate to super class.
|
void |
run()
Runs the application.
|
printErrorMessage, runCLIApplication, usage
private static final Logging LOG
private Database database
private DistanceFunction<? super O> distance
private double radius
private java.io.File out
public static final int RANGE_CACHE_MAGIC
public CacheDoubleDistanceRangeQueries(Database database, DistanceFunction<? super O> distance, double radius, java.io.File out)
database
- Data sourcedistance
- Distance functionradius
- Query radiusout
- Matrix output filepublic void run()
AbstractApplication
run
in class AbstractApplication
public static void main(java.lang.String[] args)
args
- Command line argumentsCopyright © 2019 ELKI Development Team. License information.