private CSharpScript CreateGUIAutomationScript() { var script = new CSharpScript { Name = ScriptItemName, Description = ScriptItemDescription }; #region Code script.Code = ScriptSources.GUIAutomationScriptSource; #endregion return script; }
private CSharpScript CreateGridSearchSVMClassificationScript() { var script = new CSharpScript { Name = ScriptItemName, Description = ScriptItemDescription }; #region Variables var provider = new UCIInstanceProvider(); var instance = (UCIDataDescriptor)provider.GetDataDescriptors().Single(x => x.Name == ProblemInstanceName); var data = provider.LoadData(instance); script.VariableStore.Add(ProblemInstanceDataVaribleName, data); #endregion #region Code script.Code = ScriptSources.GridSearchSVMClassificationScriptSource; #endregion return script; }
private CSharpScript CreateOSGARastriginScript() { var script = new CSharpScript { Name = ScriptItemName, Description = ScriptItemDescription }; #region Variables script.VariableStore.Add(LowerBoundVariableName, new DoubleValue(-5.12)); script.VariableStore.Add(UpperBoundVariableName, new DoubleValue(5.12)); script.VariableStore.Add(DimensionsVariableName, new IntValue(100)); script.VariableStore.Add(SeedVariableName, new IntValue(0)); #endregion #region Code script.Code = ScriptSources.OSGARastriginScriptSource; #endregion return script; }
private CSharpScript CreateGridSearchRFRegressionScript() { var script = new CSharpScript { Name = ScriptItemName, Description = ScriptItemDescription }; #region Variables var provider = new KeijzerInstanceProvider(); var instance = (ArtificialRegressionDataDescriptor)provider.GetDataDescriptors().Single(x => x.Name == ProblemInstanceName); var data = instance.GenerateRegressionData(); script.VariableStore.Add(ProblemInstanceDataVaribleName, data); #endregion #region Code script.Code = ScriptSources.GridSearchRFRegressionScriptSource; #endregion return script; }
private CSharpScript CreateGAQAPScript() { var script = new CSharpScript { Name = ScriptItemName, Description = ScriptItemDescription }; #region Variables var provider = new DreznerQAPInstanceProvider(); var instance = provider.GetDataDescriptors().Single(x => x.Name == ProblemInstanceName); var data = provider.LoadData(instance); var problem = new QuadraticAssignmentProblem(); problem.Load(data); script.VariableStore.Add(ProblemInstanceName, problem); #endregion #region Code script.Code = ScriptSources.GAQAPScriptSource; #endregion return script; }
protected CSharpScript(CSharpScript original, Cloner cloner) : base(original, cloner) { variableStore = cloner.Clone(original.variableStore); }