Class Optimizer
The Optimizer class is a Trie that will be reduced (have empty rows removed).
The reduction will be made by joining two rows where the first is a subset of the second.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Egothor.Stemmer
Assembly: Lucene.Net.Analysis.Stempel.dll
Syntax
public class Optimizer : Reduce
Constructors
| Improve this Doc View SourceOptimizer()
Constructor for the Optimizer object.
Declaration
public Optimizer()
Methods
| Improve this Doc View SourceMerge(Cell, Cell)
Declaration
public virtual Cell Merge(Cell m, Cell e)
Parameters
Returns
| Improve this Doc View SourceMerge(Row, Row)
Merge the given rows and return the resulting Row.
Declaration
public Row Merge(Row master, Row existing)
Parameters
Returns
| Improve this Doc View SourceOptimize(Trie)
Optimize (remove empty rows) from the given Trie and return the resulting Trie.
Declaration
public override Trie Optimize(Trie orig)
Parameters
Returns
Type | Description |
---|---|
Trie | the newly consolidated Trie |