Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/IScenarioManager.cs @ 9227

Last change on this file since 9227 was 9227, checked in by fschoepp, 11 years ago

#1888:

  • Experiments will be saved as JSON elements within the blob store.
  • Added simple model and JSON converters.
  • Backend stores and runs experiments.
  • Updated interfaces to save/read experiments.
  • Added a binding to automatically map incoming JSON ajax requests to experiment models.
  • Added the javascript DatatypeMapper to map parameter inputs to the right html elements and vice versa.
  • Added smartwizard to generate Wizards for creating new experiments (New.cshtml).
File size: 1.1 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.Services.Optimization.ControllerService.Model;
6
7namespace 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    bool SaveExperiment(User user, Experiment experiment);
18    IEnumerable<string> GetExperiments(User user);
19    bool DeleteExperiment(User user, string experiment);
20
21    Task GetTaskData(User u, string jobId, string taskId);
22    Job GetTasks(User u, string jobId);
23
24    Experiment GetExperimentByName(User user, string scenario);
25    bool DispatchExperiment(User user, Experiment exp, JobExecutionDetails details);
26  }
27}
Note: See TracBrowser for help on using the repository browser.