|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
de.folt.fuzzy.PartitionedFuzzyNodeTree<java.lang.String,T>
de.folt.fuzzy.StringPartitionedFuzzyNodeTree<T>
public class StringPartitionedFuzzyNodeTree<T>
This class Implements a partitioned string fuzzy node tree. For details FuzzyNodeTree
| Constructor Summary | |
|---|---|
StringPartitionedFuzzyNodeTree()
|
|
| Method Summary | |
|---|---|
boolean |
insertFuzzyNode(FuzzyNode<java.lang.String,T> fuzzyNodeToAdd)
insertFuzzyNode inserts a Fuzzy node into a partitioned fuzzy node tree; |
boolean |
insertFuzzyNode(StringFuzzyNode<T> fuzzyNodeToAdd)
insertFuzzyNode inserts a String Fuzzy node into a partitioned fuzzy node tree; |
static void |
main(java.lang.String[] args)
main |
boolean |
removeValue(FuzzyNode<java.lang.String,T> fuzzyCompareKey)
removeValue removes a value from the value list of the values of the node based on a key. |
java.util.Vector<FuzzyNodeSearchResult<java.lang.String,T>> |
search(FuzzyNode<java.lang.String,T> fuzzyCompareKey,
int similarity)
search returns all a FuzzyNodeSearchResult of all matching FuzzyNodes |
java.util.Vector<FuzzyNodeSearchResult<java.lang.String,T>> |
search(MonoLingualFuzzyNode fuzzyCompareKey,
int similarity)
search returns all a FuzzyNodeSearchResult of all matching MonoLingualFuzzyNodes |
java.util.Vector<FuzzyNodeSearchResult<java.lang.String,T>> |
search(SQLMonoLingualFuzzyNode fuzzyCompareKey,
int similarity)
search |
java.util.Vector<FuzzyNodeSearchResult<java.lang.String,T>> |
search(StringFuzzyNode<T> fuzzyCompareKey,
int similarity)
search returns all a FuzzyNodeSearchResult of all matching StringFuzzyNodes |
| Methods inherited from class de.folt.fuzzy.PartitionedFuzzyNodeTree |
|---|
countNodes, format, getFuzzyNodeTree, getIMaxIndex, getNODESMATCHED, getNODESPUSHED, getNODESSEARCHED, getRoots |
| Methods inherited from class java.util.Observable |
|---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringPartitionedFuzzyNodeTree()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - 0 = number of strings to generate (default = 5) / 1 = length of string to generate (default = 20)public boolean insertFuzzyNode(FuzzyNode<java.lang.String,T> fuzzyNodeToAdd)
PartitionedFuzzyNodeTree
insertFuzzyNode in class PartitionedFuzzyNodeTree<java.lang.String,T>fuzzyNodeToAdd - fuzzy node to insert
public boolean insertFuzzyNode(StringFuzzyNode<T> fuzzyNodeToAdd)
fuzzyNodeToAdd - fuzzy node to insert
public boolean removeValue(FuzzyNode<java.lang.String,T> fuzzyCompareKey)
removeValue in class PartitionedFuzzyNodeTree<java.lang.String,T>fuzzyCompareKey - the key containing the value to remove
public java.util.Vector<FuzzyNodeSearchResult<java.lang.String,T>> search(FuzzyNode<java.lang.String,T> fuzzyCompareKey,
int similarity)
PartitionedFuzzyNodeTree
search in class PartitionedFuzzyNodeTree<java.lang.String,T>fuzzyCompareKey - the fuzzy node to search for with similaritysimilarity - the similarity to search for
public java.util.Vector<FuzzyNodeSearchResult<java.lang.String,T>> search(MonoLingualFuzzyNode fuzzyCompareKey,
int similarity)
fuzzyCompareKey - the fuzzy node to search for with similaritysimilarity - the similarity to search for
public java.util.Vector<FuzzyNodeSearchResult<java.lang.String,T>> search(SQLMonoLingualFuzzyNode fuzzyCompareKey,
int similarity)
fuzzyCompareKey - the fuzzy node to search for with similaritysimilarity - the similarity to search for
public java.util.Vector<FuzzyNodeSearchResult<java.lang.String,T>> search(StringFuzzyNode<T> fuzzyCompareKey,
int similarity)
fuzzyCompareKey - the fuzzy node to search for with similaritysimilarity - the similarity to search for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||