Lucene.Net.Misc.SweetSpotSimilarity.SetHyperbolicTfFactors C# (CSharp) Method

SetHyperbolicTfFactors() public method

Sets the function variables for the hyperbolicTf functions
public SetHyperbolicTfFactors ( float min, float max, double @base, float xoffset ) : void
min float the minimum tf value to ever be returned (default: 0.0)
max float the maximum tf value to ever be returned (default: 2.0)
@base double
xoffset float the midpoint of the hyperbolic function (default: 10.0)
return void
        public virtual void SetHyperbolicTfFactors(float min, float max, double @base, float xoffset)
        {
            tf_hyper_min = min;
            tf_hyper_max = max;
            tf_hyper_base = @base;
            tf_hyper_xoffset = xoffset;
        }