Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKB/HeuristicLab.OKB.AlgorithmHost/ProblemContainer.cs @ 5698

Last change on this file since 5698 was 4311, checked in by swagner, 14 years ago

Integrated OKB clients for HL 3.3 (#1166)

File size: 1.1 KB
RevLine 
[4311]1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.Optimization;
6using HeuristicLab.Data;
7using HeuristicLab.Collections;
8using HeuristicLab.Core;
9using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
10using HeuristicLab.Common.Resources;
11using HeuristicLab.Common;
12
13namespace HeuristicLab.OKB.AlgorithmHost {
14
15  [Item("Problem Container", "Encapsulates problem & parameters for storing in the OKB")] 
16  [StorableClass]
17  public class ProblemContainer : ParameterizedNamedItemContainer {
18
19    public ProblemContainer() { }
20    [StorableConstructor]
21    public ProblemContainer(bool deserializing) : base(deserializing) { }
22
23    public IProblem Problem {
24      get { return (IProblem)Item; }
25      set { Item = value; }
26    }
27
28    public override Type ItemType { get { return typeof(IProblem); } }
29
30    public override string ItemName { get { return "ProblemContainer"; } }
31    public override string ItemDescription { get { return "Container for problems to be stored in the OKB"; } }
32
33  }
34}
Note: See TracBrowser for help on using the repository browser.