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 | |
---|
1 | using HeuristicLab.Common;
|
---|
2 | using HeuristicLab.Core;
|
---|
3 | using HeuristicLab.Encodings.RealVectorEncoding;
|
---|
4 | using HeuristicLab.Optimization;
|
---|
5 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
6 |
|
---|
7 | namespace 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.