- Timestamp:
- 02/19/13 08:46:01 (12 years ago)
- Location:
- branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/DAL.cs
r9215 r9227 23 23 Experiment FindByName(string username, string experiment); 24 24 IEnumerable<Experiment> GetExperiments(string user); 25 Experiment GetExperimentByName(string username, string scenario); 25 26 } 26 27 -
branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/IControllerService.cs
r9215 r9227 21 21 [OperationContract] 22 22 bool ScheduleOptimizationScenario(User user, OptimizationScenario scenario, JobExecutionDetails details); 23 24 [OperationContract] 25 bool ScheduleExperiment(User user, string experiment, JobExecutionDetails details); 23 26 24 27 [OperationContract] … … 54 57 [OperationContract] 55 58 Task GetTaskData(User u, string jobId, string taskId); 59 60 [OperationContract] 61 Experiment GetExperimentByName(User user, string scenario); 56 62 } 57 63 } -
branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/IScenarioManager.cs
r9215 r9227 21 21 Task GetTaskData(User u, string jobId, string taskId); 22 22 Job GetTasks(User u, string jobId); 23 24 Experiment GetExperimentByName(User user, string scenario); 25 bool DispatchExperiment(User user, Experiment exp, JobExecutionDetails details); 23 26 } 24 27 } -
branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/Model/ControllerModel.cs
r9215 r9227 274 274 [DataContract] 275 275 public class Algorithm { 276 public Algorithm() { Parameters = new AlgorithmParameters(); }276 public Algorithm() { Parameters = new AlgorithmParameters(); ChildAlgorithms = new List<Algorithm>(); } 277 277 278 278 [DataMember] … … 290 290 [DataMember] 291 291 public string Mapper { get; set; } 292 293 [DataMember] 294 public string Name { get; set; } 292 295 } 293 296 … … 296 299 [DataMember] 297 300 public string Id { get; set; } 298 301 302 public OptimizationScenario() { Algorithm = new List<Algorithm>(); } 303 299 304 [DataMember] 300 305 public IList<Algorithm> Algorithm { get; set; } … … 309 314 310 315 [DataMember] 311 public IList< OptimizationScenario> Scenarios{ get; set; }316 public IList<Algorithm> Algorithm { get; set; } 312 317 313 318 public Experiment() { 314 Scenarios = new List<OptimizationScenario>(); 315 } 319 Algorithm = new List<Algorithm>(); 320 } 321 322 [DataMember] 323 public JobExecutionDetails JobDetails { get; set; } 316 324 } 317 325
Note: See TracChangeset
for help on using the changeset viewer.