[marf-cvs] marf/src/marf MARF.java,1.54,1.55
Brought to you by:
mokhov
From: Serguei A. M. <mo...@us...> - 2004-05-03 21:19:34
|
Update of /cvsroot/marf/marf/src/marf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3121/src/marf Modified Files: MARF.java Log Message: Add synonyms or aliases for Chebyshev distance for those who are used to other frequently-used names of the same concept. Index: MARF.java =================================================================== RCS file: /cvsroot/marf/marf/src/marf/MARF.java,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** MARF.java 20 Apr 2004 16:38:06 -0000 1.54 --- MARF.java 3 May 2004 21:18:53 -0000 1.55 *************** *** 165,168 **** --- 165,178 ---- /** + * A synonym to Chebyshev distance + */ + public static final int MANHATTAN_DISTANCE = 4; + + /** + * A synonym to Chebyshev distance + */ + public static final int CITYBLOCK_DISTANCE = 4; + + /** * Indicates to use Minkowski distance for classification * @since 0.2.0 |