de.folt.test.testdata
Class TestDataReader
java.lang.Object
de.folt.test.testdata.TestDataReader
public class TestDataReader
- extends java.lang.Object
- Author:
- klemens
To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments
|
Method Summary |
static void |
main(java.lang.String[] args)
main |
static StringPartitionedFuzzyNodeTree<java.lang.String> |
readTestdata(java.lang.String fileName,
int iKeyLen)
readTestdata read the test data and compile them into a StringPartitionedFuzzyNodeTree |
static void |
searchTestdata(java.lang.String fileName,
int iKeyLen,
int similarity,
StringPartitionedFuzzyNodeTree<java.lang.String> root,
int searchPercent)
searchTestdata search the test data with similarity |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestDataReader
public TestDataReader()
main
public static void main(java.lang.String[] args)
- main
- Parameters:
args -
readTestdata
public static StringPartitionedFuzzyNodeTree<java.lang.String> readTestdata(java.lang.String fileName,
int iKeyLen)
- readTestdata read the test data and compile them into a StringPartitionedFuzzyNodeTree
- Parameters:
fileName - file name to readiKeyLen - key length for fuzzy node keys
- Returns:
- the root StringPartitionedFuzzyNodeTree
searchTestdata
public static void searchTestdata(java.lang.String fileName,
int iKeyLen,
int similarity,
StringPartitionedFuzzyNodeTree<java.lang.String> root,
int searchPercent)
- searchTestdata search the test data with similarity
- Parameters:
fileName - file name to readiKeyLen - key length for fuzzy node keyssimilarity - search similaritysearchPercent - % of segments to be searched from total records read