Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/19/13 08:46:01 (12 years ago)
Author:
fschoepp
Message:

#1888:

  • Experiments will be saved as JSON elements within the blob store.
  • Added simple model and JSON converters.
  • Backend stores and runs experiments.
  • Updated interfaces to save/read experiments.
  • Added a binding to automatically map incoming JSON ajax requests to experiment models.
  • Added the javascript DatatypeMapper to map parameter inputs to the right html elements and vice versa.
  • Added smartwizard to generate Wizards for creating new experiments (New.cshtml).
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  
    2323    Experiment FindByName(string username, string experiment);
    2424    IEnumerable<Experiment> GetExperiments(string user);
     25    Experiment GetExperimentByName(string username, string scenario);
    2526  }
    2627
  • branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/IControllerService.cs

    r9215 r9227  
    2121    [OperationContract]
    2222    bool ScheduleOptimizationScenario(User user, OptimizationScenario scenario, JobExecutionDetails details);
     23
     24    [OperationContract]
     25    bool ScheduleExperiment(User user, string experiment, JobExecutionDetails details);
    2326
    2427    [OperationContract]
     
    5457    [OperationContract]
    5558    Task GetTaskData(User u, string jobId, string taskId);
     59
     60    [OperationContract]
     61    Experiment GetExperimentByName(User user, string scenario);
    5662  }
    5763}
  • branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/IScenarioManager.cs

    r9215 r9227  
    2121    Task GetTaskData(User u, string jobId, string taskId);
    2222    Job GetTasks(User u, string jobId);
     23
     24    Experiment GetExperimentByName(User user, string scenario);
     25    bool DispatchExperiment(User user, Experiment exp, JobExecutionDetails details);
    2326  }
    2427}
  • branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/Model/ControllerModel.cs

    r9215 r9227  
    274274  [DataContract]
    275275  public class Algorithm {
    276     public Algorithm() { Parameters = new AlgorithmParameters(); }
     276    public Algorithm() { Parameters = new AlgorithmParameters(); ChildAlgorithms = new List<Algorithm>(); }
    277277
    278278    [DataMember]
     
    290290    [DataMember]
    291291    public string Mapper { get; set; }
     292
     293    [DataMember]
     294    public string Name { get; set; }
    292295  }
    293296
     
    296299    [DataMember]
    297300    public string Id { get; set; }
    298    
     301
     302    public OptimizationScenario() { Algorithm = new List<Algorithm>(); }
     303
    299304    [DataMember]
    300305    public IList<Algorithm> Algorithm { get; set; }
     
    309314
    310315    [DataMember]
    311     public IList<OptimizationScenario> Scenarios { get; set; }
     316    public IList<Algorithm> Algorithm { get; set; }
    312317
    313318    public Experiment() {
    314       Scenarios = new List<OptimizationScenario>();
    315     }
     319      Algorithm = new List<Algorithm>();
     320    }
     321
     322    [DataMember]
     323    public JobExecutionDetails JobDetails { get; set; }
    316324  }
    317325
Note: See TracChangeset for help on using the changeset viewer.