Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 12438 was 9395, checked in by fschoepp, 12 years ago

#1888:

  • Added visual extensions (dynamic JavaScript) which will be used to render additional result parameters specific to scenarios (e. g. create a graphical representation of a TSP).
  • Added relationship between jobs and experiments (otherwise, it's not possible to get the job's experiment).
  • Updated Admin page to allow removal/addition of visual extensions.
  • Added back-end logic to store/retrieve/delete visual extensions.
  • Added visual extension functionality to the JavaScript views/controllers (job.*.js).
  • Added tsp.js which is a visual extension for the "Genetic Algorithm - TSP" scenario. It adds a graphical representation of the TSP (just like the C# version does) to the results.
File size: 1.5 KB
RevLine 
[8506]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 {
[9215]9    string DispatchScenario(User user, OptimizationScenario scenario, JobExecutionDetails details);
[8545]10    IList<Job> GetJobs(User user);
11    Job GetJob(User user, string id);
[9215]12    bool DeleteJob(User user, string id);
[8545]13    IList<Model.Run> GetJobResults(User user, string id);
[8958]14    bool AddScenario(User user, string scenarioName, string scenarioXml, string scenarioMapper);
15    bool DeleteScenario(User user, string scenarioName);
[9215]16
[9305]17    string SaveExperiment(User user, Experiment experiment);
18    IEnumerable<string> GetExperimentNames(User user);
[9324]19    IEnumerable<Model.Experiment> GetExperiments(User user, bool namesOnly = false);
[9305]20    Experiment GetExperimentByName(User user, string scenario);
21    Experiment GetExperimentById(User user, string nodeId);
22
[9215]23    bool DeleteExperiment(User user, string experiment);
24
25    Task GetTaskData(User u, string jobId, string taskId);
26    Job GetTasks(User u, string jobId);
[9227]27
[9305]28   
[9227]29    bool DispatchExperiment(User user, Experiment exp, JobExecutionDetails details);
[9362]30
31    string GetVisualExtension(string algorithmId);
[9395]32
33    bool AddVisualExtension(string algorithmId, string script);
34
35    bool DeleteVisualExtension(string algorithmId);
36
37    bool ExistsVisualExtension(string algorithmId);
[8506]38  }
39}
Note: See TracBrowser for help on using the repository browser.