Free cookie consent management tool by TermsFeed Policy Generator

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

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

#1888:

  • Janitor is now working as expected in Windows Azure
  • Added basic support for experiments (draggable experiments)
  • Added methods to save/read experiments from TableStorage
  • The job status can now be retrieved by using the GetTasks/GetTaskData methods
  • Added a class to convert JSON-objects to Algorithm instances
  • Web page: Added experiment button to navigation
File size: 995 bytes
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}
Note: See TracBrowser for help on using the repository browser.