public IObjectiveScores <IHyperCube <double> > EvaluateScore(IHyperCube <double> systemConfiguration) { apply(systemConfiguration, simulation); simulation.Execute(); double result = sumSquares(simulation.GetRecorded("Runoff"), this.observedData); return(MetaheuristicsHelper.CreateSingleObjective(systemConfiguration, result, "Sum Squares")); }
public IObjectiveScores <T> EvalParaboloidScore <T>(T sysConfig, double bestParam) where T : IHyperCube <double> { double result = CalculateParaboloid(sysConfig, bestParam); return(MetaheuristicsHelper.CreateSingleObjective <T>(sysConfig, result, "Paraboloid")); }