Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Models/ChartModels.cs @ 12448

Last change on this file since 12448 was 9166, checked in by fschoepp, 12 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: 829 bytes
RevLine 
[9062]1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Web;
5
6namespace HeuristicLab.Services.Optimization.Web.Models {
7  public class SeriesEntry {
8    public string Label { get; set; }
9    public double[] Values { get; set; }
10  }
11
12  public class PlotableData {
13    private IList<SeriesEntry> series = new List<SeriesEntry>();
14    public bool ShowMarker { get; set; }
15    public IList<SeriesEntry> Series {
16      get { return series; }
17      set { series = value; }
18    }   
19  }
[9166]20
21  public class RowNameContainer {
22    private IList<string> rowNames = new List<string>();
23
24    public IList<string> RowNames {
25      get { return rowNames; }
26      set { rowNames = value; }
27    }
28  }
29
30  public class DatatableContainer {
31    public string[] Datatables { get; set; }
32  }
[9062]33}
Note: See TracBrowser for help on using the repository browser.