Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/20/14 15:12:27 (9 years ago)
Author:
mkommend
Message:

#2174: Adapted IEncoding and Encoding base class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/Operators/SingleObjectiveImprover.cs

    r11484 r11559  
    2525    }
    2626
    27     public ILookupParameter<Encoding> EncodingParameter {
    28       get { return (ILookupParameter<Encoding>)Parameters["Encoding"]; }
     27    public ILookupParameter<IEncoding> EncodingParameter {
     28      get { return (ILookupParameter<IEncoding>)Parameters["Encoding"]; }
    2929    }
    3030
     
    5555      Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use."));
    5656      Parameters.Add(new LookupParameter<ISingleObjectiveProblemDefinition>("ProblemDefinition", "The host that holds the problem definition."));
    57       Parameters.Add(new LookupParameter<Encoding>("Encoding", "An item that holds the problem's encoding."));
     57      Parameters.Add(new LookupParameter<IEncoding>("Encoding", "An item that holds the problem's encoding."));
    5858      Parameters.Add(new LookupParameter<DoubleValue>("Quality", "The quality of the parameter vector."));
    5959      Parameters.Add(new LookupParameter<BoolValue>("Maximization", "Whether the problem should be minimized or maximized."));
Note: See TracChangeset for help on using the changeset viewer.