示例#1
0
 public FuzzySystem(string a_name, List <LinguisticVariable> a_inputs, LinguisticVariable a_output, List <FuzzyRule> a_rules)
 {
     Name    = a_name;
     Inputs  = a_inputs;
     output  = a_output;
     Rules   = a_rules;
     Problem = new List <FuzzyValue>();
 }
示例#2
0
 public void SetInputVariable(LinguisticVariable a_inputVariable, double a_value)
 {
     Problem.Add(new FuzzyValue(a_inputVariable, a_value));
 }
示例#3
0
 public void AddOutputVariable(LinguisticVariable a_variable)
 {
     output = a_variable;
 }
示例#4
0
 public void AddInputVariable(LinguisticVariable a_variable)
 {
     Inputs.Add(a_variable);
 }