Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/IControllerService.cs @ 9166

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

#1888:

  • Model: OptimizationScenario may be a tree of algorithms (and problems)
  • Model: Renamed InputParameters to ProblemParameters (as they are the parameters of a problem)
  • Model: Added JobExecutionDetails which contain Repetitions + Group (resource to use)
  • ScenarioParser parses the new XML scenario files
  • Website + Model: You are now able to add/remove rows from a table (no JavaScript involved yet)
  • Website + Controller: Added repetitions (enables batch jobs) and group (resource to use) to OaaS which will be used by the controller to schedule the job
  • Website: Updated templates to use new model structure
  • Website + Scenarios: Added the new algorithm Benchmark Algorithm
  • Controller: Added a singleton to make the (Azure/Mockup)-DAL exchangeable
  • Controller: Added mockup classes for DAL + IScenarioManager
  • Website/Result Page: Line Diagrams will be added via JavaScript, crawling their data using AJAX
  • Website: Most configuration parameters can be set in the ServiceDefinition directly
  • Added a mockup for the Membership classes: These can be used if no network connection is available or if other parts of the app shall be tested
  • Scenarios: Updated TSP mappings to new xsd
File size: 1.3 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.ServiceModel;
6using System.Net.Security;
7using HeuristicLab.Services.Optimization.ControllerService.Model;
8
9namespace HeuristicLab.Services.Optimization.ControllerService {
10  [ServiceContract(ProtectionLevel = ProtectionLevel.EncryptAndSign)]
11  public interface IControllerService {
12    [OperationContract]
13    IEnumerable<OptimizationScenario> GetOptimizationScenarios();
14
15    [OperationContract]
16    IEnumerable<string> GetOptimizationScenarioNames();
17
18    [OperationContract]
19    OptimizationScenario GetOptimizationScenarioByName(string name);
20
21    [OperationContract]
22    void ScheduleOptimizationScenario(User user, OptimizationScenario scenario, JobExecutionDetails details);
23
24    [OperationContract]
25    IEnumerable<Job> GetJobs(User user);
26
27    [OperationContract]
28    Job GetJob(User user, string id);
29
30    [OperationContract]
31    void DeleteJob(User user, string id);
32
33    [OperationContract]
34    IList<Model.Run> GetJobResults(User user, string id);
35
36    [OperationContract]
37    bool AddHiveScenario(User user, string scenarioXml, string scenarioMapper);
38
39    [OperationContract]
40    bool DeleteHiveScenario(User user, string scenarioName);
41  }
42}
Note: See TracBrowser for help on using the repository browser.