|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.application.AbstractApplication de.lmu.ifi.dbs.elki.application.cache.CacheDoubleDistanceInOnDiskMatrix<O,D>
O
- Object typeD
- Distance typepublic class CacheDoubleDistanceInOnDiskMatrix<O,D extends NumberDistance<D,?>>
Wrapper to convert a traditional text-serialized result into a on-disk matrix for random access.
Nested Class Summary | |
---|---|
static class |
CacheDoubleDistanceInOnDiskMatrix.Parameterizer<O,D extends NumberDistance<D,?>>
Parameterization class. |
Field Summary | |
---|---|
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 |
logger
The logger for this class. |
private File |
out
Output file. |
Fields inherited from class de.lmu.ifi.dbs.elki.application.AbstractApplication |
---|
INFORMATION, INPUT_ID, OUTPUT_ID, STATIC_LOGGER |
Constructor Summary | |
---|---|
CacheDoubleDistanceInOnDiskMatrix(boolean verbose,
Database database,
DistanceFunction<O,D> distance,
File out)
Constructor. |
Method Summary | |
---|---|
static void |
main(String[] args)
Main method, delegate to super class. |
void |
run()
Runs the application. |
Methods inherited from class de.lmu.ifi.dbs.elki.application.AbstractApplication |
---|
isVerbose, printErrorMessage, runCLIApplication, usage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final Logging logger
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
Constructor Detail |
---|
public CacheDoubleDistanceInOnDiskMatrix(boolean verbose, Database database, DistanceFunction<O,D> distance, File out)
verbose
- Verbose flagdatabase
- Databasedistance
- Distance functionout
- Matrix output fileMethod Detail |
---|
public void run()
AbstractApplication
run
in class AbstractApplication
public static void main(String[] args)
args
- Command line arguments
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |