Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/11/13 14:40:04 (12 years ago)
Author:
fschoepp
Message:

#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.
Location:
branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/DAL.cs

    r9227 r9305  
    2020  public interface IExperimentDao {
    2121    bool Add(string username, Experiment experiment);
     22    bool Update(string username, Experiment experiment);
    2223    bool DeleteByName(string username, string experiment);
    2324    Experiment FindByName(string username, string experiment);
    2425    IEnumerable<Experiment> GetExperiments(string user);
    2526    Experiment GetExperimentByName(string username, string scenario);
     27
     28    Experiment GetExperimentById(User user, string nodeId);
    2629  }
    2730
  • branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/IControllerService.cs

    r9227 r9305  
    4444
    4545    [OperationContract]
    46     bool SaveExperiment(User user, Experiment experiment);
     46    string SaveExperiment(User user, Experiment experiment);
    4747
    4848    [OperationContract]
    49     IEnumerable<string> GetExperiments(User user);
     49    IEnumerable<string> GetExperimentNames(User user);
     50
     51    [OperationContract]
     52    IEnumerable<Experiment> GetExperiments(User user);
    5053
    5154    [OperationContract]
     
    6063    [OperationContract]
    6164    Experiment GetExperimentByName(User user, string scenario);
     65
     66    [OperationContract]
     67    Experiment GetExperimentById(User u, string nodeId);
    6268  }
    6369}
  • branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/IScenarioManager.cs

    r9227 r9305  
    1515    bool DeleteScenario(User user, string scenarioName);
    1616
    17     bool SaveExperiment(User user, Experiment experiment);
    18     IEnumerable<string> GetExperiments(User user);
     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
    1923    bool DeleteExperiment(User user, string experiment);
    2024
     
    2226    Job GetTasks(User u, string jobId);
    2327
    24     Experiment GetExperimentByName(User user, string scenario);
     28   
    2529    bool DispatchExperiment(User user, Experiment exp, JobExecutionDetails details);
    2630  }
  • branches/OaaS/HeuristicLab.Services.Optimization.Controller/Interfaces/Model/ControllerModel.cs

    r9227 r9305  
    277277
    278278    [DataMember]
     279    public string Id { get; set; }
     280
     281    [DataMember]
    279282    public AlgorithmParameters Parameters { get; set; }
    280283
     
    293296    [DataMember]
    294297    public string Name { get; set; }
     298
     299    [DataMember]
     300    public bool IsExperiment { get; set; }
    295301  }
    296302
     
    315321    [DataMember]
    316322    public IList<Algorithm> Algorithm { get; set; }
     323
     324    [DataMember]
     325    public string Id { get; set; }
    317326
    318327    public Experiment() {
Note: See TracChangeset for help on using the changeset viewer.