|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
de.folt.fuzzy.FuzzyDataStructure<K,T,S>
public abstract class FuzzyDataStructure<K,T,S>
This class defines the (abstract) method for a general fuzzy data structure, a class which is intended to support fuzzy = similarity search.
It is created three types:
K represent a key structure
T represents a value object
S represents a Search Result (result of class SearchResult)
Examples are:
FuzzyNodeTree
Constructor Summary
FuzzyDataStructure()
Method Summary
abstract intcountNodes()
countNodes count all the nodes in the tree (includes the root node!)
abstract java.lang.Stringformat()
format return a formated fuzzy tree based on the fuzzy nodes
abstract intgetNODESMATCHED()
abstract intgetNODESPUSHED()
abstract intgetNODESSEARCHED()
abstract FuzzyDataStructureElement<K,T>getRoot()
abstract booleaninsertFuzzyNode(FuzzyDataStructureElement<K,T> fuzzyNodeToAdd)
insertFuzzyNode inserts a Fuzzy node into the tree; if called for the first time the root is set to the fuzzyNodeToAdd
abstract java.util.Vector<S>search(FuzzyDataStructureElement<K,T> fuzzyCompareKey,
int similarity)
search searches for FuzzyNodes matching similarity
abstract voidsetNODESMATCHED(int nodesmatched)
abstract voidsetNODESPUSHED(int nodespushed)
abstract voidsetNODESSEARCHED(int nodessearched)
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
FuzzyDataStructure
public FuzzyDataStructure()
Method Detail
countNodes
public abstract int countNodes()
format
public abstract java.lang.String format()
getNODESMATCHED
public abstract int getNODESMATCHED()
getNODESPUSHED
public abstract int getNODESPUSHED()
getNODESSEARCHED
public abstract int getNODESSEARCHED()
getRoot
public abstract FuzzyDataStructureElement<K,T> getRoot()
insertFuzzyNode
public abstract boolean insertFuzzyNode(FuzzyDataStructureElement<K,T> fuzzyNodeToAdd)
fuzzyNodeToAdd - fuzzy node to insert
search
public abstract java.util.Vector<S> search(FuzzyDataStructureElement<K,T> fuzzyCompareKey,
int similarity)
fuzzyCompareKey - the fuzzy node to search forsimilarity - the similarity for the nodes to search
setNODESMATCHED
public abstract void setNODESMATCHED(int nodesmatched)
nodesmatched - the nODESMATCHED to set
setNODESPUSHED
public abstract void setNODESPUSHED(int nodespushed)
nodespushed - the nODESPUSHED to set
setNODESSEARCHED
public abstract void setNODESSEARCHED(int nodessearched)
nodessearched - the nODESSEARCHED to set
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD