AForge.Fuzzy.LinguisticVariable.LinguisticVariable C# (CSharp) Method

LinguisticVariable() public method

Initializes a new instance of the LinguisticVariable class.
public LinguisticVariable ( string name, float start, float end ) : System
name string Name of the linguistic variable.
start float Left limit of the valid variable range.
end float Right limit of the valid variable range.
return System
        public LinguisticVariable( string name, float start, float end )
        {
            this.name  = name;
            this.start = start;
            this.end   = end;

            // instance of the labels list - usually a linguistic variable has no more than 10 labels
            this.labels = new Dictionary<string, FuzzySet>( 10 );
        }