[Javamatch-cvs] javamatch/src/net/sourceforge/javamatch/engine MatchEngine.java,1.7,1.8
Status: Pre-Alpha
Brought to you by:
iterson
From: Walter v. I. <it...@us...> - 2004-10-01 08:02:24
|
Update of /cvsroot/javamatch/javamatch/src/net/sourceforge/javamatch/engine In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6829 Modified Files: MatchEngine.java Log Message: Added getter for threshold Index: MatchEngine.java =================================================================== RCS file: /cvsroot/javamatch/javamatch/src/net/sourceforge/javamatch/engine/MatchEngine.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** MatchEngine.java 23 Sep 2004 06:11:54 -0000 1.7 --- MatchEngine.java 1 Oct 2004 08:02:09 -0000 1.8 *************** *** 125,129 **** /** ! * Sets the threshold value, the minimum value that each sub-query shoud have, * to be included in the match result. The default threshold is 0.01, so * total mismatches will not be part of the result --- 125,129 ---- /** ! * Sets the threshold value, the minimum value that each sub-query should have, * to be included in the match result. The default threshold is 0.01, so * total mismatches will not be part of the result *************** *** 135,138 **** --- 135,147 ---- } + /** + * Returns the threshold value, the minimum value that each sub-query should + * have, to be included in the match result. + * @return the threshold value + */ + public float getThreshold() { + return threshold; + } + /** * Retrieves and returns the object or object with the given identifier from |