Esempio n. 1
0
 /// <summary>
 /// Initializes a new Fuzzy <see cref="InferenceSystem"/>.
 /// </summary>
 ///
 /// <param name="database">A fuzzy <see cref="Database"/> containing the system linguistic
 /// variables.</param>
 /// <param name="defuzzifier">A defuzzyfier method used to evaluate the numeric otput
 /// of the system.</param>
 /// <param name="normOperator">A <see cref="INorm"/> operator used to evaluate the norms
 /// in the <see cref="InferenceSystem"/>. For more information of the norm evaluation see <see cref="Rule"/>.</param>
 /// <param name="conormOperator">A <see cref="ICoNorm"/> operator used to evaluate the
 /// conorms in the <see cref="InferenceSystem"/>. For more information of the conorm evaluation see <see cref="Rule"/>.</param>
 ///
 public InferenceSystem(Database database, IDefuzzifier defuzzifier, INorm normOperator, ICoNorm conormOperator)
 {
     this.database       = database;
     this.defuzzifier    = defuzzifier;
     this.normOperator   = normOperator;
     this.conormOperator = conormOperator;
     this.rulebase       = new Rulebase( );
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new Fuzzy <see cref="InferenceSystem"/>.
 /// </summary>
 /// 
 /// <param name="database">A fuzzy <see cref="Database"/> containing the system linguistic
 /// variables.</param>
 /// <param name="defuzzifier">A defuzzyfier method used to evaluate the numeric otput
 /// of the system.</param>
 /// <param name="normOperator">A <see cref="INorm"/> operator used to evaluate the norms
 /// in the <see cref="InferenceSystem"/>. For more information of the norm evaluation see <see cref="Rule"/>.</param>
 /// <param name="conormOperator">A <see cref="ICoNorm"/> operator used to evaluate the
 /// conorms in the <see cref="InferenceSystem"/>. For more information of the conorm evaluation see <see cref="Rule"/>.</param>
 /// 
 public InferenceSystem( Database database, IDefuzzifier defuzzifier, INorm normOperator, ICoNorm conormOperator )
 {
     this.database = database;
     this.defuzzifier = defuzzifier;
     this.normOperator = normOperator;
     this.conormOperator = conormOperator;
     this.rulebase = new Rulebase( );
 }