Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/15/13 15:50:53 (11 years ago)
Author:
fschoepp
Message:

#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:
1 edited

Legend:

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

    r8958 r9166  
    5151      this.scenarios = new List<Model.OptimizationScenario>() { tsp };*/     
    5252      //hiveManager.DispatchScenario(tsp);
     53      //hiveManager = new MockupScenarioManager();
    5354      hiveManager = new HiveScenarioManager();
    5455      scenarios = parser.Scenarios;
     
    6364    public Model.OptimizationScenario GetOptimizationScenarioByName(string name) {
    6465      var scen = (from e in scenarios
    65                   where e.Name == name
     66                  where e.Id == name
    6667                  select e).FirstOrDefault();     
    6768      return scen;
    6869    }
    6970
    70     public void ScheduleOptimizationScenario(Model.User user, Model.OptimizationScenario scenario) {
    71       hiveManager.DispatchScenario(user, scenario);
     71    public void ScheduleOptimizationScenario(Model.User user, Model.OptimizationScenario scenario, JobExecutionDetails details) {
     72      hiveManager.DispatchScenario(user, scenario, details);
    7273    }
    7374
     
    9798        return false;
    9899      }     
    99       var added = hiveManager.AddScenario(user, scenario.Name, scenarioXml, scenarioMapper);
     100      var added = hiveManager.AddScenario(user, scenario.Id, scenarioXml, scenarioMapper);
    100101      if (added)
    101102        scenarios.Add(scenario);
     
    114115    public IEnumerable<string> GetOptimizationScenarioNames() {
    115116      return (from e in scenarios
    116               select e.Name).AsEnumerable();     
     117              select e.Id).AsEnumerable();     
    117118    }
    118119  }
Note: See TracChangeset for help on using the changeset viewer.