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
| Type | Name | Description | 
|---|---|---|
| Cell | m | the master Cell  | 
      
| Cell | e | the existing Cell  | 
      
Returns
| Type | Description | 
|---|---|
| Cell | the resulting Cell, or   | 
      
Merge(Row, Row)
Merge the given rows and return the resulting Row.
Declaration
public Row Merge(Row master, Row existing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Row | master | the master Row  | 
      
| Row | existing | the existing Row  | 
      
Returns
| Type | Description | 
|---|---|
| Row | the resulting Row, or   | 
      
Optimize(Trie)
Optimize (remove empty rows) from the given Trie and return the resulting Trie.
Declaration
public override Trie Optimize(Trie orig)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Trie | orig | the Trie to consolidate  | 
      
Returns
| Type | Description | 
|---|---|
| Trie | the newly consolidated Trie  |