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 DistanceFunction<O,DoubleDistance> |
distance
Distance function that is to be cached.
|
private InputStep |
input
Data source to process.
|
private static Logging |
LOG
The logger for this class.
|
private File |
out
Output file.
|
private double |
radius
Query radius.
|
static int |
RANGE_CACHE_MAGIC
Magic number to identify files.
|
INFORMATION
Constructor and Description |
---|
CacheDoubleDistanceRangeQueries(InputStep input,
DistanceFunction<O,DoubleDistance> distance,
double radius,
File out)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Main method, delegate to super class.
|
void |
run()
Runs the application.
|
printErrorMessage, runCLIApplication, usage
private static final Logging LOG
private InputStep input
private DistanceFunction<O,DoubleDistance> distance
private double radius
private File out
public static final int RANGE_CACHE_MAGIC
public CacheDoubleDistanceRangeQueries(InputStep input, DistanceFunction<O,DoubleDistance> distance, double radius, File out)
input
- Data sourcedistance
- Distance functionradius
- Query radiusout
- Matrix output filepublic void run()
AbstractApplication
run
in class AbstractApplication
public static void main(String[] args)
args
- Command line arguments