Class LinearSingleFunction
  
  
  
  
    Inheritance
    System.Object
    
    LinearSingleFunction
   
  
    Inherited Members
    
    
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
   
  
  Assembly: Lucene.Net.Queries.dll
  Syntax
  
    public class LinearSingleFunction : ValueSource
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  LinearSingleFunction(ValueSource, Single, Single)
  
  
  Declaration
  
    public LinearSingleFunction(ValueSource source, float slope, float intercept)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ValueSource | source |  | 
      
        | System.Single | slope |  | 
      
        | System.Single | intercept |  | 
    
  
  Fields
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_intercept
  
  
  Declaration
  
    protected readonly float m_intercept
   
  Field Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Single |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_slope
  
  
  Declaration
  
    protected readonly float m_slope
   
  Field Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Single |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_source
  
  
  Declaration
  
    protected readonly ValueSource m_source
   
  Field Value
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CreateWeight(IDictionary, IndexSearcher)
  
  
  Declaration
  
    public override void CreateWeight(IDictionary context, IndexSearcher searcher)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Collections.IDictionary | context |  | 
      
        | IndexSearcher | searcher |  | 
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Equals(Object)
  
  
  Declaration
  
    public override bool Equals(object o)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Object | o |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetDescription()
  
  
  Declaration
  
    public override string GetDescription()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetHashCode()
  
  
  Declaration
  
    public override int GetHashCode()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  | 
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetValues(IDictionary, AtomicReaderContext)
  
  
  Declaration
  
    public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
   
  Parameters
  
  Returns
  
  Overrides