public void SetValues(MembershipFunction function) { a = function.a; b = function.b; alpha = function.alpha; beta = function.beta; }
public Rule(String Label, MembershipFunction F1, MembershipFunction F2, MembershipFunction Output) { if (F1.Min != F2.Min || F1.Max != F2.Max) throw new InvalidRangeException("The membership functions must be defined on the same range"); this.label = Label; this.F1 = F1; this.F2 = F2; this.Output = Output; }
public Rule(String Label, MembershipFunction F1, MembershipFunction F2, MembershipFunction Output) { if (F1.Min != F2.Min || F1.Max != F2.Max) { throw new InvalidRangeException("The membership functions must be defined on the same range"); } this.label = Label; this.F1 = F1; this.F2 = F2; this.Output = Output; }
public FunctionControl(MembershipFunction function) { InitializeComponent(); SetValues(function); }
private List<Point> BuildGraph(MembershipFunction mf) { return BuildGraph(mf.values); }