O
- Object typeD
- Distance typepublic class CacheFloatDistanceInOnDiskMatrix<O,D extends NumberDistance<D,?>> extends AbstractApplication
Modifier and Type | Class and Description |
---|---|
static class |
CacheFloatDistanceInOnDiskMatrix.Parameterizer<O,D extends NumberDistance<D,?>>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private static boolean |
debugExtraCheckSymmetry
Debug flag, to double-check all write operations.
|
private DistanceFunction<O,D> |
distance
Distance function that is to be cached.
|
private static int |
FLOAT_SIZE
Storage size: 4 bytes floats
|
private InputStep |
input
Data source to process.
|
private static Logging |
LOG
The logger for this class.
|
private File |
out
Output file.
|
INFORMATION
Constructor and Description |
---|
CacheFloatDistanceInOnDiskMatrix(InputStep input,
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
private static final boolean debugExtraCheckSymmetry
private static final int FLOAT_SIZE
private InputStep input
private DistanceFunction<O,D extends NumberDistance<D,?>> distance
private File out
public CacheFloatDistanceInOnDiskMatrix(InputStep input, DistanceFunction<O,D> distance, File out)
input
- Data sourcedistance
- Distance functionout
- Matrix output filepublic void run()
AbstractApplication
run
in class AbstractApplication
public static void main(String[] args)
args
- Command line arguments