|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--marf.Storage.StorageManager
|
+--marf.Classification.Classification
|
+--marf.Classification.Distance.Distance
|
+--marf.Classification.Distance.EuclideanDistance
Class EuclideanDistance.
$Id: EuclideanDistance.java,v 1.16 2005/05/30 11:59:47 mokhov Exp $
| Field Summary |
| Fields inherited from class marf.Classification.Classification |
oFeatureExtraction, oResultSet, oTrainingSet |
| Fields inherited from class marf.Storage.StorageManager |
iCurrentDumpMode, oObjectToSerialize, strFilename |
| Fields inherited from interface marf.Storage.IStorageManager |
DUMP_BINARY, DUMP_CSV_TEXT, DUMP_GZIP_BINARY, DUMP_HTML, DUMP_SQL, DUMP_XML, INTERFACE_CODE_REVISION, sastrExtensionsMap |
| Constructor Summary | |
EuclideanDistance(marf.FeatureExtraction.FeatureExtraction poFeatureExtraction)
EuclideanDistance Constructor. |
|
| Method Summary | |
double |
distance(double[] paVector1,
double[] paVector2)
EuclideanDistance implementation. |
static java.lang.String |
getRevision()
Retrieves class' revision. |
| Methods inherited from class marf.Classification.Distance.Distance |
classify, getResult |
| Methods inherited from class marf.Classification.Classification |
dump, getResultSet, getTrainingSetFilename, restore, train |
| Methods inherited from class marf.Storage.StorageManager |
backSynchronizeObject, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, restoreBinary, restoreCSV, restoreGzipBinary, restoreHTML, restoreSQL, restoreXML, setDumpMode, setFilename |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EuclideanDistance(marf.FeatureExtraction.FeatureExtraction poFeatureExtraction)
poFeatureExtraction - FeatureExtraction module reference| Method Detail |
public final double distance(double[] paVector1,
double[] paVector2)
distance in class DistancepaVector1 - first vector to comparepaVector2 - second vector to compare
public static java.lang.String getRevision()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||