public IObjectiveScores <ICloneableSystemConfiguration> EvaluateScore(ICloneableSystemConfiguration systemConfiguration) { double x = ((UnivariateReal)systemConfiguration).Value; double y = x - 2; var result = new SCH1ObjectiveScores(x * x, y * y); result.SystemConfiguration = systemConfiguration; return(result); }
public IObjectiveScores <UnivariateReal> EvaluateScore(UnivariateReal systemConfiguration) { double x = systemConfiguration.Value; double y = x - 2; var result = new SCH1ObjectiveScores(x * x, y * y); result.SystemConfiguration = systemConfiguration; return(result); }