Rev | Line | |
---|
[4311] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using HeuristicLab.Optimization;
|
---|
| 6 | using HeuristicLab.Data;
|
---|
| 7 | using HeuristicLab.Collections;
|
---|
| 8 | using HeuristicLab.Core;
|
---|
| 9 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
| 10 | using HeuristicLab.Common.Resources;
|
---|
| 11 | using HeuristicLab.Common;
|
---|
| 12 |
|
---|
| 13 | namespace 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.