1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using HeuristicLab.Services.Optimization.ControllerService.Model;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.Services.Optimization.ControllerService.Interfaces {
|
---|
8 | public interface IScenarioManager {
|
---|
9 | string DispatchScenario(User user, OptimizationScenario scenario, JobExecutionDetails details);
|
---|
10 | IList<Job> GetJobs(User user);
|
---|
11 | Job GetJob(User user, string id);
|
---|
12 | bool DeleteJob(User user, string id);
|
---|
13 | IList<Model.Run> GetJobResults(User user, string id);
|
---|
14 | bool AddScenario(User user, string scenarioName, string scenarioXml, string scenarioMapper);
|
---|
15 | bool DeleteScenario(User user, string scenarioName);
|
---|
16 |
|
---|
17 | string SaveExperiment(User user, Experiment experiment);
|
---|
18 | IEnumerable<string> GetExperimentNames(User user);
|
---|
19 | IEnumerable<Model.Experiment> GetExperiments(User user, bool namesOnly = false);
|
---|
20 | Experiment GetExperimentByName(User user, string scenario);
|
---|
21 | Experiment GetExperimentById(User user, string nodeId);
|
---|
22 |
|
---|
23 | bool DeleteExperiment(User user, string experiment);
|
---|
24 |
|
---|
25 | Task GetTaskData(User u, string jobId, string taskId);
|
---|
26 | Job GetTasks(User u, string jobId);
|
---|
27 |
|
---|
28 |
|
---|
29 | bool DispatchExperiment(User user, Experiment exp, JobExecutionDetails details);
|
---|
30 |
|
---|
31 | string GetVisualExtension(string algorithmId);
|
---|
32 | }
|
---|
33 | }
|
---|