O
- Object typeD
- Distance typepublic class CacheDoubleDistanceInOnDiskMatrix<O,D extends NumberDistance<D,?>> extends AbstractApplication
Modifier and Type | Class and Description |
---|---|
static class |
CacheDoubleDistanceInOnDiskMatrix.Parameterizer<O,D extends NumberDistance<D,?>>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static OptionID |
CACHE_ID
Parameter that specifies the name of the directory to be re-parsed.
|
private Database |
database
Holds the database connection to have the algorithm run with.
|
private static boolean |
debugExtraCheckSymmetry
Debug flag, to double-check all write operations.
|
private DistanceFunction<O,D> |
distance
Distance function that is to be cached.
|
static OptionID |
DISTANCE_ID
Parameter that specifies the name of the directory to be re-parsed.
|
private static Logging |
LOG
The logger for this class.
|
private File |
out
Output file.
|
INFORMATION
Constructor and Description |
---|
CacheDoubleDistanceInOnDiskMatrix(Database database,
DistanceFunction<O,D> distance,
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
public static final OptionID CACHE_ID
Key: -loader.diskcache
public static final OptionID DISTANCE_ID
Key: -loader.distance
private static final boolean debugExtraCheckSymmetry
private Database database
private DistanceFunction<O,D extends NumberDistance<D,?>> distance
private File out
public CacheDoubleDistanceInOnDiskMatrix(Database database, DistanceFunction<O,D> distance, File out)
database
- Databasedistance
- Distance functionout
- Matrix output filepublic void run()
AbstractApplication
run
in class AbstractApplication
public static void main(String[] args)
args
- Command line arguments