Free cookie consent management tool by TermsFeed Policy Generator

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

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

#1888:

  • Added an Update / GetExperiment... methods to the controller for updating and querying experiments.
  • The AlgorithmConverter class now properly converts from/to JSON format.
  • Integrated backbone js as MVC provider for JavaScript + jquery.
  • Added experiment.model.js + experiment.view.js + experiment.controller.js containing the MVC impl. for the Experiment pages.
  • Added new methods to the ExperimentController usable by the backbone js model implementation.
  • Added the experiment dialog from HL 3.3.7 (variate experiment parameters). It's capable of variating the algorithm parameters.
File size: 1.3 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    string SaveExperiment(User user, Experiment experiment);
18    IEnumerable<string> GetExperimentNames(User user);
19    IEnumerable<Model.Experiment> GetExperiments(User user);
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}
Note: See TracBrowser for help on using the repository browser.