public EvaluatedGradientNode(GradientNode gradient, Dictionary<Variable, double> variables) { _gradient = gradient; Min = gradient.Min.Evaluate(variables); Max = gradient.Max.Evaluate(variables); Stops = FilterStopsForConflicts(gradient.Stops.Select(i => i.Evaluate(CalculateVariables(variables)))) .ToList(); }
private SchemeNode(string name, string friendlyName, GradientNode[] gradients) { Name = name; FriendlyName = friendlyName; _gradients = gradients; }