using System; using System.Collections.Generic; using System.Linq; using System.Text; using HeuristicLab.Services.Optimization.ControllerService.Model; namespace HeuristicLab.Services.Optimization.ControllerService.Interfaces { public interface IScenarioManager { string DispatchScenario(User user, OptimizationScenario scenario, JobExecutionDetails details); IList GetJobs(User user); Job GetJob(User user, string id); bool DeleteJob(User user, string id); IList GetJobResults(User user, string id); bool AddScenario(User user, string scenarioName, string scenarioXml, string scenarioMapper); bool DeleteScenario(User user, string scenarioName); string SaveExperiment(User user, Experiment experiment); IEnumerable GetExperimentNames(User user); IEnumerable GetExperiments(User user, bool namesOnly = false); Experiment GetExperimentByName(User user, string scenario); Experiment GetExperimentById(User user, string nodeId); bool DeleteExperiment(User user, string experiment); Task GetTaskData(User u, string jobId, string taskId); Job GetTasks(User u, string jobId); bool DispatchExperiment(User user, Experiment exp, JobExecutionDetails details); string GetVisualExtension(string algorithmId); bool AddVisualExtension(string algorithmId, string script); bool DeleteVisualExtension(string algorithmId); bool ExistsVisualExtension(string algorithmId); } }