Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OptimizationNetworks/HeuristicLab.Networks.IntegratedOptimization/3.3/Problems/VariegationProblem.cs @ 14586

Last change on this file since 14586 was 14586, checked in by jkarder, 7 years ago

#2205: worked on optimization networks

  • added projects for integrated optimization (orchestration)
File size: 1.1 KB
Line 
1using HeuristicLab.Common;
2using HeuristicLab.Core;
3using HeuristicLab.Encodings.RealVectorEncoding;
4using HeuristicLab.Optimization;
5using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
6
7namespace HeuristicLab.Networks.IntegratedOptimization {
8  [Item("Variegation Problem", "Represents a problem whose objective is to optimize problem parameters.")]
9  [Creatable(CreatableAttribute.Categories.Problems, Priority = 999)]
10  [StorableClass]
11  public class VariegationProblem : SingleObjectiveBasicProblem<RealVectorEncoding> {
12    public override bool Maximization {
13      get { return true; }
14    }
15
16    [StorableConstructor]
17    protected VariegationProblem(bool deserializing) : base(deserializing) { }
18    protected VariegationProblem(VariegationProblem original, Cloner cloner) : base(original, cloner) { }
19    public VariegationProblem() : base() {
20      Encoding.Length = 5;
21    }
22
23    public override IDeepCloneable Clone(Cloner cloner) {
24      return new VariegationProblem(this, cloner);
25    }
26
27    public override double Evaluate(Individual individual, IRandom random) { return 0.0; }
28  }
29}
Note: See TracBrowser for help on using the repository browser.