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>(); }
public void SetInputVariable(LinguisticVariable a_inputVariable, double a_value) { Problem.Add(new FuzzyValue(a_inputVariable, a_value)); }
public void AddOutputVariable(LinguisticVariable a_variable) { output = a_variable; }
public void AddInputVariable(LinguisticVariable a_variable) { Inputs.Add(a_variable); }