private static ChartValues <ObservablePoint> GetFunctionResult(IFuzzyFunction func) { var result = new ChartValues <ObservablePoint>(); var points = FuzzyFunctionToChartValuesConvertor.GetValues(func); result.AddRange(points); return(result); }
public static LineSeries CreateLineSeries(Term term) { return(new LineSeries { LineSmoothness = term.FuzzyFunction.Type == FuzzyLogic.Functions.FuzzyFunctionType.Smoothness? 1 : 0, Values = FuzzyFunctionToChartValuesConvertor.GetValues(term.FuzzyFunction), PointGeometry = null, Title = term.Name }); }
private void UpdateValues(Term term) { mTermDictionary[term].Values = FuzzyFunctionToChartValuesConvertor.GetValues(term.FuzzyFunction); }